H
helveticus
Hi, I hope this is the right forum. I just loaded VWD2010 via the MS
installer tool. VWD2010 appears to work fine except that I am unable
now to connect to the local database. Also, the Db creation option is
grayed out.
Attempting to open the local db raises the following error message:
"Failed to generate a user instance of SQL Server due to a failure in
starting the process for the user instance. The connection will be
closed."
All processes are enabled in the SQL Confguration manager (Shared
memory, named pipes, TCP/IP, etc.).
Someone posted a similar question last month (Harlan Messinger, Mar
27). One of the posters thought the issue was related to
authentication.
The local connection string (which worked fine in VWD2008) is:
<add name="conLocal" connectionString="Data Source=.
\SQLEXPRESS;AttachDbFilename=|DataDirectory|\localDB.mdf; Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/
I noticed that SQLServer 2008 works if the connection string is set
via "Microsoft SQL Server (SqlClient)" (eg. Data Source=localHost
\SQLEXPRESS;Initial Catalog=localDb.mdf;Integrated Security=True.).
However, substituting "localHost\SQLEXPRESS" for ".\SQLEXPRESS" in the
connection string yields the same run-time error.
TIA for any suggestions
installer tool. VWD2010 appears to work fine except that I am unable
now to connect to the local database. Also, the Db creation option is
grayed out.
Attempting to open the local db raises the following error message:
"Failed to generate a user instance of SQL Server due to a failure in
starting the process for the user instance. The connection will be
closed."
All processes are enabled in the SQL Confguration manager (Shared
memory, named pipes, TCP/IP, etc.).
Someone posted a similar question last month (Harlan Messinger, Mar
27). One of the posters thought the issue was related to
authentication.
The local connection string (which worked fine in VWD2008) is:
<add name="conLocal" connectionString="Data Source=.
\SQLEXPRESS;AttachDbFilename=|DataDirectory|\localDB.mdf; Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient"/
I noticed that SQLServer 2008 works if the connection string is set
via "Microsoft SQL Server (SqlClient)" (eg. Data Source=localHost
\SQLEXPRESS;Initial Catalog=localDb.mdf;Integrated Security=True.).
However, substituting "localHost\SQLEXPRESS" for ".\SQLEXPRESS" in the
connection string yields the same run-time error.
TIA for any suggestions