木子苏

导航

[Excel Services]连接外部数据库,刷新数据的时候遇到“Data Refresh Failed ”的解决方法

 

使用Excel Servcie连接数据库等数据源,并发布Excel文件后,可以在浏览器中打开Excel文件,并可以看到外部数据,但是点击“Refresh All Connections”(刷新所有连接)的时候,会遇到以下问题:

Data Refresh Failed

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.

遇到这个问题的时候,你可以尝试在服务器上依次运行下面三个命令:

1. stsadm -o set-ecssecurity -accessmodel delegation -ssp sspname
2. stsadm -o execadmsvcjobs
3. iisreset

posted on 2010-06-22 19:14  skind@126.com  阅读(1008)  评论(0)    收藏  举报