Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old August 11th, 2005, 05:35 AM
julieths julieths is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 1 julieths User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 16 m 38 sec
Reputation Power: 0
Question MSSQL accessing other database (Informix)

Hi,

I have this scenario where I am required to retrieved data from MSSQL and Informix database. I believe this integration can be done using the linked server in MSSQL.

I have managed to perform the linked server but I am facing some other problem at the moment. The following are the settings done

1. Downloaded the IBM Informix Client-SDK 2.81. Did the Setnet32 settings

2. Create ODBC using the IBM INFORMIX 3.82 32 BIT driver. Tested the connection, was successful. Did a DBPing to test the connection all was successful.

3. At the SQL Query Analyzer. ran the sp_addlinkedserver below
EXEC sp addlinkedserver
@server='elot_srv', --IBM Informix Server
@provider='MSDASQL',
@datasrc = 'CS3', --ODBC name
@srvproduct = '',
@provstr = 'DSN=CS3;Database=jnj;UID=xxx;PWD=xxx

4. After that, went to the SQL Server Enterprise Manager, under linked servers, found that the linked has been established. Click on the Tables icon and the list of tables in the database was displayed.

5. At the SQL Query Analyzer, tried to execute the following SQL
Select * from openquery (elot_srv, 'select order_no from
optdetm')
It gave me the following error

OLE DB provider 'MSDASQL' reported an error.
[OLE/DB provider returned message: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed] [OLE/DB provider returned message: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed] [OLE/DB provider returned message: [Informix][Informix ODBC Driver][-11302] Insufficient Connection information was supplied] OLE DB error trace [OLE/DB Provider 'MSDASQL' IDBInitialize::Initialize
returned 0x80004005: ].

Please advise how do I go about solving this problem. Please help

Thanks and Regards,
Julie

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMicrosoft SQL Server > MSSQL accessing other database (Informix)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT