Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
My Connection String is here:
XML
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <!--   User application and configured property settings go here.-->
    <!--   Example: <add key="settingName" value="settingValue"/> -->
    <add key="SqlConnectionString" value="server=ULULALBAB-PC\SQLEXPRESS;persist security info=true;database =SMS2;user=emi;password=database;connect Timeout=5"/>
  </appSettings>
</configuration>


Exception:

Login failed for user 'emi'.
The user is not associated with a trusted SQL Server connection
Posted

 
Share this answer
 
Comments
Prasad_Kulkarni 18-Jun-12 2:58am    
Good links +5!
Abhinav S 18-Jun-12 3:02am    
Thanks.
Manas Bhardwaj 18-Jun-12 5:40am    
Good ref +5
Abhinav S 18-Jun-12 6:51am    
Thank you.
Abhinav's answer will surely solve your problem,

In addition have look on MSDN[^]

And similar solved discussion:
Login failed for user[^]
 
Share this answer
 
Comments
Manas Bhardwaj 18-Jun-12 5:40am    
+5
Prasad_Kulkarni 18-Jun-12 5:51am    
Thank you Manas!

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