Hi,
I have a asp.net 2.0 web applicaiton which is connecting to the remote SQL server 2005. When I run the Web app, then Iam connecting to the DB and its displaying the records on the page.
When I browse the same page from the IIS, then iam getting the following error:
"System.Data.SqlClient.SqlException: Login failed for user 'mydomain\user' "
Connection string :
connectionString="Data Source=MySystem;Initial Catalog=DBLive;Integrated Security=SSPI;" providerName="System.Data.SqlClient"/>
Please let me know if find accross a solution for this...
Thanks
Vaskam
Verify the 'user' assigned to the Web Servers' AppDomain.
Somewhere, you seem to have assigned the security to 'mydomain\user' -I hope that your domain is NOT called 'mydomain' and that you do NOT have a user named 'user'.
No comments:
Post a Comment