Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

Go Back  dBforums > Database Server Software > Informix > oledb connect string

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-09-03, 03:46
je8116 je8116 is offline
Registered User
 
Join Date: Apr 2003
Posts: 2
oledb connect string

HI
THis is my connection string in VB6.0
but i get a error while open connection
anything should i add in the string?
"
Dim oleconn As New ADODB.Connection

sCNString = "Provider=Ifxoledbc.2;password=Pwd;User ID=myid;
Data Source=call@ispc9db;Persist Security Info=true;
informixsqlhost=111.222.2222.222"

oleconn.Open sCNString
"
ERR no:-2147217887

Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.

informix CSDK 2.81
informix 7.30.U
Reply With Quote
  #2 (permalink)  
Old 04-09-03, 05:52
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
I am not familiar with VB, but I think that the value of your informixsqlhosts is not correct.
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 04-09-03, 11:24
je8116 je8116 is offline
Registered User
 
Join Date: Apr 2003
Posts: 2
HI

the informixsqlhosts is in my internal LAN
it is a 192.168.X.X IP

sorry make a mistake
Reply With Quote
  #4 (permalink)  
Old 04-09-03, 11:28
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
Hi,

did you try tracing the connection?
It might be interesting to check the informix error messages behind all the microsoft stuff.
__________________
rws
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On