PowerPivot의 "통합 문서 데이터 모델을 로드할 서버를 찾을 수 없습니다." 오류

이 문서는 지원 에스컬레이션 엔지니어 인 Rick Andring에 의해 작성되었습니다.

증상

Microsoft SharePoint 2016 또는 Power BI Report Server PowerPivot을 설치하고 SQL Server 2017을 데이터 모델 서버(SharePoint 모드의 Analysis Services)로 사용한다고 가정합니다. 또한 Office Online Server 및 기타 모든 종속성을 구성했습니다. 통합 문서를 렌더링하고 데이터를 조각화하려고 하면 다음과 같은 오류 메시지가 표시됩니다.

통합 문서 데이터 모델을 로드할 서버를 찾을 수 없습니다.

분석

Office Online Server ULS(Unified Logging Service) 로그에 오류를 재현하는 동안 다음과 유사한 오류가 표시됩니다.

DateTime w3wp.exe (0x0000) 0x0000 Excel Online Data Model 27 Monitorable Uncaught CLR exception crossing the Interop boundary: Microsoft.AnalysisServices.Streaming.ServerNotFoundException: There are no servers available or actively being initialized. at  <<TRUNCATED STACK FOR LENGTH>><<CORRELATION ID>> 

DateTime w3wp.exe (0x0000) 0x0000 Excel Online External Data by6b8 Medium OLEDBConnection::InitConnection: There are no servers available or actively being initialized. <<CORRELATION ID>>

DateTime w3wp.exe (0x0000) 0x0000 Excel Online Excel Calculation Services akdn Verbose OperationSite.PrepareComplete: Caught Exception when running operation Microsoft.Office.Excel.Server.CalculationServer.Operations.ApplySlicerSelectionOperation, WebMethod: ApplySlicerSelection. Error was Id=NoStreamingServers; Microsoft.Office.Excel.Server.CalculationServer.OperationFailedException: We cannot locate a server to load the workbook Data Model. at Microsoft.Office.Excel.Server.CalculationServer.Operations.Operation.RunOperationAsync() at Microsoft.Office.Excel.Server.CalculationServer.Operations.OperationSite.PrepareComplete(PrepareAsyncArgs args) <<CORRELATION ID>>

이러한 오류는 PowerPivot Analysis Services 서버에서 데이터 모델을 만들 수 없음을 나타낼 수 있습니다. 그(것)들은 진단으로 아주 많이 도울 수 없습니다. 근본 원인을 찾으려면 로그를 자세히 살펴보아야 하며 Excel Services 대한 몇 가지 배경이 필요합니다.

Excel Services 처음으로 시작되면 초기화 전에 정의된 PowerPivot 인스턴스에 대해 일련의 검사를 수행합니다. 오류가 발생하면 해당 서버가 사용 가능한 서버 풀에서 제거됩니다. 세 기본 검사한 후 사용 가능한 메모리에 대한 쿼리를 수행합니다. 이는 SSAS(SQL Server Analysis Services) 설치 중에 서버에 적용되는 성능 카운터를 기반으로 합니다. PowerPivot은 성능 기반 카운터에 너무 의존하기 때문에 카운터가 누락되고 메모리 검사 실패하면 서버 초기화도 실패합니다. 이는 앞에서 본 오류 중 하나인 "사용 가능하거나 적극적으로 초기화되는 서버가 없습니다."로 거슬러 올라갑니다.

따라서 언제든지 로그에 이 검사 목록이 표시되어 있을 수 있습니다. 그러나 restart-service wacsm 명령을 실행하고 다시 시작하는 동안 로깅하는 경우 다음이 표시됩니다(팝업하려면 Excel을 어떻게든 참여시켜야 할 수 있음).

DateTime w3wp.exe (0x0000) 0x0000 Excel Online Data Model 27 Medium Checking Server Configuration (SERVERNAME\POWERPIVOT)

DateTime w3wp.exe (0x0000) 0x0000 Excel Online Data Model 27 Medium --> Check Administrator Access (SERVERNAME\POWERPIVOT): Pass.

DateTime w3wp.exe (0x0000) 0x0000 Excel Online Data Model 27 Medium --> Check Server Version (SERVERNAME\POWERPIVOT): Pass (14.0.1.439 >= 11.0.2800.0).

DateTime w3wp.exe (0x0000) 0x0000 Excel Online Data Model 27 Medium --> Check Deployment Mode (SERVERNAME\POWERPIVOT): Pass.

DateTime w3wp.exe (0x0000) 0x0000 Excel Online Data Model 27 Medium Check Server Configuration (SERVERNAME\POWERPIVOT): Pass.

DateTime w3wp.exe (0x0000) 0x0000 Excel Online Data Model 27 Medium SSPM: Initialization failed on server SERVERNAME\POWERPIVOT: Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: The '\MSOLAP$POWERPIVOT:Memory\Memory Limit High KB' performance counter could not be found. System error -1073738824 <<TRUNCATED STACK>>

원인

성능 카운터가 없습니다. 이는 SQL Server 2017의 누적 업데이트 1 또는 2017년 SQL Server 누적 업데이트 2를 적용한 후 SQL Server Analysis Services 2017(SSAS 2017)의 테이블 형식 모델에서 알려진 문제입니다. 그 후 위에 다른 instance 설치하거나 제거하거나 다시 설치하는 경우에도 성능 카운터는 서버에 설치되지 않습니다.

해결 방법

이 문제는 2017년 SQL Server 대한 누적 업데이트 3에서 해결되었습니다. 테이블 형식 모드에서 SSAS 2017을 설치한 후 수정: 성능 카운터가 누락됨을 참조하세요.

이 문제를 해결하려면 SQL Server 2017에 대한 최신 누적 업데이트를 설치하는 것이 좋습니다.