Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
mercure
Starting Member
3 Posts |
Posted - 2008-05-07 : 10:40:08
|
Hi everybody, I've a 2003 server which I've installed on SQL Server Express Edition. I've 2 partitions. My Problem when I want to restor a backup from d:/, an error indicating me that the SQL can't access to backup file and it access denied ???!!.Does anyone have an idea about this problem.Best Regards. |
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-05-07 : 15:16:12
|
Ensure sql service account has permission to access the file. How did you restore db by the way? |
|
|
mercure
Starting Member
3 Posts |
Posted - 2008-05-08 : 02:43:57
|
Can you tell me how to ensure the permissions fo the account.I've used the following script to restore :declare @f sysnameset @f=N'D:\ValidateTh\BackUpDbSql\theriaque_dst.bak'RESTORE DATABASE [THERIAQUE_DEST]FROM DISK = @fWITH FILE = 1, NOUNLOAD, REPLACE |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2008-05-08 : 22:18:55
|
Find out sql service account in services applet and check file access permission in windows explorer. |
|
|
|
|
|