M
Morris Neuman
I copied a C# project from one machine to another both XP Pro with VS2005.
Then solution compiles but when I run the app I get the error message on the
first dataadapter.FILL() command:
"The user instance login flag is not supported on this version of SQL
Server. "
SQLExpress and SQ 2000 is installed, but I am specifiing SQL Express in the
connection string see below and the SQL 2000 server is not started.
Do I need to uninstall the SQL 2000 server? Shouldn't this work with the
SQL 2000 on the same machine?
When I just remove the "User Instance =True" from the connection string I
still get this message. What am I doing wrong?
<connectionStrings>
<add name="CMMB1.Properties.Settings.CallMasterSQLConnectionString"
connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename="C:\Program
Files\CALLMaster\Data\CallMasterSQL.mdf";Integrated Security=True;Connect
Timeout=30;User Instance=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
Then solution compiles but when I run the app I get the error message on the
first dataadapter.FILL() command:
"The user instance login flag is not supported on this version of SQL
Server. "
SQLExpress and SQ 2000 is installed, but I am specifiing SQL Express in the
connection string see below and the SQL 2000 server is not started.
Do I need to uninstall the SQL 2000 server? Shouldn't this work with the
SQL 2000 on the same machine?
When I just remove the "User Instance =True" from the connection string I
still get this message. What am I doing wrong?
<connectionStrings>
<add name="CMMB1.Properties.Settings.CallMasterSQLConnectionString"
connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename="C:\Program
Files\CALLMaster\Data\CallMasterSQL.mdf";Integrated Security=True;Connect
Timeout=30;User Instance=True"
providerName="System.Data.SqlClient" />
</connectionStrings>