Testing migration of SQL/SSAS from 2017 to 2019, when editing an SSAS database connection in SSMS 18.12.1 results in an error - Object reference not set to an instance of an object. (Microsoft.AnalysisServices.SsmsManagementDialogs)

Spencer-Jones, Mike 6 Reputation points
2022-07-13T15:04:26.47+00:00

After updating connection string properties, SSMS returns
TITLE: Microsoft SQL Server Management Studio

------------------------------

Object reference not set to an instance of an object. (Microsoft.AnalysisServices.SsmsManagementDialogs)

------------------------------

BUTTONS:

OK

------------------------------

NOTE: it appears to work in SSMS 17.9.1

Also when running the SSAS cube refresh from a SQL Agent job (SQL 2019) we now get the following
Note. Analysis Server has persisted any security information specified as part of the Connection string portion of the Datsource object definition

07/13/2022 15:43:56,TDW_SSAS_Refresh,Error,1,XXXXXXXXXX_SSAS_Refresh,Refresh Cube,,Executed as user: UUUUUUUUUU. <return xmlns="urn:schemas-microsoft-com:xml-analysis"><root xmlns="urn:schemas-microsoft-com:xml-analysis:empty"><Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception"><Warning WarningCode="1092091904" Description="Note. Analysis Server has persisted any security information specified as part of the Connection string portion of the Datsource object definition." Source="Microsoft Analysis Services" HelpFile="" /></Messages></root></return>. The step failed.,00:00:16,0,0,,,,0

Manually processing the cube works fine.

SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
532 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,282 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Joyzhao-MSFT 15,581 Reputation points
    2022-07-14T02:46:46.673+00:00

    Hi @Spencer-Jones, Mike ,
    This is because SSAS can not process data. I think it's because of your impersonation setting in your connection. check your connection setting and test it again.
    I would suggest you to set the impersonation information as "Specific Windows user name and password" . This option specifies the model use a Windows user account to import or process data from the data source. The domain and name of the user account uses the following format:<Domain name>. When creating a new model using the Table Import Wizard, this is the default option.

    Executed as user: UUUUUUUUUU. <return xmlns="urn:schemas-microsoft-com:xml-analysis"><root xmlns="urn:schemas-microsoft-com:xml-analysis:empty"><Messages xmlns="urn:schemas-microsoft-com:xml-analysis:exception"><Warning WarningCode="1092091904"...

    Check the permission for the user that was mentioned in the message. Make sure it has the processing permission.
    Best Regards,
    Joy


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.


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.