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

BOBASITH 0 Reputation points
2024-09-10T11:47:40.22+00:00

Hi

I have XMLA script to create the Analysis service database.

Ii try to deploying the script.

I'm facing an issue while running the script - Internal error: An unexpected error occurred (file 'pcserialize.cpp', line 1535, function 'ASDatabase::Serialize').

I have a same problem with visual studio 2022 on my server SSAS 2022 when i deployed project.

I have found on internet the solution with remove <Gen2ServerKey>1</Gen2ServerKey> on file msmdsrv.ini but it doesn't work.

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,278 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MikeyQiaoMSFT-0444 2,790 Reputation points
    2024-09-12T03:35:15.9366667+00:00

    Hi,BOBASITH

    You can try changing <Gen2ServerKey>1<Gen2ServerKey> to <Gen2ServerKey>0<Gen2ServerKey>, or instead of using the default account, create a new account and try redeploying.

    Regards

    Mikey Qiao


    If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.


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.