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 > ADO.Net and Informix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-18-02, 00:40
GaneshKumar GaneshKumar is offline
Registered User
 
Join Date: Sep 2002
Location: Bangalore
Posts: 4
ADO.Net and Informix

Has anyone tried connecting to Informix from ADO.Net? What provider should be used? When i use MSSQLDB; it is giving error.
Please help me.

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 09-18-02, 05:16
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
It's not really tested yet, but some customers succeeded in connecting to .net with the Client Software Development Kit (CSDK) version 2.80.
It contains the latest updates for OLEDB.
__________________
rws
Reply With Quote
  #3 (permalink)  
Old 09-18-02, 05:33
GaneshKumar GaneshKumar is offline
Registered User
 
Join Date: Sep 2002
Location: Bangalore
Posts: 4
Quote:
Originally posted by Roelwe
It's not really tested yet, but some customers succeeded in connecting to .net with the Client Software Development Kit (CSDK) version 2.80.
It contains the latest updates for OLEDB.
I have installed the same. But it gives the following error when opening the connection. I am not sure, it is because of CSDK or .Net.

Do you have any idea?

Following is the error:

Non-NULL controlling IUnknown was specified, and either the requested interface was not IUnknown, or the provider does not support COM aggregation.
Reply With Quote
  #4 (permalink)  
Old 09-18-02, 05:42
Roelwe Roelwe is offline
Registered User
 
Join Date: Aug 2002
Location: Belgium
Posts: 534
I'm sorry, I'm not really a Microsoft fan, nor expert.
Are there any Informix Errormessages where we can work on?
Did you try a trace of the messages between client and server?
__________________
rws
Reply With Quote
  #5 (permalink)  
Old 09-18-02, 13:21
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Do you receive this error message when you try to establish a connection or are you running a sql command at that point ? Which provider are you using ?
Reply With Quote
  #6 (permalink)  
Old 09-19-02, 02:45
GaneshKumar GaneshKumar is offline
Registered User
 
Join Date: Sep 2002
Location: Bangalore
Posts: 4
Quote:
Originally posted by rnealejr
Do you receive this error message when you try to establish a connection or are you running a sql command at that point ? Which provider are you using ?
The error is occured when we try to establish connection.The error and provider details are mentioned in attached "error.doc".
Attached Files
File Type: doc error.doc (74.0 KB, 160 views)
Reply With Quote
  #7 (permalink)  
Old 09-21-02, 20:39
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
The error in your posted document is different than "Non-NULL controlling IUnknown was specified, and either the requested interface was not IUnknown, or the provider does not support COM aggregation.". When did you receive the IUnknown error ? Have you tried accessing the informix server from vb 6 (if you have it) ?
Reply With Quote
  #8 (permalink)  
Old 09-21-02, 20:45
rnealejr rnealejr is offline
Registered User
 
Join Date: Feb 2002
Posts: 2,232
Have you tried to create a dsn connection instead ?
Reply With Quote
  #9 (permalink)  
Old 09-23-02, 04:16
GaneshKumar GaneshKumar is offline
Registered User
 
Join Date: Sep 2002
Location: Bangalore
Posts: 4
Quote:
Originally posted by rnealejr
Have you tried to create a dsn connection instead ?
I just tried the following.
I installed Informix Client SDK 2.80 and it is doing fine at this moment.

But need to be tested when i start actual coding. As of now, its ok.

Thanks.
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