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 |
ladak
Starting Member
13 Posts |
Posted - 2010-10-26 : 07:29:18
|
Hi there, I have a database in MS SQL Server 2000, when i am attaching this file on MS SQL Server 2005 i am getting an error."Unable to open the physical file d:\.....\abc.mdf" Operating system error 5: "5(Access is denied)", Microsoft SQL Server error :5120"What i have to do is to upgrade my database from SQL Server 2000 to 2005.I have windows 7, 64bit with SQL Server 2005 Please help me out...ThanksLadak |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-10-26 : 07:32:49
|
You should use backup and restore for this. No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
ladak
Starting Member
13 Posts |
Posted - 2010-10-26 : 07:38:16
|
I have already done backup/restore, but i am getting same errorLadak |
 |
|
ladak
Starting Member
13 Posts |
Posted - 2010-10-26 : 07:50:27
|
error i am getting when restoring on SQL Server 2005.."System.Data.SqlClient.sqlerror: The operating system returned the error 5 (Access is denied) while attempting 'RestoreContainer::Validatetargetforcreation' on c:\programfiles (x86) Microsoft SQL Server\MSSQL.1\MSSQL\abcd.mdf". Microsoft.sqlserver.express.smo |
 |
|
webfred
Master Smack Fu Yak Hacker
8781 Posts |
Posted - 2010-10-26 : 08:09:35
|
Can you script your restore statement and post it here? No, you're never too old to Yak'n'Roll if you're too young to die. |
 |
|
Sachin.Nand
2937 Posts |
Posted - 2010-10-26 : 08:25:31
|
Set the permission for the file to the sql server service account.PBUH |
 |
|
|
|
|