|
-
April 13th, 2001, 04:21 PM
#1
Secured connection
I am trying to connect to SQL server, I have a secured channel between my machine and the SQL server machine( IPC$ share ). When I tried to connect with Trusted_connection = TRUE in my connect string it is failing can any one please help me in this...?.
_ConnectionPtr Retval =
CreateInstance(__uuidof(Connection)));
_bstr_t ConStr = "Provider=SQLOLEDB;DATA SOURCE=\\MYMachineName;DATABASE=master;Connect Timeout=15;Trusted_Connection=Yes";
static _bstr_t EmptyBSTR;
Retval->Open(ConStr,EmptyBSTR,EmptyBSTR,0);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|