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 > Microsoft SQL Server > Issue creating Linked server using ODBC Connection to an HP3000 Image/sql database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-14-11, 12:31
rsrivid rsrivid is offline
Registered User
 
Join Date: Jul 2011
Posts: 4
Issue creating Linked server using ODBC Connection to an HP3000 Image/sql database

Hi,

Scenario: Extract data from HP3000 Image/Sql database into SQL server 2008 every hour.
I am trying to get the connection working. I tried doing an 'Import Data' using the wizard in SQL Management Studio. Using '.Net Framework Data Provider for ODBC' and by using the string "Dsn=;Driver={}", I was able to dump data from one of the tables on the HP3000 db into sql server.But to pull data every hour, I considered creating a linked server. I selected 'Microsoft OLE DB Provider for ODBC Drivers' as the provider and connection string 'Dsn=;Driver=;Uid=;Pwd='. I get an error 'the data source object of OLE DB provider 'MSDASQL'. Does anyone know what is the correct connection string to be used? I have tried various combinations and none worked.
Reply With Quote
  #2 (permalink)  
Old 07-14-11, 15:09
Thrasymachus Thrasymachus is offline
SQL Server Street Fighter
 
Join Date: Nov 2004
Location: Down The Rabbit Hole
Posts: 7,979
__________________
software development is where smart people go to waste their lives
Reply With Quote
  #3 (permalink)  
Old 07-18-11, 10:57
rsrivid rsrivid is offline
Registered User
 
Join Date: Jul 2011
Posts: 4
Thanks

Yes I had checked this link out.

I have now been able to get data from the HP 3000 server into SQL server 2005 using the linked server concept. This errors out in SQL Server 2008 when trying to create a linked server.

I receive 'Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "ABC". Data source name not found and no default driver specified.'

Any ideas why this happened?
Reply With Quote
  #4 (permalink)  
Old 07-18-11, 11:20
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,606
Have you installed the ODBC drivers for IMAGE on the machine that is running SQL 2008 ?

-PatP
__________________
In theory, theory and practice are identical. In practice, theory and practice are unrelated.
Reply With Quote
  #5 (permalink)  
Old 07-18-11, 13:56
rsrivid rsrivid is offline
Registered User
 
Join Date: Jul 2011
Posts: 4
Yes. I have installed the 32 bit MB Foster UDALink ODBC driver using the 32 bit ODBC application from the Syswow4 folder. The same I did on Sql server 2005.
The error I get is 'Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server"ABC".

Any ideas?
Reply With Quote
  #6 (permalink)  
Old 07-18-11, 14:16
rsrivid rsrivid is offline
Registered User
 
Join Date: Jul 2011
Posts: 4
Also, I forgot to mention here that the Sql server 2008 is a clustered Sql server. Could this make things different?
Reply With Quote
  #7 (permalink)  
Old 07-18-11, 14:54
roac roac is offline
Registered User
 
Join Date: Mar 2007
Location: Holmestrand, Norway
Posts: 332
You have to install the driver on all the nodes in the cluster than can host your SQL Server instance, apart from that it should not make anything different.
__________________
Ole Kristian Velstadbråten Bangås - Virinco - MSSQL.no - Facebook - Twitter
Reply With Quote
Reply

Tags
connection string, data provider, hp3000, odbc, sql server

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