Refresh problem with Excel services external data connection

Hello,

Snenario :Created a worksheet(report) in Excel 2007 and Excel Services using .ODC file.The .odc is created(SQL database) and registered in a trusted DCL in SharePoint.

The connection file is also exported to the SharePoint using Export Connection File in Connection Properties in the workbook.

"Enable Background Refresh","Refresh every n seconds" and "Refresh data when opening the file" checkboxes are checked in the usage tab while in the definition tab, "Always use connection file" is checked.

The Authentication is "Windows Authentication " for Excel services.Data is displayed in the Pivot table Report form.

The anonymous access for my application pool is enabled and set as "IUSR_WHP-SP01"(WHP_SP01 is the server name)(not set to my windows credentials)

In Allow External Data on the SharePoint, the trusted data connection libraries and embedded option is selected and the Refresh warning is disabled.

Issue :unable to refresh in the excel and the browser displays an error

Data Refresh Failed

Unable to retrieve external data for the following connections:

whp-sp01 Test Employee

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.


What do i have to do to ensure refresh of data when the excel is opened directly or from the browser?

[3068 byte] By [PriyaG] at [2008-2-15]
# 1

Priya,

The anonymous access you setup is to the sharepoint site? or shared services application? I assume the former.

Are all server components installed on the same machine? including SQL?

If you want to allows anonymous users to refresh data using windows integrated connection, then you'll need to grant the anonymous user account you use (IUSR_XXX) access to the SQL server. If the SQL server is on a seperate machine, then you'll need to create the same local account name (IUSR_XXX) with the same password, or use a domain account instead.

IraLevin at 2007-9-7 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Excel Services...
# 2

Hello

Thank you for replying.

All the server components including SQL are installed on the same machine.How do we grant the anonymous user account access to the SQL server(2005)?Can you also clarify where exactly in the IIS should i change the anonymous settings for sharepoint site, just to make sure i am doing the right thing.

PriyaG at 2007-9-7 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Excel Services...

SharePoint Products and Technologies

Site Classified