new problem - RESTORE
From: AllcompPC (allcomppc_at_sbcglobal.net)
Date: 02/11/05
- Previous message: AllcompPC: "Re: copying data folder to another instance"
- Next in thread: Jim Young: "Re: new problem - RESTORE"
- Reply: Jim Young: "Re: new problem - RESTORE"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 11 Feb 2005 16:01:56 -0500
I thought I have successfully restored a backup from another instance of
MSDE, however in my .NET program I am getting an error message about the
login failed. So what I did is create a login id using sp_grantlogin. I
assume that this allows my Windows login to be authenticated. Just in case,
I also added a new login account using sp_addlogin. Those both worked.
Now when I do...EXEC sp_grantaccess to the database, I get an error:
Database cannot be opened. It is in the middle of a restore.
When I was restoring, I did the RESTORE FILELISTONLY to get the names of the
files in the backup. I then did RESTORE DATABASE using WITH and MOVE which
announced it was successful, and the two files were placed into the
directory. I thought this was it, what did I miss?
Thanks,
Brad
- Previous message: AllcompPC: "Re: copying data folder to another instance"
- Next in thread: Jim Young: "Re: new problem - RESTORE"
- Reply: Jim Young: "Re: new problem - RESTORE"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|