AnsweredAssumed Answered

Does anyone know the Correct format for New SqlConnection not using builtin security

Question asked by Ross McEllhiney on Aug 30, 2010
Latest reply on Aug 31, 2010 by Michael Dekoning

Please Help

 

I have tried many combinations of the following code, What am I doing wrong.

 

source ="Data Source=TC-EDASERVER08\SOLIDWORKS;Initial Catalog=VendorDb;Persist Security Info=True;User ID=sa;Password=password"

conn = New SqlConnection(source)

conn.Open()

 

I get a Access is Denied error

 

The same call works in Visual studio data connector

 

 

Outcomes