I created an Excel Report in MOSS 2007, which received data from a data connection to a MS Analysis Services Cube, stored locally on the same machine as the SharePoint Server. Everything worked fine until I tried to select an item from the PivotTable defined in the report. At that point I received the following “Data Refresh” problem.
.jpg)
Data Refresh Error
To get the Report to refresh, I first had to ensure that the Data Connection Library that I had created and referenced in my Excel Report, appeared in my “Trusted Data Connection Libraries”.
- Go to the Sharepoint Central Administration Site.
- Under the “Shared Services Administartion” link, select your Shared Services Provider link.
- Under “Excel Services Settings“, select “Trusted data connection Libraries“
- Make sure your Data Connection Library appears in the list, otherwise add the location.
Now, this didn’t solve the data refresh problem on its own. My data connection used “Windows Authentication” to connect to the SSAS Cube. When using this mode you need to be aware of the following.
Ensure Excel Services is configured to use the Delegation access model rather than the Trusted Subsystem model. You must set this configuration even if Excel Services and the back-end data source are running on the same server. To configure Excel Services to use the Delegation access model, use the Stsadm command-line tool. Type the following commands at a command prompt on the server, replacing sspname with the name of your Shared Services Provider (SSP):
stsadm -o set-ecssecurity -accessmodel delegation -ssp sspname
e.g. stsadm -o set-ecssecurity -accessmodel delegation -ssp "Shared Services"
stsadm -o execsvcadmjobs
iisreset
Like this:
Like Loading...