Analysis Services 2022 Tabular Model error

Omiński Tomasz 25 Reputation points
2023-06-20T11:58:36.2333333+00:00

When run query in SSMS in

{   
  "create": {   
    "database": {   
      "name": "AdventureworksDW2016",   
      "description": "test"   
    }   
  }   
} 

i have error:

Executing the query ...

An unexpected error occurred (file 'pcserialize.cpp', line 1535, function 'ASDatabase::Serialize').

Run complete

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,249 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Omiński Tomasz 25 Reputation points
    2023-07-21T05:40:23.01+00:00

    It's new installation 2022, not upgrade.

    0 comments No comments

  2. James Navy 0 Reputation points
    2023-08-03T14:10:04.25+00:00

    SQL Server Analysis Services


  3. SQLMonger 0 Reputation points
    2023-08-25T19:06:20.26+00:00

    I was able to get this resolved by reinstalling SQL 2022. The instance that was failing deployments had been upgraded from SQL 2019 to SQL 2022.

    Removing the upgraded instances and installing from the SQL 2022 image worked to solve the issue. I also made sure that the base OS had been patched and is fully current.

    This was an SSAS only instance, no SQL Server instances on the box.

    It may not be related to the upgrade from 2019, but doing a fresh installation definitely solved the issue.
    One other alternative to consider is publishing your cube to Power BI Premium, if you already have a premium instance.

    0 comments No comments