Failed to download Excel Services chart<p align=left><font face=Arial size=2>I'm having the problems while displaying the grapfs from an Excel workbook in a Sharepoint Site as described in this KB.</font></p> <p align=left> </p> <p align=left>but this solution doesn't work unless I'm doing something wrong</p> <p align=left> </p> <p align=left><a title="http://support.microsoft.com/kb/928726" href="http://support.microsoft.com/kb/928726">http://support.microsoft.com/kb/928726</a></p> <p> </p> <p align=left>Description:</p> <p align=left>A user opens a workbook on a computer that is running Excel Services for Microsoft Office SharePoint Server 2007. The workbook contains a chart that is viewed many times. Over time, the chart is not displayed successfully. </p> <p align=left>Additionally, the user receives the following error message: </p> <p align=left> </p> <div class=errormsg><font color="#ff0000">Failed to download Excel Services chart</font></div> <div class=errormsg align=left><font color="#ff0000"></font> </div> <div class=errormsg align=left>I changed the settings in the Shared Services Administration / Edit Excel Services settings ti these settings:</div> <div class=errormsg align=left> </div> <div class=errormsg align=left> <hr> </div> <div class=errormsg align=left>File Access Method:     Process account</div> <div class=errormsg align=left>Connection Encryption: Not required</div> <div class=errormsg align=left> </div> <div class=errormsg align=left>Load Balancing:           Workbook URL</div> <div class=errormsg align=left>Retry Interval:               30</div> <div class=errormsg align=left>Max Sessions per User: 5</div> <div class=errormsg align=left> </div> <div class=errormsg align=left>Max private bytes:        -1</div> <div class=errormsg align=left>Memory Cache Treshold:      0</div> <div class=errormsg align=left>Max Unusud Object Age:      1</div> <div class=errormsg align=left> </div> <div class=errormsg align=left>Workbook cache location:     empty</div> <div class=errormsg align=left>Max Size of workbook cache:  40960</div> <div class=errormsg align=left>Caching unused files:              Caching enabled : yes</div> <div class=errormsg align=left> </div> <div class=errormsg align=left>Connection LifeTime:               1800</div> <p> <hr> <p></p> <p align=left>Hope to get some response...</p>© 2009 Microsoft Corporation. All rights reserved.Wed, 19 Aug 2009 22:03:32 Z208d649b-31a9-4d13-8ee3-3984fb92bb85http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#208d649b-31a9-4d13-8ee3-3984fb92bb85http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#208d649b-31a9-4d13-8ee3-3984fb92bb85tom.vangaeverhttp://social.msdn.microsoft.com/Profile/en-US/?user=tom.vangaeverFailed to download Excel Services chart<p align=left><font face=Arial size=2>I'm having the problems while displaying the grapfs from an Excel workbook in a Sharepoint Site as described in this KB.</font></p> <p align=left> </p> <p align=left>but this solution doesn't work unless I'm doing something wrong</p> <p align=left> </p> <p align=left><a title="http://support.microsoft.com/kb/928726" href="http://support.microsoft.com/kb/928726">http://support.microsoft.com/kb/928726</a></p> <p> </p> <p align=left>Description:</p> <p align=left>A user opens a workbook on a computer that is running Excel Services for Microsoft Office SharePoint Server 2007. The workbook contains a chart that is viewed many times. Over time, the chart is not displayed successfully. </p> <p align=left>Additionally, the user receives the following error message: </p> <p align=left> </p> <div class=errormsg><font color="#ff0000">Failed to download Excel Services chart</font></div> <div class=errormsg align=left><font color="#ff0000"></font> </div> <div class=errormsg align=left>I changed the settings in the Shared Services Administration / Edit Excel Services settings ti these settings:</div> <div class=errormsg align=left> </div> <div class=errormsg align=left> <hr> </div> <div class=errormsg align=left>File Access Method:     Process account</div> <div class=errormsg align=left>Connection Encryption: Not required</div> <div class=errormsg align=left> </div> <div class=errormsg align=left>Load Balancing:           Workbook URL</div> <div class=errormsg align=left>Retry Interval:               30</div> <div class=errormsg align=left>Max Sessions per User: 5</div> <div class=errormsg align=left> </div> <div class=errormsg align=left>Max private bytes:        -1</div> <div class=errormsg align=left>Memory Cache Treshold:      0</div> <div class=errormsg align=left>Max Unusud Object Age:      1</div> <div class=errormsg align=left> </div> <div class=errormsg align=left>Workbook cache location:     empty</div> <div class=errormsg align=left>Max Size of workbook cache:  40960</div> <div class=errormsg align=left>Caching unused files:              Caching enabled : yes</div> <div class=errormsg align=left> </div> <div class=errormsg align=left>Connection LifeTime:               1800</div> <p> <hr> <p></p> <p align=left>Hope to get some response...</p>Tue, 29 Apr 2008 09:23:24 Z2008-04-29T09:23:24Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#936b11bd-585d-4c0b-803d-00dfa21c28cdhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#936b11bd-585d-4c0b-803d-00dfa21c28cdDan Parish _MSFT_http://social.msdn.microsoft.com/Profile/en-US/?user=Dan%20Parish%20_MSFT_Failed to download Excel Services chart<p align=left><font face=Arial size=2></font> </p> <p>Is it a really big chart (one with lots of data points)?  Does a simple chart (like a pie chart of &quot;1 2&quot;) render?</p> <p align=left> </p> <p align=left>If the answers are yes and yes, you should try changing the &quot;Maximum Chart Size&quot; (something like that) Excel Services Trusted Location setting.  By default it is 1MB, so if a chart is bigger than that, it won't render.</p>Wed, 14 May 2008 05:52:36 Z2008-05-14T05:52:36Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#ee278360-91ea-4ccd-a6f0-fd3de538a793http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#ee278360-91ea-4ccd-a6f0-fd3de538a793Developer_46038http://social.msdn.microsoft.com/Profile/en-US/?user=Developer_46038Failed to download Excel Services chart<p align=left><font face=Arial size=2></font> </p> <p>Where is this setting? I am new to MOSS and excel services.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left> </p>Fri, 18 Jul 2008 21:27:06 Z2008-07-18T21:27:06Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#fbeeae05-addf-4ca0-91c6-dfa6e79d3f4fhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#fbeeae05-addf-4ca0-91c6-dfa6e79d3f4fDan Parish _MSFT_http://social.msdn.microsoft.com/Profile/en-US/?user=Dan%20Parish%20_MSFT_Failed to download Excel Services chart<ol> <li>On the server, click Start &gt; Administrative Tools &gt; SharePoint 3.0 Central Administration (or, if you know the URL to Central Admin, just navigate to that)</li> <li>Under 'Shared Services Administration' on the left, click the name of your Shared Service (&quot;SharedServices1&quot; by default)</li> <li>Under 'Excel Services Settings' click &quot;Trusted file locations&quot;</li> <li>Click on the relevant Trusted Location</li> <li>In the 'Workbook Properties' section (the third section down) there is a &quot;Maximum Chart Size&quot; setting that is &quot;1&quot; (meaning the maximum chart size is 1MB) by default.  Increase that and then click OK.</li></ol> <p>I hope that helps,<br>Dan<br></p>Wed, 24 Sep 2008 01:21:19 Z2008-09-24T01:21:19Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#049d188f-9889-4a0c-b7fe-759aac484b7fhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#049d188f-9889-4a0c-b7fe-759aac484b7fTaylor Jhttp://social.msdn.microsoft.com/Profile/en-US/?user=Taylor%20JFailed to download Excel Services chart I have a similar issue, but the KB article doesn't seem to fix it.  I've set the Chart Size, etc, to use a large amount of system resources, just in case -- Chart Size is 250; I've also set Cache Time to 0.<br><br>When I looked into the SharePoint log, I found something very interesting:  The Excel Web Service had failed on a SOAP request to the GetImage webmethod.<br><br>**********<br><br> <p>09/25/2008 10:44:27.69  w3wp.exe (0x1F94)                        0x1864 Excel Services                 Excel Services Web Front End   6k38 Medium   ExcelServerProxy.ExecuteWebMethod: sending request of type GetImage, to server=http://prod_sp:56737/SharedServices1/ExcelCalculationServer/ExcelService.asmx, session=23.175g7mvMdthLhHEBXPPkDnm90.5.en-US5.en-US73.+0360#0000-11-00-01T02:00:00:0000#+0000#0000-03-00-02T02:00:00:0000#-0060, state id=1  </p> <p>09/25/2008 10:44:27.69  w3wp.exe (0x1F94)                        0x1864 Excel Services                 Excel Services Web Front End   6k3f Medium   ExcelServerProxy.ProcessSoapException: A SOAP exception during ExecuteWebMethod has occurred for server: <a href="http://prod_sp:56737/SharedServices1/ExcelCalculationServer/ExcelService.asmx">http://prod_sp:56737/SharedServices1/ExcelCalculationServer/ExcelService.asmx</a>, method: GetImage, ex: System.Web.Services.Protocols.SoapException: Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceSoap+EcsSoapException: Your session has timed out because of inactivity.    at Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceSoap.PostProcessRequest(CommandResult result, WebMethodType webMethodType, Exception ex, Boolean endRequest, String sessionId)    at Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceSoap.ExecuteWebMethod(CommandParameter parameter, WebMethodType webMethodType, CoreWebMethod coreWebMethod)    at Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceSoap.GetImage(CommandParameter parameter, String imageId, String&amp; imageFormatType, Byte[]&amp; binaryChartImage)     at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)     at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)     at Microsoft.Office.Excel.Server.CalculationServer.Proxy.ExcelServiceSoap.GetImage(CommandParameter parameter, String imageId, String&amp; imageFormatType, Byte[]&amp; binaryChartImage)     at Microsoft.Office.Excel.Server.CalculationServer.Proxy.ExcelServerProxy.&lt;&gt;c__DisplayClass37.&lt;GetImage&gt;b__36(CommandParameter parameterDelegate, ExcelServiceSoap excelService)     at Microsoft.Office.Excel.Server.CalculationServer.Proxy.ExcelServerProxy.ExecuteWithSecurityContext(Boolean revertToSelf, CoreWebMethod coreWebMethod, ExcelServiceSoap excelService, CommandParameter parameter)     at Microsoft.Office.Excel.Server.CalculationServer.Proxy.ExcelServerProxy.ExecuteWebMethod(WebMethodType webMethodType, PreProcessWebMethod preProcessWebMethod, CoreWebMethod coreWebMethod, Boolean&amp; noServerResponse).  </p> <p>09/25/2008 10:44:27.69  w3wp.exe (0x1F94)                        0x1864 Excel Services                 Excel Services Web Front End   3skc Information There was problem processing a request on Excel Calculation Services <a href="http://prod_sp:56737/SharedServices1/ExcelCalculationServer/ExcelService.asmx">http://prod_sp:56737/SharedServices1/ExcelCalculationServer/ExcelService.asmx</a> exception: Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceSoap+EcsSoapException: Your session has timed out because of inactivity.    at Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceSoap.PostProcessRequest(CommandResult result, WebMethodType webMethodType, Exception ex, Boolean endRequest, String sessionId)    at Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceSoap.ExecuteWebMethod(CommandParameter parameter, WebMethodType webMethodType, CoreWebMethod coreWebMethod)    at Microsoft.Office.Excel.Server.CalculationServer.ExcelServiceSoap.GetImage(CommandParameter parameter, String imageId, String&amp; imageFormatType, Byte[]&amp; binaryChartImage) [Session: 23.175g7mvMdthLhHEBXPPkDnm90.5.en-US5.en-US73.+0360#0000-11-00-01T02:00:00:0000#+0000#0000-03-00-02T02:00:00:0000#-0060 User: taylor.j].  <br><br>**********<br><br>I find it very peculiar that my &quot;session has timed out because of inactivity.&quot;  This is a recurring issue and duplicated across multiple accounts.  This is all on an intranet and the page doesn't take longer than a couple of seconds -- maybe 3 seconds at most.<br><br>The error it throws at me on the actual SharePoint page on the image is that it just failed to download the chart.  But clearly, we can see the issue at the WebService level.<br><br>Any ideas?</p>Fri, 26 Sep 2008 13:07:20 Z2008-09-26T13:07:20Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#ed4f715d-8a04-4c4a-b201-79451364c962http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#ed4f715d-8a04-4c4a-b201-79451364c962JosefNhttp://social.msdn.microsoft.com/Profile/en-US/?user=JosefNFailed to download Excel Services chart I've seen this same issue.  The cause was using a Web Garden for your SSP, where ECS generates charts and images.  The session ID doesn't match correctly because one thread requests and the other generates, as I understand it.  The fix is to change your Shared Service Provider Web Application to single-threaded (WebApp Properties in IISMgr, performance tab, threads: 1)...<br><br>Hope that helps!<br><br>jn<br><a href="http://echef.chaosfarm.net">http://echef.chaosfarm.net</a>Tue, 21 Oct 2008 14:56:15 Z2008-10-21T14:56:47Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#11a78f62-6a36-4b63-8797-c0dd17c3f393http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#11a78f62-6a36-4b63-8797-c0dd17c3f393bi-kinghttp://social.msdn.microsoft.com/Profile/en-US/?user=bi-kingFailed to download Excel Services chartI have run into the same problem, however that setting is already set to 1, meaning single threaded NOT web garden. any other ideas?<br/><br/>thx<br/>-howardWed, 29 Apr 2009 14:45:07 Z2009-04-29T14:45:07Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#a8a511b2-3fed-4c65-bef4-daa616dba7d1http://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#a8a511b2-3fed-4c65-bef4-daa616dba7d1Ivan Sandershttp://social.msdn.microsoft.com/Profile/en-US/?user=Ivan%20SandersFailed to download Excel Services chartTHere area couple of issues that may be affaceting Excel Services<br/><br/>1. Is the ODC Authentication Set to None<br/>2. Are there a number of people hitting the chart at the same time?<br/>3. Does the reports library have Version Control Turned on with Draft MOde <br/>4. Are the following set to defaults.<br/>       Session Time Out<br/>       Max Request Duration<br/>       Max WorkBook Size<br/>       Short Session Timeout<br/>       Max Concurrent Data Queries per session<br/><br/>If the Excel workbook is being opened from a location that does not automatically check out drafts, there are issues when opening the WorkBook leaving it open and using EWA to render the notebook without versioning tunrned on. By default If a user has more than 5 concurrent data queries in a single session then this will stop the WorkBook from Opening9 YOu can easily reach this number)<br/><br/>Hope this helps, please respond an I will see if I can troubleshoot further.........<br/><br/><br/><br/> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">Cheers,</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-family:Calibri;font-size:small"> </span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">Ivan Sanders</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">SharePoint Architect</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><span style="color:black"><span style="font-size:small"><span style="font-family:Calibri">Dimension Solutions, Inc.</span></span></span></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://dimension-si.com/blog"><span style="font-family:Calibri;font-size:small">http://dimension-si.com/blog</span></a></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://linkedin.com/in/iasanders"><span style="font-family:Calibri;color:#0000ff;font-size:small">http://linkedin.com/in/iasanders</span></a></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://twitter.com/iasanders"><span style="font-family:Calibri;font-size:small">http://twitter.com/iasanders</span></a></p> <p class=MsoNormal style="margin:0in 0in 0pt"><a href="http://delicious.com/iasanders"><span style="font-family:Calibri;font-size:small">http://delicious.com/iasanders</span></a></p> <br/> <table border=0 cellspacing=0 cellpadding=0 width="100%"> <tbody> <tr> <td> </td> <td class=ms-authoringcontrols> <table class=ms-authoringcontrols border=0 cellspacing=0 cellpadding=0 width="100%"> <tbody> <tr> <td class=ms-authoringcontrols colspan=2><strong></strong></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <br/><hr class="sig">Ivan Sanders http://linkedin.com/in/iasanders http://dimension-si.com/blogThu, 30 Apr 2009 08:37:17 Z2009-04-30T08:37:17Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#897e96de-4471-4ca3-976a-df73dfa3696fhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#897e96de-4471-4ca3-976a-df73dfa3696fJamesLiuhttp://social.msdn.microsoft.com/Profile/en-US/?user=JamesLiuFailed to download Excel Services chartHi All,<br/> <br/>        I ran into the same issue, and found the error message from the log file.<br/>      <br/>       <span style="font-size:11pt;line-height:115%;font-family:'Calibri','sans-serif'">&quot;Chart rendering failed (hr=0x8004000a, GDIError=2, Win32Error=0x0)&quot; <br/> <br/>         But cannot find any helpful info so far.<br/>   <br/>         Basically, we have 2 WFE in the farm, one can render the Excel chart without any problem, but the other one just can't.<br/> <br/>         We didn't use Web Garden on our WFEs at all, and both WFEs can show Excel tables correctly.<br/> <br/>          It is not because of the huge chart file neither.<br/> <br/>          Any idea?<br/> <br/>          Thank you in advance.<br/> <br/> James<br/> </span>Wed, 19 Aug 2009 21:01:48 Z2009-08-19T21:02:38Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#63df513f-945a-4d3c-a107-928fb3632fbehttp://social.msdn.microsoft.com/Forums/en-US/sharepointexcel/thread/208d649b-31a9-4d13-8ee3-3984fb92bb85#63df513f-945a-4d3c-a107-928fb3632fbekleunghttp://social.msdn.microsoft.com/Profile/en-US/?user=kleungFailed to download Excel Services chartI'm having the same problem now too. 2 WFEs + 1 Excel Services server, all MOSS SP2 running on Windows 2008 64-bit. After opening a couple of pages with Excel Services charts, they start to say &quot;failed to download excel services chart&quot;, and the browser goes dead... meaning it starts returning HTTP 400 Bad Request errors no matter where you try to go.<br/><br/>I got all excited when I read JosephN's suggestion settings the SSP App Pool to single-threaded, but no dice. They already were set that way.Wed, 19 Aug 2009 22:03:32 Z2009-08-19T22:03:32Z