S
simonZ
I instal visual studio 2005 without express edition of SQL server. I had
instal developer edition before.
In the web.config it had this connection string:
<add name="LocalSqlServer" connectionString="Data
Source=.\SQLExpress;Integrated Security=True;User
Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" />
Since my SQL Server 2005 Developer Edition instance is named SQL2005 I
changed this to:
<add name="LocalSqlServer" connectionString="Data
Source=.\SQL2005;Integrated Security=True;User
Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" />
When trying to run the ASP.NET application, I got this exception:
[SqlException (0x80131904): The user instance login flag is not supported on
this version of SQL Server. The connection will be closed.]
And there is a lot of other problems because I don't have express edition of
SQL server.
What can I do to make things work? Any idea?
regards,S
instal developer edition before.
In the web.config it had this connection string:
<add name="LocalSqlServer" connectionString="Data
Source=.\SQLExpress;Integrated Security=True;User
Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" />
Since my SQL Server 2005 Developer Edition instance is named SQL2005 I
changed this to:
<add name="LocalSqlServer" connectionString="Data
Source=.\SQL2005;Integrated Security=True;User
Instance=True;AttachDBFilename=|DataDirectory|aspnetdb.mdf" />
When trying to run the ASP.NET application, I got this exception:
[SqlException (0x80131904): The user instance login flag is not supported on
this version of SQL Server. The connection will be closed.]
And there is a lot of other problems because I don't have express edition of
SQL server.
What can I do to make things work? Any idea?
regards,S