Click here to Skip to main content
15,903,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I have upload my web site on IIS. I have unchecked the anoynomous access from the Property->Directory Service.
I have database on the other server, on which i have created one user "WEUSER" and also given the permission.
I have added this username and password into my connection string.

But I m getting error like

MSIL
System.Data.SqlClient.SqlException: Login failed for user : The user is not associated with a trusted SQL Server connection.


I have tried using NT/NETWORK SERVICE also.

Please help.

Thanks in advance.
Posted

Your connection string might be incorrect.
Check for correct connection string Here[^]
 
Share this answer
 
v2
The problem is when you install SQL Server then select mixed mode for SQL Server authentication insted of Windows authentication.

See for more help

Link

I hope this may help u............ :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900