Hello,
I'm trying to create a linked server with an Access 2003 Database using SQL Server 2005. Here is the script:
EXEC master.dbo.sp_addlinkedser
ver @server = N'LinkedServer', @srvproduct=N'OLE DB Provider for Jet', @provider=N'Microsoft.Jet.
OLEDB.4.0'
, @datasrc=N'\\svr\folder\Ac
cessDB.mdb
'
This creates the linked server in the SMS just fine, but when I try to test the connection I get the following:
"The test connection to the linked server failed."
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.Conne
ctionInfo)
Cannot initialize the data source object of OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "LinkedServer".
OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "PPS-Daten" returned message "Unspecified error". (Microsoft SQL Server, Error: 7303)
The server runs on Microsoft Server 2003. The Access database is on a separate server that the SQL server can see. The Access database also has security set to everyone - full control. I'm starting to think it's a setting some where (either Server 2003 or MSSQL2005) because I've tried to set up other linked servers via ODBC and got the same error, but for MSDASQL provider. This was for a Progress database so I just figured that the driver I was using didn't work right. I have SQL 2005 Ent installed on my machine (Vista OS) for development and I have no problems creating these linked servers. It is allowing me to create linked servers to other SQL servers. Those work just fine. It's just when I try to use one of the other providers.
Any insight would be helpful.
Thanks
Chad
Start Free Trial