Data Refresh Failed in Excel Services
I prepared a SharePoint Report Center portal by using SharePoint 2007 recently, but I was unable to refresh the Excel workbook on my portal and got an error message:
Unable to retrieve external data for the following connections:
Connection_Name
The data sources may be unreachable, may not be responding, or may have denied you access. Verify that data refresh is enabled for the trusted file location and that the workbook data authentication is correctly set.
I'm sure my data connection and document library are trusted and I can view the workbook without problem. Here is my detailed situation:
-
Enable Excel services and workbook refresh functionality
-
Upload an Excel workbook to a document library
-
Add a Excel services webpart and point to the newly uploaded workbook
-
Excel workbook render correctly
-
BUT, an error occur if I click "Refresh" button on the top menu
Thanks to my friend Qifeng, he told me that it's related to security restriction and execute three commands. Finally it works:
-
stsadm -o set-ecssecurity -accessmodel delegation -ssp sspname
-
stsadm -o execadmsvcjobs
-
iisreset