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 2005 Forums
 Express Edition and Compact Edition (2005)
 Cannot create databases on SQL Express 2005

Author  Topic 

klapio
Starting Member

1 Post

Posted - 2006-08-09 : 07:10:34
Help me please!
I've installed SQL Express 2005 on my XP. I'm trying to create a database but I keep getting the error no matter what I do.

Msg 1802, Level 16, State 4, Server MYCOMPUTER\SQLSERV, Line 1
CREATE DATABASE failed. Some file names listed could not be created. Check related errors.
Msg 5123, Level 16, State 1, Server MYCOMPUTER\SQLSERV, Line 1
CREATE FILE encountered operating system error 5(error not found) while attempting to open or create the physical file 'C:\Program Files\Exos9300\Database\Exos93.mdf'.

mr_mist
Grunnio

1870 Posts

Posted - 2006-08-09 : 08:14:16
A couple of ideas -

The error message 5 means access denied, so it's probably a permissions thing. What account is running the service?

-------
Moo. :)
Go to Top of Page
   

- Advertisement -