Re: SQL Server User

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Manoj,

Backup\Restore is a database level operation, but you need a valid Login to log in to your SQL Server and Logins are server level principals. So, you need a valid Login which is mapped to your User object in your database so that your user can log in to the SQL Server instance using that Login and Database User.

--
Ekrem Önsoy


"Jangid" <manojjangid@xxxxxxxxxxx>, iletisinde sunu yazdi, news:B94B15F3-BB7D-4814-BD62-D571D130E81F@xxxxxxxxxxxxxxxx
Hello everyone,

I have a user & role in sql server, role is assigned to user and I did a
backup of database. [e.g. myuser & myrole]
I restored the database in another sql server, version is same for both sql
server.

now I am not able to access database with myuser in sql server where I
restored DB, while I am able to access with sa. myuser & myrole also exist
in database

what other settings or information I need to provide in restored database
for myuser?
I am using SQL 2005 standard edition


Kind Regards
Manoj Jangid

.



Relevant Pages

  • Re: MS Access DAO -> ADO.NET Migration
    ... William Vaughn ... Microsoft MVP ... Hitchhiker's Guide to Visual Studio and SQL Server ... My migration app works building a SSCE database file with imported data ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Cluster will not fail over.
    ... > As far as the TCP/IP issue goes, you had to rebuild the cluster and were ... > able to restore the master database. ... > a cluster installation you'll have to revisit. ... >> This worked bringing up the sql server in minimal mode. ...
    (microsoft.public.sqlserver.clustering)
  • Re: Word 2003/Access2000/SQLSVR
    ... SQL server being where the data is held and this is accessed through a MS ... entire database and that may be say a record for Berkshire. ... "Peter Jamieson" wrote: ... replaced with the first record on the table in use. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: MS Access DAO -> ADO.NET Migration
    ... full SQL Server and I see the logic you explained in a multi user ... allow two users to access the same database file Read/Write at any given ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... Hitchhiker's Guide to Visual Studio and SQL Server ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: MS Access DAO -> ADO.NET Migration
    ... For that it is much harder to handle the incremental identifier, ... database but although they have the data, they are not connected at the same ... The book was a pleasure to read after the gibberish that Microsoft 'puts ... SQL Server Management Studio is nowhere to be found on my ...
    (microsoft.public.dotnet.framework.adonet)