SQL server Analysis services getting stopped

SQL server analysis service (services) getting stopped once partitions are processed with PROCESS FULL using XMLA script calling in "Analysis service DDL Task " in ETL package. After verifying Event Viewer log we observed that failure of msmdsrv.exe application is leading to services stop.Would like to know possible reasons and fix for the service stop.

Did you check the Msmdsrv.log? Did you check for any dump files if it's enabled? The extension would be .mdmp? You would also want to check the Windows event logs. What version of SSAS and are you on the current service pack?

That screenshot is a little hard to read, but if I am reading it correctly, you are using SQL 11 (ie 2012).What is the error right below the one you selected?The application error is likely caused by that MSSqlServerOLAPService error.

But I agree with Sue, checking the Msmdsrv.log file (and any SQL log files you can find) will likely give you better insight to the problem. msmdsrv.exe is the executable for SQL Server Analysis Services (SSAS). So saying that that crashing is the cause of the service crashing is like saying that Excel.exe crashing is the cause of your Excel application crashing.I'm willing to bet that one of your SQL logs or one of the other windows logs (or events, like the one right below the highlighted one) will have more helpful information in it.

SQL server analysis service (services) getting stopped once partitions are processed with PROCESS FULL using XMLA script calling in "Analysis service DDL Task " in ETL package. After verifying Event Viewer log we observed that failure of msmdsrv.exe application is leading to services stop.Would like to know possible reasons and fix for the service stop.

Regards,Kranthi

Hi Sue_H, bmg002Thanks for your reply.. below are the answers to your questions.1.Yes..Dump file was created SQLDmpr0054.mdmp and SQLDUMPER_ERRORLOG text file was also created. 2. We are using sql 2012 version3. And have gone through msmdsrv text file under SSAS log folder. But i didn't get much information about crash report. Would like to know any keywords/how to read the log information to find the exact error.I'm attaching the screenshots below for your reference.

Thanks for those. Typically the information you need will be in the dump files when you get crashes. And yours is in that last screenshot: 0xC0000005The thread tried to read from or write to a virtual address for which is does not have the appropriate access

The error code is Access denied. And that is also what the error message is telling you. - it's a permissions error causing the crash. Is this server on the lastest patches? SP4 for 2012 just came out but you should be at least at SP3. I haven't gone through the CU to see if any of those address the issue. Make sure the permissions are set correctly for the package and however that is being run since that impacts things. And if it's a job, who is the job owner. The service accounts should only be changed through configuration manager. If you haven't or don't run the package manually, try doing that and see if it makes a difference.

Please always remember to encapsulate your code in IFCode Markup. For example [code=sql] [/code].Click here to read Jeffs Guide on how to post SQL questions, and get swift and helpful answers from the community

Is this server on the lastest patches? SP4 for 2012 just came out but you should be at least at SP3. I haven't gone through the CU to see if any of those address the issue.

Sorry, OP, for not answering the question, but I thought 2012 SP4 was out next month? I can't see it in my Windows Updates at the moment either.

My apologies - I forgot this one changed a couple of times and is now later and is suppose to be due out in September. I can't find next month though in any of the retractions on the SP so maybe it's next month. Nonetheless, I apologize.

My apologies - I forgot this one changed a couple of times and is now later and is suppose to be due out in September. I can't find next month though in any of the retractions on the SP so maybe it's next month. Nonetheless, I apologize.

Sue

They'd moved it again since I'd read the article (I just grabbed the linked). I've already updated my previous post, but yes, out in September now (pending any further changes ).

Please always remember to encapsulate your code in IFCode Markup. For example [code=sql] [/code].Click here to read Jeffs Guide on how to post SQL questions, and get swift and helpful answers from the community

They'd moved it again since I'd read the article (I just grabbed the linked). I've already updated my previous post, but yes, out in September now (pending any further changes ).

Better than the time they released a bad service pack, broke everyone's maintenance plans, released a fix and never incremented the build. So no one knew which version of service pack they were on. I can't remember which one that was - 2005 or 2008. A total mess.

Thanks for those. Typically the information you need will be in the dump files when you get crashes. And yours is in that last screenshot: 0xC0000005The thread tried to read from or write to a virtual address for which is does not have the appropriate access

The error code is Access denied. And that is also what the error message is telling you. - it's a permissions error causing the crash. Is this server on the lastest patches? SP4 for 2012 just came out but you should be at least at SP3. I haven't gone through the CU to see if any of those address the issue. Make sure the permissions are set correctly for the package and however that is being run since that impacts things. And if it's a job, who is the job owner. The service accounts should only be changed through configuration manager. If you haven't or don't run the package manually, try doing that and see if it makes a difference.

Sue

Hi SueSure.. i'll test the package manually, but the thing is service is getting stopped after successful completion of partition processing and ETL execution.