All-Star
35458 Points
3430 Posts
Jun 12, 2007 05:16 AM|Nai-Dong Jin - MSFT|LINK
Hi,
You may open your Machine.Config file (the file is in %SystemRoot%\Microsoft.NET\Framework\ver. number\CONFIG ). Try to find the ConnectionString node, modify the setting and make it look like
<add name="LocalSqlServer" connectionString="data source=UserLT\SQL2005;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
Thanks.
All-Star
35458 Points
3430 Posts
Re: connection to SQL Server files (*.mdf) require SQL server express 2005 to function properly.
Jun 12, 2007 05:16 AM|Nai-Dong Jin - MSFT|LINK
Hi,
You may open your Machine.Config file (the file is in %SystemRoot%\Microsoft.NET\Framework\ver. number\CONFIG ). Try to find the ConnectionString node, modify the setting and make it look like
<add name="LocalSqlServer" connectionString="data source=UserLT\SQL2005;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
Thanks.