Jump to content

Error 5, access denied


Andy17

Recommended Posts

I get the following error when I try to create a new database in SQL Server Management Studio:

 

Directory lookup for the file "C:\long path\sw.mdf" failed with the operating system error 5(Access is denied.).

 

I have tried both on sa and a custom user with dbcreator and sysadmin server roles. The server is on localhost.

 

Does anyone know what could be wrong?

 

Thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.