-
Different partition is fine as long as on sql server's local disk. My question for you is that file spider-lab.mdf is in C:\Documents and Settings\Adam\My Documents\Visual Studio 2005\Projects\spider-lab-2\DB on sql server or not.
-
No, SQL server resides here: C:\Program Files\Microsoft SQL Server.
Is it necessary for attached file to be located at server root?
-
Not necessary in C:\Program Files\Microsoft SQL Server, but has to be on sql server's local disk. You still didn't tell us which machine your .mdf file is on.
-
Mdf is on my local disk, as is SQL server.
-
SQLExpress creates a directory per user in "c:\Documents and Settings\[user name]\Local Settings\Application Data\Microsoft\Microsoft SQL Server Data\SQLEXPRESS" to store some information. Delete this directory and try again
-
So you want to connect to sql instance on your pc? Possible to move the mdf file to other folder with shorter path?
-
Hi all
i have the same Error
i'm working on solution conains Wendows Services and Wendows Application
when i run the both Applications the Result is the same Error
"Cannot open user default database. "
Regards
-
What's default db for the user? Is that db online? Does the user have permission in that db?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|