G
Guest
Hi,
I have an asp.net2.0 app with sql server express on another machine, I can
browse the pages in VS2005 Environment. When I created a virtual directory in
IIS, and browse the pages, I got the following errors:
----------------
Exception Details: System.Data.SqlClient.SqlException: Login failed for user
''. The user is not associated with a trusted SQL Server connection.
----------------
Web.config:
<connectionStrings>
<add name="Sol" connectionString="Data Source=HPS2589\SQLEXPRESS;Initial
Catalog=Sol;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>
</connectionStrings>
Please tell me what 's the problem, and how to fix it
Thank you!
I have an asp.net2.0 app with sql server express on another machine, I can
browse the pages in VS2005 Environment. When I created a virtual directory in
IIS, and browse the pages, I got the following errors:
----------------
Exception Details: System.Data.SqlClient.SqlException: Login failed for user
''. The user is not associated with a trusted SQL Server connection.
----------------
Web.config:
<connectionStrings>
<add name="Sol" connectionString="Data Source=HPS2589\SQLEXPRESS;Initial
Catalog=Sol;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>
</connectionStrings>
Please tell me what 's the problem, and how to fix it
Thank you!