SSAS 2012 Tabular Error: The operation was cancelled because of locking conflicts

I have a 800 mb SSAS database that I refresh(Process current day partition) every 30 minutes. As soon as the processing starts all my users get error The operation was cancelled because of locking conflicts. I ran the deadlocks trace as described in http://blogs.msdn.com/b/sql_pfe_blog/archive/2009/08/27/deadlock-troubleshooting-in-sql-server-analysis-services-ssas.aspx
but all I see is the processing start and all the users getting the error ("The operation was cancelled because of locking conflicts") 22 mil sec after the processing starts.
I also ran "select * from $system.discover_locks" but I only see lock types 2,4 and 8. None of which seem to be exclusive
This is SSAS 2012 with sp 1
Database Architect

Hi Derek,
According to your description, you get the dead lock error when processing partition. Right?
In Analysis Services, this error occurs when lock manager detects a dead lock. Lock type 2,4 and 8 can also have two transactions waiting each other and cause deadlock. In this scenario, please check the Dead Lock Graph in SQL Profiler
and find the related processes. Check what the processes work for to see if you need to do parallel processing or process other objects before partition processing.
Best Regards, 
Simon Hou
TechNet Community Support

Similar Messages

  • The operation was cancelled because of locking conflicts.

    Hi All,
    We are facing a issue as below when we access the cube via excel.
    Can you please help with the reason and if possible how to solve it.
    Thanks, Tanmoy Santra

    Hi Tanmoy,
    I recommend you take a look at the following article about deadlock Troubleshooting in SQL Server Analysis Services, please see:
    http://blogs.msdn.com/b/sql_pfe_blog/archive/2009/08/27/deadlock-troubleshooting-in-sql-server-analysis-services-ssas.aspx
    In addition, what's the version of your SQL Server? Please try to install the latest Service Pack for SQL Server to see if this helps. Here is a KB article about this issue, please see:
    SQL Server 2008 Service Pack 2 and SQL Server 2008 R2 Service Pack 2 enhancements to the "Operation has been cancelled" error message text in Analysis Services:
    http://support.microsoft.com/kb/2216456
    If you have any feedback on our support, please click
    here.
    Regards,
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • I have attempted to update OS X 10.8.4 and keep getting this error message...The operation was cancelled.(3072) Anyone know why?

    I have attempted to update OS X 10.8.4 and keep getting this error message...The operation was cancelled.(3072) Anyone know why?

    You're trying to update an application that's running, perhaps in another account. Make sure you quit all apps that are to be updated. If another user is logged in under Fast User Switching or Screen Sharing, he or she must do the same.

  • HELP! problem after update OS & email accounts msg 'there was an unexpected error and the operation was cancelled'

    Hello I hope someone can help as i am very upset my BB10 is not functioning.
    I have had this handset 3 months & love it!
    I updated the OS and now on 10.1.0.4181... I had to do a memory swipe as handset working fine until update then it would not make or receive calls hence the swipe also cleaned up emails etc.
    Now when I come to add the email accounts  which it allows but  no emails are received.. I keep getting  this 
    message 'there was an unexpected error and the operation was cancelled.'
    I used to have 2 x virgin media email addresses, 1 x hotmail.co.uk & 1 x [email protected] email address linked to Z10 
    handset and worked perfect..
    What has happened to my phone.. I so need it to operate as before as I use it for work (self employed)
    On the settings the virgin emails will sometimes say not connected.
    I can use the internet & apps ok & text.. but I love the hub and that is not working like it did...
    Can someone please help & advise before I send it to a watery grave...Thanks

    Thanks for the reply
    Can I get you to manually add the live.co.uk email account by changing the incoming mail server to one of these servers: blu-m.hotmail.com, dub-m.hotmail.com, stn-m.hotmail.com, bay-m.hotmail.com, col-m.hotmail.com or snt-m.hotmail.com.
    Then try to add it, let me know if the issue persists.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • HT1222 I get "An error has occurred" followed by "The operation was cancelled.(3072)" when I try to update to iTunes 11.0.3 while running OS 10.8.3. Whats up?

    I get "An error has occurred" followed by "The operation was cancelled.(3072)" when I try to update to iTunes 11.0.3 while running OS 10.8.3. Whats up?

    See if this is any help:
    https://discussions.apple.com/thread/4150266?start=0&tstart=0

  • HT5678 When I try to update the OS I get an error message-- An error has occurred-The operation was cancelled.(3072)

    Is there anything I can do to update my OS? I have the Mountain Lion and I keep getting them- The operation was cancelled.(3072)- when I try.

    Often due to another User being logged in & having Safari open.
    log out from any other users, or at least close any open applications there.

  • HT5766 The operation was cancelled.(3072)  Why am I getting this message?  Can't do the update.

    I can't upload the iTunes update.  I receive this message:  The operation was cancelled.(3072)
    Anyone know a fix?

    Quit iTunes and Xcode in all logged in users, and log out all other users — all users except the user performing the install.

  • Solution to error: "The operation cannot complete because of an unknown error. [CANT]" ???

    Hi,
    I'm working with Adobe Illustrator CS3 for Mac and suddenly the software started to prompt "The operation cannot complete because of an unknown error. [CANT]". I deleted my prefs and the problem is still present.
    Some times the machine freezes after this error.
    I'm performing normal operations, nothing that requieres large amounts of memory or so.
    The problem only happens in Illustrator.
    Any possible solution?
    thanks in advance.

    I have a MacBook Pro 15" 2.2 GHz. My hard drive has 50% of free space (80GB free)
    It was defragmented 2 months ago. No reports from SMART or any issues with directory. (tested with Drive Genius and Disk Warrior)
    I read in several posts about problem with scratch discs. My system has only one partition.
    Hope this info might be helpful.

  • The operation was cancelled.(3072)

    im trying to update itunes and this is what keeps coming up. the version im trying to update to is 11.0.5
    thanks in advance

    Nevermind I searched my problem on the forumns after I posted my problem, my apologies.
    The problem was that there was another user logged in on my mac. After I logged her out and went back to my account and started the update it worked correctly.

  • Error message for iTunes update. "The operation was cancelled.(3072)" What can I do?

    I get an error message:

    Quit iTunes and Xcode in all logged in users, and log out all other users — all users except the user performing the install.

  • HT5678 Cannot update this. Error occurred.The operation was cancelled.(3072). Why?? Safari is NOT open....

    I cannot enable this update. Even though Safari is closed, the error message tells me to close it. Then it reads, "Error occurred (3075)." What is going on?

    Apple support will charge me to discuss this by phone. Meanwhile the App Store Icon continues to have a red #1!

  • CS6 Spell check error: The operation cannot complete because of an unknown error [CANT]

    Hi Everyone,
    Has anyone else encountered this error when trying to spell check? Is there a way around it?

    Hey,
    I had the same problem any time I tried to open .svg files. I resaved the files as .eps and they opened without issue.

  • Automatic MOLAP cube : Proactive caching was cancelled because newer data became available

    When I process the cube manually after processing Dimension, It works fine. But when I append data into database column, It performs proactive caching, at that time it fails.
    Sometimes: It does not get key attribute because measure gets processed before dimension
    and sometimes it gives error:  
    Proactive caching was cancelled because newer data became available  Internal error: The operation terminated unsuccessfully. OLE DB error:
    OLE DB or ODBC error: Operation canceled; HY008. Errors in the OLAP storage engine: An error occurred while the dimension, with the ID of 'call dim Monthly 201401 2', Name of 'call dim Monthly
    201401 2' was being processed. Errors in the OLAP storage engine: An error occurred while the 'MSW' attribute of the 'call dim Monthly 201401 2' dimension from the 'callAnalysisProject' database was being processed.  etc....

    I have also seen this error occur in other scenarios.
    In the first if you have set Pro-Active caching to refresh every 1 minute and your query takes 2 minutes to refresh the error above can be displayed.  Solution increase your refresh time or tune your Pro-Active caching query.
    In connection with the above if your server is limited on available resources this can also cause the slower query response times during refresh and the message above.

  • SQL2012: Internal Error: The operation terminated unsuccessfully. The connection timeout was exceeded. Server: The operation has been cancelled

    When rendering a SSRS native mode report based on a query to SSAS the report with fail with the following error:
    An error has occurred during report processing. (rsProcessingAborted)  Cannot read the next data row for the dataset. (rsErrorReadingNextDataRow).  The connection either timed out or was lost.  Unable to read data from the transport connection:
    An existing connection was forcibly closed by the remote host.
    Putting a trace on the SSAS instance, I get an error:
    Internal error: The operation terminated unsuccessfully.  The connection timeout was exceeded. Server: The operation has been cancelled.
    I've modified the IIS (6) application pool timeouts, the SSRS rsreportserver.config timeouts, and the SSAS timeouts.  Restarted services, rebooted, and still I get this error.
    The report will render if I select a shorter time period (less data, shorter query time).
    Running SQL2012 (11.0.5058.0), SSAS and SSRS on separate servers, same subnet.
    Any help or suggested troubleshooting greatly appreciated.

    Please check the links below.
    http://www.symantec.com/business/support/index?page=content&id=TECH186577
    https://support.microsoft.com/kb/2200755?wa=wsignin1.0
    http://msdn.microsoft.com/en-IN/library/ms155782.aspx
    http://blogs.msdn.com/b/dynamicsaxbi/archive/2013/02/14/how-to-addressing-ssrs-session-timeouts.aspx

  • "The query was cancelled" error after upgrade from 10.1.3.3.3 to 10.1.3.4.2

    Hi,
    I was using OBIEE 10.1.3.3.3 /. After upgrading to 10.1.3.4.2 , the queries are not running ( long running queries alone) as expected. and so all the campaigns iwh tlong running queries are cancelled and the error message is seen in the xml log in Marketing jobs management.
    We have upgraded the OBIEE version from 10.1.3.3.3 to 10.1.3.4.2 yesterday after which the connectivites have been checked with SQLPLUS and they are working fine. But when the campaign has been loaded, the Analytics have received the request for the segment query and after longer run, the task has been cancelled with the error message "The Query was cancelled as mentioned below in the Job Stats
    <jobStats>
    <jobID>2</jobID>
    <jobType>WriteListFiles</jobType>
    <jobUser>userid</jobUser>
    <jobState>Error</jobState>
    <jobTotalMilliSec>1h 41m 21s 160ms</jobTotalMilliSec>
    <jobStartedTime>2012-03-22T08:06:13Z</jobStartedTime>
    <jobFinishedTime>2012-03-22T09:47:34Z</jobFinishedTime>
    <jobIsCancelling>N</jobIsCancelling>
    - <exception>
    <message>Job request of type "WriteListFiles" failed.</message>
    - <exception>
    <message>Error executing the list generation SQL.</message>
    - <exception>
    <message>Error in executing cursor for WorkNode (Id:0)</message>
    - <exception>
    <message>The query was cancelled.</message>
    </exception>
    </exception>
    </exception>
    </exception>
    </jobStats>
    Please let us know the suggestions
    So far, the unaccessedtimingrunoutminutes tag has been tried to set 50 under ODBC tag in instanceconfig.xml. and the defaulttimeoutminutes has been tried to set to 150 in the same instanceconfig.xml.
    along with that the rpd changes are done. For all the users apart from the Administrator, the timeout has been changedfrom 10 minutes to 150 minutes. But still that way is not working.
    The segments was fired with the Administrator login. So , if the timeout for admin login can be set, i assume that the problem might be solved. Please let us know ur suggestions here too.
    If that is the case, when we open rpd , only for Administrator user and group, the Permissions button is disabled. So i want to know how to change for Admin user settings in rpd..
    Please advice us on the same.
    Regards,
    Madasamy M.
    Edited by: Madasamy Murugaboobathi on Mar 26, 2012 1:40 PM

    The issue has been resolved by setting the following parameters
    <UnaccessedRunningTimeoutMinutes>120</UnaccessedRunningTimeoutMinutes>
    <DefaultTimeoutMinutes>120</DefaultTimeoutMinutes>
    <ClientSessionExpireMinutes>120</ClientSessionExpireMinutes>
    <ConnectionExpireMinutes>120</ConnectionExpireMinutes>
    <UIDefaultTimeoutMinutes>1440</UIDefaultTimeoutMinutes>

Maybe you are looking for