Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to specify Trusted Connection?
Message
 
 
To
10/12/2009 13:54:39
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01438452
Message ID:
01438473
Views:
27
>>If you want to specufy a SQL username/password in your connectionstring, then do not include the Trusted_Connection parameter or set it to False.
>
>Again, thank you very much. All works now. I simply removed references to user ID and password and instead have Trusted_Connection=True and it works.

Took me some time to open the correct version of the project - also I opened it in VS 2010 and it wanted to convert the solution into newer verison.

Here is my connection string
<add name="MyConnectionString" connectionString="Data Source=NAOMI-PC\SQLEXPRESS;Initial Catalog=MyDatabase;Integrated Security=True" />
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform