If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
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, 02: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, 04: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, 10: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, 10: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

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