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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Attach database on External HD

Author  Topic 

twdavis
Starting Member

4 Posts

Posted - 2007-08-21 : 11:57:25
I am getting the
Unable to open the physical file "E:\Navision SqlData\ForentaSQL_Data.mdf". Operating system error 5: "5(Access is denied.)".
when I try to "attach" or do a CREATE DATABASE command to a database located on an external hd. The database files on the external HD were copied from the original server location to the external HD. The file size is 51G+ which is why it is on the external HD.
How can I get past this error?

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-08-21 : 12:45:32
I assume you are using NTFS since the file is 51GB.
What are the permission settings on the folder?



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page

twdavis
Starting Member

4 Posts

Posted - 2007-08-21 : 12:57:40
i have the folder shared, permissions Everyone is Full control. Access still denied.
Go to Top of Page

twdavis
Starting Member

4 Posts

Posted - 2007-08-21 : 13:14:32
I added my id to the list of permissions and was able to attach after that. Thanks
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-08-21 : 13:53:32
Glad it worked out for you.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -