Unable to create a linked server
Hello.
Currently I am using SQL Server Database 2008 and I want to create a linked server and make a connection with Microsoft Access database named Nwind.mdb. I have issued a command in the SQL server Management Studio, like this:
execute sp_addlinkedserver 'North','OLE DB Provider for Jet',
'Microsoft.Jet.OLEDB.4.0','d:sql_serverNwind.mdb'
The command was completes successfully.
At this time, I wished to make a query on the customer table in access database and issue the following command:
select * from North…customers
I got the following error message after clicking the execute button:
Msg 7308, Level 16, State 1, Line 1
OLE DB provider 'Microsoft.Jet.OLEDB.4.0' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode.
Any idea how to fix this error? Thanks.








