﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Unable to communicate with server - exporting from webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-communicate-with-server---exporting-from-webgrid/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Unable to communicate with server - exporting from webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-communicate-with-server---exporting-from-webgrid/</link><pubDate>Tue, 05 Nov 2013 23:02:26 GMT</pubDate><dc:creator>yudi</dc:creator><category>Unable to communicate with server webgrid</category><description>&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thank you for your post suggesting possible solution regarding exporting problem which happen when deploying your project to Amazon virtual server. If you don’t mind, we’d love to hear the result after raising the timeout.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Look forward to hearing back from you.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: rgb(31, 73, 125);"&gt;Thanks again for your message. Your ideas and suggestions are always welcome.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Unable to communicate with server - exporting from webgrid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Unable-to-communicate-with-server---exporting-from-webgrid/</link><pubDate>Thu, 31 Oct 2013 18:44:40 GMT</pubDate><dc:creator>larsknox</dc:creator><category>Unable to communicate with server webgrid</category><description>I wanted to share a possible solution for anyone encountering this error. Unfortunately, this very general error message could mean many different issues. I'd like to share mine so the next person doesn't have to agonize over this.
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;We've been using the webgrid for many years. Recently we've moved our application from physical hardware to Amazon virtual servers and we are using an Elastic Load Balancer.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;The symptom we kept seeing when trying to Export (a LOT of data) from our webgrid was we would wait for 60 seconds and then see the "Unable to communicate with server" error message. Debugging all of the obfuscated Intersoft javascript was a nightmare. We ultimately resorted to using Fiddler2 (highly recommended tool) and discovered the WebGrid was receiving an HTTP/504 error at the end of the 60 seconds. We also determined that the IIS server would still continue to build the export on the backend even after the browser received the HTTP/504. We discovered this after setting e.ReportInfo.CacheToDisk = true and e.ReportInfo.CacheToDiskLocation = 'c:\some\file\location' in the WebGrid_Export method in our ASPX code behind.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;One definition for an HTTP/504 is "&lt;span style="font-family: arial, sans-serif; font-size: 9pt;"&gt;A server (not
necessarily a Web server) is acting as a gateway or proxy to fulfill the
request by the client (e.g. your Web browser) to
access the requested URL. This server did not receive a timely response from an
upstream server it accessed to deal with your HTTP request."&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="font-family: arial, sans-serif; font-size: 9pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;Then we found this forum post which indicates that Amazon Elastic Load Balancers have a 60 second timeout: &lt;a href="https://forums.aws.amazon.com/thread.jspa?messageID=491594#491594" style="font-family: calibri, sans-serif; font-size: 11pt;"&gt;https://forums.aws.amazon.com/thread.jspa?messageID=491594#491594&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;The problem is, there is no way to observe or change the 60 second timeout on the ELB from the AWS console or API. You MUST file a support ticket with Amazon (which might require a support CONTRACT) in order to raise the timeout up to a maximum of 17 minutes.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Once our support request was completed, another retest and all of our WebGrid exporting began to work beyond the 60 second ELB timeout.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;Hope this helps someone else.&lt;/div&gt;
&lt;div&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;L&lt;/div&gt;
&lt;p style="vertical-align: top;"&gt;&lt;span lang="undefined" style="font-size: 9pt; font-family: arial, sans-serif;"&gt;&lt;o:p /&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>