469,643 Members | 1,800 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,643 developers. It's quick & easy.

Cannot open user default database. Login failed.

================================================== =========
Cannot open user default database. Login failed.
Login failed for user 'NT AUTHORITY\SYSTEM'.
================================================== ==========

my website consist of three wesite in a solution.

Solution(http://localhost/solution/)
-App_Data/db.mdf
-a(http://localhost/solution/a/)
-b(http://localhost/solution/b/)
-c(http://localhost/solution/c/)

a,b,c sites are using db.mdf file in app_data folder of solution project
so i made connection string like below.

<add name="ConnectionString" connectionString="Data
Source=.\SQLExpress;Integrated Security=True;User
Instance=True;AttachDBFilename=C:\Inetpub\wwwroot\ Solution\App_Data\db.mdf"
providerName="System.Data.SqlClient" />

the problem is ...
open a,b or c website and then i also open vs2005 to modify database
error occur to me...like Unc share...

in opposite , it will be same result ...

help me~~

Dec 13 '05 #1
0 3550

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Gopalan | last post: by
3 posts views Thread by Raymond Chiu | last post: by
3 posts views Thread by David C | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.