An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh: PowerPivot Data

回答済み An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh: PowerPivot Data

  • Friday, October 28, 2011 4:48 PM
     
     

    I have created a SharePoint site with a PowerPivot gallery that has two worksheets. When I open the worksheets, all data refreshes fail until I login as the admin user. After that, all other users are able to open the worksheets and refresh the data.

    My site is using Windows authentication. Here are the steps I follow and the results:

     

    1. Login to the site as an ordinary domain user.
    2. Open a worksheet from the PowerPivot Gallery.
    3. Worksheet tries to refresh data. Error message: "An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh: PowerPivot Data"
    4. Clicking on slicers generates the same error. Log pasted below.
    5. Logout.

     

    1. Login as administrative domain user. The PowerPivot Service application is running under this domain account.
    2. Open a PowerPivot worksheet from the gallery.
    3. Worksheet tries to refresh data. No issues.
    4. Click on slicers. No issues.
    5. Logout.

     

     

    1. Log back into the site as an ordinary domain user.
    2. Open a worksheet from the PowerPivot Gallery.
    3. Worksheet tries to refresh data. No issues this time.
    4. Clicking on slicers, no issues.
    5. Logout.

     

     

    Error log:

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     bco9 Medium   PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     d5b7 Medium   PF_CHECK_ERROR returned 'critical hresult error' 0x80004005 ; Stack Trace:NA e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     External Data                 6k27 Medium   OLEDBConnection::InitConnection: The 'http://comp07-web02:80/_vti_bin/PowerPivot/Redirector.svc/?DataSource=/Executive%20Dashboard/Acquisitions%20View.xlsx&LocaleID=1033' URL cannot be found. e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     6k4q Medium   ConnectionManager.GetConnection: Failed to create new connection, exception=Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass1.<CreateConnection>b__0()     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod method, Boolean dispose)     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean dispose)     at Microsoft.Office.Excel.Server.CalculationServer.Cre... e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94* w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     6k4q Medium   ...dentialsDelegation.TryExecuteImpersonated(ExecuteImpersonatedMethod method)     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId), sessionId=1.V21.3PVST1VA2u+0eWTaKFNhz90.5.en-US5.en-US73.+0300#0000-11-00-01T02:00:00:0000#+0000#0000-03-00-02T02:00:00:0000#-006036.63136751-2e6f-48c0-843d-9412d83e54a81.N, connectionString=Provider=MSOLAP.4;Persist Security Info=True;Initial Catalog=Microsoft_SQLServer_AnalysisServices;Data Source=$Embedded$;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Optimize Response=3;Cell Error Mode=TextValue pool count=0 e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     eq3m High     ConnectionManager.GetConnection: Caught an exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass1.<CreateConnection>b__0()     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod method, Boolean dispose)     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean dispose)     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDelegation.Try... e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94* w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     eq3m High     ...ExecuteImpersonated(ExecuteImpersonatedMethod method)     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionInfo connectionInfo, ConnectionKey connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRequest, Ex... e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94* w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     eq3m High     ...tendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection) e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     External Data                 2051 Information Refresh failed for 'PowerPivot Data' in the workbook 'http://comp07-web02/Executive Dashboard/Acquisitions View.xlsx'. [Session: 1.V21.3PVST1VA2u+0eWTaKFNhz90.5.en-US5.en-US73.+0300#0000-11-00-01T02:00:00:0000#+0000#0000-03-00-02T02:00:00:0000#-006036.63136751-2e6f-48c0-843d-9412d83e54a81.N User: 0#.w|ca-met\mhornfeck] e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     3sls Medium   ExternalSource.ValidateConnection: Unable to get a connection: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionException' was thrown.     at Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInterop.InitConnection()     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.<>c__DisplayClass1.<CreateConnection>b__0()     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(WindowsIdentity wi, ExecuteImpersonatedMethod method, Boolean dispose)     at Microsoft.Office.Excel.Server.Credentials.TryExecuteImpersonated(ExecuteImpersonatedMethod method, Boolean dispose)     at Microsoft.Office.Excel.Server.CalculationServer.CredentialsDeleg... e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94* w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     3sls Medium   ...ation.TryExecuteImpersonated(ExecuteImpersonatedMethod method)     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnection(Credentials credentials, ConnectionInfo connectionInfo, Int32 keyLcid, Uri workbookUrl, Boolean auditConnection, SessionId sessionId)     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.CreateConnectionAndAddToList(ConnectionRequest connectionRequest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Boolean auditConnection, Int32 keyLcid, ConnectionInfo connectionInfo, ConnectionKey connectionKey, AutoReaderWriterLock autoPoolLock, Connection& connection, ConnectionList& connectionList)     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionManager.GetConnection(ConnectionRequest connectionRe... e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94* w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     3sls Medium   ...quest, ExtendedConnectionInfo extendedConnInfo, Credentials credentials, Int64 privateConnectionId, Boolean auditConnection)     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.TryGetValidatedConnection(Request request, Credentials credentials, ExtendedConnectionInfo extendedConnectionInfo, Boolean shouldReportFailure, Boolean auditConnection, Connection& connectionOut). sessionId=1.V21.3PVST1VA2u+0eWTaKFNhz90.5.en-US5.en-US73.+0300#0000-11-00-01T02:00:00:0000#+0000#0000-03-00-02T02:00:00:0000#-006036.63136751-2e6f-48c0-843d-9412d83e54a81.N, externalSource=PowerPivot Data e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     482l Medium   ConnectionInfoManager.InitConnInfoFromOdcFile: ODC File Uri is not valid: e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     8xk9 Medium   ExternalSource.ExecuteOperation: We exhausted all available connection information. Exception: Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException: Exception of type 'Microsoft.Office.Excel.Server.CalculationServer.Interop.ConnectionInfoException' was thrown.     at Microsoft.Office.Excel.Server.CalculationServer.ConnectionInfoManager.GetConnectionInfo(Request request, String externalSourceName, Int32 externalSourceIndex, Boolean& shouldReportFailure)     at Microsoft.Office.Excel.Server.CalculationServer.ExternalSource.ExecuteOperation(Request request, ExternalSourceStateInfo externalSourceStateInfo, ExternalSourceStateInfo prevExternalSourceStateInfo, Int32 index, ConnectionInfoManager connectionInfoManager, ExternalDataScenario scenario, DataOperation dataOpe... e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94* w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     8xk9 Medium   ...ration, Boolean verifyPreOperationConnection), Data Connection Name: PowerPivot Data, SessionId: 1.V21.3PVST1VA2u+0eWTaKFNhz90.5.en-US5.en-US73.+0300#0000-11-00-01T02:00:00:0000#+0000#0000-03-00-02T02:00:00:0000#-006036.63136751-2e6f-48c0-843d-9412d83e54a81.N, UserId: 0#.w|ca-met\mhornfeck e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x18D4 Excel Services Application     Excel Calculation Services     eq3r Medium   ConnectionRequest.ConnectionRequest: New connection request. SessionId=1.V21.3PVST1VA2u+0eWTaKFNhz90.5.en-US5.en-US73.+0300#0000-11-00-01T02:00:00:0000#+0000#0000-03-00-02T02:00:00:0000#-006036.63136751-2e6f-48c0-843d-9412d83e54a81.N, WorkbookVersion=ConnectionInfo.WorkbookVersion: Uri=http://comp07-web02/Executive Dashboard/Acquisitions View.xlsx, Version=Friday, 28 October 2011 00:02:01 e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x2524 SharePoint Server             Logging Correlation Data       xmnv Medium   Name=Job: CreateUserWorkbook e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x2524 SharePoint Server             Logging Correlation Data       xmnv Medium   Document=http://comp07-web02/Executive%20Dashboard/Acquisitions%20View.xlsx e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     4n14 Medium   UserWorkbook.CreateWorkbookJob: Starting to create a UserWorkbook for BaseWorkbook http://comp07-web02/Executive%20Dashboard/Acquisitions%20View.xlsx e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     aizn Medium   UserWorkbook.CreateFromPreviousWorkbookAsync: previous workbook is available, no re-loading was needed e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.94 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     f1va Medium   CWorkbookWrapper::CWorkbookWrapper: Created with ID=4 e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.95 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     aysl Medium   Succeeded to initialize a chart. e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.95 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     aysl Medium   Succeeded to initialize a chart. e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     aysl Medium   Succeeded to initialize a chart. e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     4n15 Medium   UserWorkbook.CreateWorkbookJobCallback: Successfully created a UserWorkbook for BaseWorkbook http://comp07-web02/Executive%20Dashboard/Acquisitions%20View.xlsx e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x2524 SharePoint Server             Logging Correlation Data       xmnv Medium   Document=http://comp07-web02/Executive%20Dashboard/Acquisitions%20View.xlsx e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x2524 SharePoint Server             Logging Correlation Data       xmnv Medium   Result=Success e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     eci4 Medium   ExcelService.PostProcessRequest: finished request of type OpenWorkbook e5c777e5-856c-4665-8b73-10d068e66de6

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x2524 Excel Services Application     Excel Calculation Services     d64g Medium   UserOperation.Dispose: Disposing Microsoft.Office.Excel.Server.CalculationServer.Operations.OpenWorkbookOperation, WebMethod: OpenWorkbook. 00000023-db4a-6db3-0000-000050f7b00b

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x23B0 SharePoint Server             Logging Correlation Data       xmnv Medium   Result=Success be5d7c52-9acd-45c0-9014-e554d7601396

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x1CF4 SharePoint Foundation         Topology                       e5mb Medium   WcfReceiveRequest: LocalAddress: 'http://comp07-web02.ca-met.my-etrust.com:32843/bbae8c6f534a4df0a259ada53d5618b1/ExcelService.asmx' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/OpenWorkbook' MessageId: 'urn:uuid:206430d4-a32e-432f-901c-3149b944159d' be5d7c52-9acd-45c0-9014-e554d7601396

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x1CF4 SharePoint Foundation         Monitoring                     nasq Medium   Entering monitored scope (ExecuteWcfServerOperation) be5d7c52-9acd-45c0-9014-e554d7601396

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x1CF4 Excel Services Application     Excel Calculation Services     ecc3 Medium   ExcelServiceBase.EndProcessOperation: Called. UserOperation was finished synchronously: False be5d7c52-9acd-45c0-9014-e554d7601396

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x1CF4 Excel Services Application     Excel Calculation Services     d64g Medium   UserOperation.Dispose: Disposing Microsoft.Office.Excel.Server.CalculationServer.Operations.JoiningUserOperation, WebMethod: OpenWorkbook. be5d7c52-9acd-45c0-9014-e554d7601396

    10/28/2011 12:18:24.97 w3wp.exe (0x13D0)                       0x1CF4 SharePoint Foundation         Monitoring                     b4ly Medium   Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.412325627748659 be5d7c52-9acd-45c0-9014-e554d7601396

    10/28/2011 12:18:24.97 w3wp.exe (0x25EC)                       0x05A8 SharePoint Foundation         Monitoring                     b4ly High     Leaving Monitored Scope (ExecuteWcfOperation:http://schemas.microsoft.com/office/Excel/Server/WebServices/ExcelServerInternalService/ExcelServiceSoap/OpenWorkbook). Execution Time=713.91829964439 be5d7c52-9acd-45c0-9014-e554d7601396

    10/28/2011 12:18:24.97 w3wp.exe (0x25EC)                       0x05A8 Excel Services Application     Web Front End                 abvg Medium   ServerSession.ExecuteWebMethodCore: request of type OpenWorkbook succeeded, from server=http://COMP07-WEB02:32843/bbae8c6f534a4df0a259ada53d5618b1/ExcelService*.asmx, session=1.V21.3PVST1VA2u+0eWTaKFNhz90.5.en-US5.en-US73.+0300#0000-11-00-01T02:00:00:0000#+0000#0000-03-00-02T02:00:00:0000#-006036.63136751-2e6f-48c0-843d-9412d83e54a81.N, new state id=1, health score=0, error delta=0 be5d7c52-9acd-45c0-9014-e554d7601396

All Replies

  • Friday, October 28, 2011 9:26 PM
     
     Answered
    Couldn't figure out the issue. We deleted the Site Collection entirely and recreated everything from scratch. It seems to be working fine now.