Failed to save modifications to the server. Error returned: 'An unexpected exception occurred. '.

Fra1978 126 Reputation points
2020-12-18T16:48:39.587+00:00

Hi, I get the same error as https://social.msdn.microsoft.com/Forums/en-US/2104c941-27b1-41ba-b533-9e89fa582b41/tabular-2019-compatibility-level-1500-unable-to-process-table-or-deploy?forum=sqlanalysisservices

Which is : Failed to save modifications to the server. Error returned: 'An unexpected exception occurred. '.

My question is, I have the version 15.0.32.50 Will upgrading to 15.0.34.1 fix it? ( https://support.microsoft.com/en-us/help/4536075/kb4536075-cumulative-update-2-for-sql-server-2019 )

ps: it took me long to find that post, because the error is posted as an image. Just to be clear and make this searchable, the entire error description I receive is: "Failed to save modifications to the server. Error returned: 'An unexpected exception occurred. '" this is the message that appears through the GUI after clicking "Process database"

SQL Server Analysis Services
SQL Server Analysis Services
A Microsoft online analytical data engine used in decision support and business analytics, providing the analytical data for business reports and client applications such as Power BI, Excel, Reporting Services reports, and other data visualization tools.
1,344 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Lukas Yu -MSFT 5,826 Reputation points
    2020-12-21T02:35:25.073+00:00

    Hi,

    Seems from other user's experience , this error should be fixed with SQL Server 2019 CU2 - 15.0.34.1 . (The lasted post in the thread you post.)

    Further more, since you have the SQL Server RTM version, I would suggest to your to upgrade to latest CU, that is Cumulative Update 8 for SQL Server 2019 . These updates contain several updates and fixes, I highly recommend to upgrade it.

    Regards,
    Lukas


    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    What can I do if my transaction log is full?--- Hot issues November
    How to convert Profiler trace into a SQL Server table -- Hot issues November

    2 people found this answer helpful.
    0 comments No comments

  2. Lukas Yu -MSFT 5,826 Reputation points
    2020-12-24T09:33:57.33+00:00

    Hi,

    You could search for key DAX functions words for the calculation group, i.e. , in the text file search for SELECTEDMEASURE , SELECTEDMEASURENAME, ISSELECTEDMEASURE , SELECTEDMEASUREFORMATSTRING.
    If one of this function is contained , that means calculation group is used,
    How they work
    Regards,
    Lukas

    1 person found this answer helpful.

  3. Fra1978 126 Reputation points
    2020-12-21T08:45:56.107+00:00

    Hi, thanks for your input. Apparently this happens when using newer stuff like CALCULATION GROUPS.

    I want to be 100% sure that upgrading to 15.0.34.1 will fix it...

    I have one model that works and other that doesn't. If I open the .bim file as a text file, how can I search for newer stuff used like 'CALCULATION GROUPS.'?

    (if I find any newer feature used in the one that doesn't work that would confirm that the issue comes from not upgrading).

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.