Quantcast
Channel: SQL Server Analysis Services forum
Viewing all articles
Browse latest Browse all 14337

Cannot start a transaction for OLE DB provider "MSOLAP" for linked server

$
0
0

Hi there,

I am not quite sure if this problem is attributed to SQL Server, SQL Server Analysis Services or some other unknown culprit, but it seems this is the likely place to start.

I have started receiving the following error messages during peak times intermittently:

Cannot start a transaction for OLE DB provider "MSOLAP" for linked server

During non-peak times, this error message never appears.  So it's clearly a load issue and not a functional one.  Even during peak times, the transactions that do get through are very quick and responsive, so it's not as if SSAS is struggling under the load to execute queries.

Basically, the application is a WCF service that receives a request, calls another WCF service (potentially on a separate server), which then calls SQL Server to run a stored procedure, which then calls SSAS to receive certain OLAP data via a linked server.

The last part is where it is falling over.  SQL Server returns that exception which bubbles back through the various tiers.

The strange thing is, is that no transaction exists.  WCF is explicitly forbidding and supressing transactions from flowing through and SQL Server never creates one.  In fact, if I do have a distributed transaction, I get an immediate error because SSAS is unable to enlist as part of that transaction.  This means the error message is quite misleading because no transaction actually exists.

I have tried heavily load testing the querying by having many threads hit the service with random requests (far more than in actual peak load), to which no error messages could be reproduced.

The only thing that I haven't been able to simulate yet is the actual data ingestion that is occurring (we use proactive caching in SSAS to load data throughout the day in quite significant quantities).  The actual ingestion process into the OLTP database uses distributed transactions heavily (MSMQ transaction to ingest data).  I can't understand how this may affect it, though, if no transaction exists when querying.

During these times the server itself is under minimal load.  Low CPU, disk activity and RAM usage.

Does anyone have any ideas why this error message may come up intermittently?  Is there anything I can do to trace/debug it, or any settings that I might be able to increase?

Thanks.


Viewing all articles
Browse latest Browse all 14337

Trending Articles



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