I am trying to setup a linked server in my 64-bit instance of SQL 2008 to a Pervasive v11 database. In the past, this worked fine on another server. We moved the application to a Windows Server 2008 R2 unit running SQL 2008. When I attempt to create the link I get the following error:
'The linked server has been created but failed a connection test. Do you want to keep the linked server? An exception occurred while executing a Transact-SQL statement or batch. Cannot initialize the data source object of OLE DB provide"MSDASQL" for linked server "EDMUNDS". ... Specified driver could not be loaded due to system error 998: Invalid access to memory location. (Pervasive ODBC Interface, C:\Program Files\Pervasive Software\PSQL\bin\odbcci64.dll.)" Microsoft SQL Server, Error: 7303).'
I've based the link server on a System DSN which passes the connection test to the Pervasive database without issue. I have confirmed that the username and password are correct and working. I have also confirmed that Pervasive application is 64-bit as is our SQL server instance. I've done numerous online searches, but I can't find an answer on this one.
Any help would be appreciated.