3 Replies Latest reply on Aug 31, 2010 8:41 PM by Michael Dekoning

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

    Ross McEllhiney

      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