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

Kaviyarasan J 10 Reputation points
2023-08-22T09:45:15.17+00:00

i have XMLA script to create the Analysis service database.

i try to deploying the script with both primary and secondary server in the AAG environment.

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

i struck more than a week with this issue.

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
Windows for business | Windows Server | Storage high availability | Clustering and high availability
SQL Server | Other
{count} vote

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,766 Reputation points
    2023-08-23T09:42:11.9633333+00:00

    Hello

    Thank you for your question and reaching out.

    Open SQL Server Management Studio to log in

    Establishing a fresh login for the NT Service MSSQLServerOLAPService.

    determining the memberships for the db_datareader and db_datawriter roles.

    Also try to change the account.

    --If the reply is helpful, please Upvote and Accept as answer--

    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.