|
-
June 13th, 2005, 01:01 PM
#1
XP in Workgroup- ADO won't connect to MSDE
With 2 XP-pro machines in a common workgroup, the following code fails:
pDBConnection.CreateInstance( __uuidof( ADODB::Connection );
CString sConnect;
sConnect.Format(_T("Provider=sqloledb;Data Source=%s;Initial Catalog='%s';uid='%s';pwd='%s';"), m_server, m_project, m_user, m_password);
_bstr_t connectString = sConnect;
m_pDBConnection->Open(connectString, "", "", 0);
I'm simply trying to connect to an MSDE Server on 1 machine from another.
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
|