Quantcast
Channel: SQL Service Broker forum
Viewing all articles
Browse latest Browse all 461

A transport-level error has occurred in SQL Server when running AccessDatabaseEngine Linked Server Query

$
0
0

I have done this a thousand times, that is, setup the AccessDatabaseEngine on Windows 7 running SQL Server 2008 R2. This time I have done somethings differently, for instance I have Office 2016 installed, not 2013, I have both VS2013 and VS2015 installed in parallel. I also have SQL Server 2008 and 2014 installed side-by-sdie. But none of that should be an issue.

I install the AccessDatabaseEngine and run the setup queries:

EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess',1
GOEXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters',1
GOEXEC sp_configure 'show advanced options',1reconfigureEXEC sp_configure 'Ad Hoc Distributed Queries',1reconfigure

This seems to work, but then if I read from an Access database using

USE[Test]SELECT*FROMOPENROWSET('Microsoft.Ace.OLEDB.12.0','C:\SomePath\TestData.accdb';'admin';'', TableName);
GO

The server instance I am running against shuts down/stops automatically and I get given the following error:

A transport-level error has occurred when receiving results from the server. (provider: Shared Memory Provider, error: 0 - The pipe has been ended.)

I can restart it, run the above again, but then it shuts down again. I have searched through loads of thread with this error message but none are this particular situation. What is going on and how can I stop this from happening?

Thanks very much for your time.


"Everything should be made as simple as possible, but not simpler" - Einstein


Viewing all articles
Browse latest Browse all 461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>