Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't connect to local SQL Server
Message
 
To
08/01/2008 17:01:35
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01280363
Message ID:
01280385
Views:
15
Cetin,

Changing the server to ".\sqlexpress" got me to a better error:

Cannot open database "mydatabase" requested by the login. The login failed.

Changing it to ".\sqlexpress" is much faster too, almost instant. So I think this was the right change, but how do I open mydatabase?

Mydatabase.mdf is located in a different folder than the EXE. How do I specify, or do I have to specify the path to where mydatabase.mdf is? Should it simply know by reference "mydatabase"

Thank you, any other ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform