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
 General SQL Server Forums
 New to SQL Server Programming
 System.Data.SqlClient.SqlException: CREATE FILE en

Author  Topic 

shrinu9
Starting Member

1 Post

Posted - 2009-02-20 : 06:05:48
when I try to create a database i am getting the following error.
I changed the data folder path to someother folder.

System.Data.SqlClient.SqlException: CREATE FILE encountered operating system error 5(Access is denied.) while attempting to open or create the physical file

Please let me know how can i solve it in windows server 2008 with sql server 2008

sakets_2000
Master Smack Fu Yak Hacker

1472 Posts

Posted - 2009-02-20 : 06:54:46
You probably don't have write access to directory, Its an OS based access that you are missing..
Go to Top of Page
   

- Advertisement -