Azure Analysis Services: An unexpected error occured (file 'tmsavepoint.cpp, line 1503, function 'TMSavePoint::GetProxyImpl') at Microsoft.AnalysisServices.Tabular.Model.SaveChangesImpl(SaveOptions options)

Varbanov, Georgi 1 Reputation point
2021-08-23T12:34:20.68+00:00

Use Case: We are deploying a Tabular Database to an Azure Analysis Services Instance located in West Europe, using a .NET programm.

Here is the relevant part of the C#-code:

using Microsoft.AnalysisServices.Tabular;
...
Server server = new Server();
server.Connect(connectionString); 
Database olapDb = JsonSerializer.DeserializeDatabase(olapDbScript);
server.Databases.Add(olapDb);
olapDb.Update(UpdateOptions.ExpandFull);
...

Problem: olapDb.Update() throws following exception:
An unexpected error occured (file 'tmsavepoint.cpp, line 1503, function 'TMSavePoint::GetProxyImpl')

at Microsoft.AnalysisServices.Tabular.Model.SaveChangesImpl(SaveOptions options)
...

Note: We get the same message also with SQL Server Analysis Services 2019 (Build 15.0.32.52).

What is wrong there?

Azure Analysis Services
Azure Analysis Services
An Azure service that provides an enterprise-grade analytics engine.
463 questions
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,297 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Darren Gosbell 2,376 Reputation points
    2021-08-24T01:47:47.753+00:00

    This looks to me like you've encountered a bug. You should raise an official support ticket with Microsoft so that they can get an engineer engaged to investigate this.

    0 comments No comments

  2. CarrinWu-MSFT 6,876 Reputation points
    2021-08-24T01:58:22.243+00:00

    Hi @Varbanov, Georgi ,

    Welcome to Microsoft Q&A! Your question is related with C#, but I am not familiar with it. I suggest that you could post your question in C# forum and will get a solution quickly.

    Based on my research, you could check the name of the server and the database first, it seems to be case sensitive when deployed to the server. If it is not work, please refer to this similar issue, and it resolved by CU12(15.0.35.15).

    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.