While working with a user yesterday, i have noticed that users could not view Excel files in browser and getting the below mentioned error message:
Error Message:
An error has occurred.
Please contact your system administrator if this problem persists.
ULS Logs shows the following entry:
There was an error in communicating with Excel Calculation Services http://sharepoint:28963/SPAdmin/ExcelCalculationServer/ExcelService.asmx exception: The request failed with HTTP status 401: Unauthorized.
Checked the event viewer and found the following:
Event Viewer entries:
Event Type: Error
Event Source: Office SharePoint Server
Event Category: Excel Services Web Front End
Event ID: 5234
Date: 12/7/2012
Time: 2:50:06 PM
User: N/A
Computer: XXX
Description:
No Excel Calculation Services is available in the farm.[User:
SHAREPOINT\system]
Event Type: Error
Event Source: Office SharePoint Server
Event Category: Excel Services Web Front End
Event ID: 5239
Date: 12/7/2012
Time: 2:50:06 PM
User: N/A
Computer: XXX
Description:
There was an error in communicating with Excel Calculation Services
http://sharepoint:28963/SPAdmin/ExcelCalculationServer/ExcelService.asmx
exception: Unable to connect to the remote server
[Session: (null)
User: SHAREPOINT\system].
Troubleshooting Done:
5-Ran this below mentioned commands but no results:
stsadm -o setsharedwebserviceauthn -negotiate
stsadm -o execadmsvcjobs
Resolution that fix our issue:
If you get this problem the solution in my case was to by pass the proxy for local requests, this was done by editting the web.config for the relevant web app & adding:
<system.net>
<defaultProxy>
<proxy proxyaddress="http://<ProxyServer>:<port>" bypassonlocal = "true"/>
</defaultProxy>
</system.net>
------------------------------------------
what we have added in this: bypassonlocal = "true"
Issue has been resolved and excel services started working without any issues, Thank you
If you have any queries/questions regarding the above mentioned information then please let me know.
I would be more than happy to help you as well as resolves your issues, Thanks