Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DSNless connection
Message
From
13/02/2013 15:53:05
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Other
Title:
DSNless connection
Miscellaneous
Thread ID:
01565956
Message ID:
01565956
Views:
68
ConnStringa = "DRIVER=SQL Server,SERVER=BILL-VAIO\\SQL2008FULL,DATABASE=safesignature,UID = myuid; PWD = mypw"

ConnStringb ="Driver=SQL Server;Server=BILL-VAIO\SQL2008FULL;Database=safesignature;Integrated Security=SSPI"
myuid and mypw belong to a SQL administrator will full rights to the DB.

When I try gnHandle = SQLStringConnect(lcConnStringa)

I get "myid is not at trusted connection"


When I try gnHandle = SQLStringConnect(lcConnStringb)
I connect fine.
myuid and mypw work fine with a DSN.

Any suggestions?
Anyone who does not go overboard- deserves to.
Malcolm Forbes, Sr.
Next
Reply
Map
View

Click here to load this message in the networking platform