Note that there are some explanatory texts on larger screens.

plurals
  1. POScalabilty issues with Restful WCF
    text
    copied!<p>Hi I have built a simple WCF application I am using to query data back and forth from Mobile app. Everything else works Fine But When I try to Upload large binary video upload it gives me weird error, I am successfully able to upload binary streams upto 3-4 MB but larger than that I get one of the following error randomly</p> <p>1.</p> <pre><code>&lt;html&gt; &lt;BODY&gt; &lt;FONT face="Helvetica"&gt; &lt;big&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/big&gt;&lt;BR&gt; &lt;/FONT&gt; &lt;blockquote&gt; &lt;TABLE border=0 cellPadding=1 width="80%"&gt; &lt;TR&gt;&lt;TD&gt; &lt;FONT face="Helvetica"&gt; &lt;big&gt;Network Error (tcp_error)&lt;/big&gt; &lt;BR&gt; &lt;BR&gt; &lt;/FONT&gt; &lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt;&lt;TD&gt; &lt;FONT face="Helvetica"&gt; A communication error occurred: "" &lt;/FONT&gt; &lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt;&lt;TD&gt; &lt;FONT face="Helvetica"&gt; The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time. &lt;/FONT&gt; &lt;/TD&gt;&lt;/TR&gt; &lt;TR&gt;&lt;TD&gt; &lt;FONT face="Helvetica" SIZE=2&gt; &lt;BR&gt; For assistance, contact your network support team. &lt;/FONT&gt; &lt;/TD&gt;&lt;/TR&gt; &lt;/TABLE&gt; &lt;/blockquote&gt; &lt;/FONT&gt; &lt;/BODY&gt; &lt;/html&gt; </code></pre> <p>2.</p> <pre><code>&lt;html&gt; &lt;body&gt; &lt;div id="header"&gt;&lt;h1&gt;Server Error&lt;/h1&gt;&lt;/div&gt; &lt;div id="content"&gt; &lt;div class="content-container"&gt;&lt;fieldset&gt; &lt;h2&gt;404 - File or directory not found.&lt;/h2&gt; &lt;h3&gt;The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.&lt;/h3&gt; &lt;/fieldset&gt;&lt;/div&gt; &lt;/div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Here is my Web.Config</p> <pre><code>&lt;?xml version="1.0"?&gt; &lt;configuration&gt; &lt;system.webServer&gt; &lt;security&gt; &lt;requestFiltering&gt; &lt;requestLimits maxAllowedContentLength="2147483648" /&gt; &lt;/requestFiltering&gt; &lt;/security&gt; &lt;/system.webServer&gt; &lt;system.web&gt; &lt;compilation debug="true" targetFramework="4.0" /&gt; &lt;/system.web&gt; &lt;system.serviceModel&gt; &lt;serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/&gt; &lt;bindings&gt; &lt;webHttpBinding&gt; &lt;binding transferMode="Streamed" maxBufferSize="5242880" maxReceivedMessageSize="2147483647" openTimeout="05:25:00" closeTimeout="00:25:00" sendTimeout="00:25:00" receiveTimeout="0:25:00" name="webBinding" /&gt; &lt;/webHttpBinding&gt; &lt;/bindings&gt; &lt;services&gt; &lt;service behaviorConfiguration="RestBehavior" name="EyePlots.Videos"&gt; &lt;endpoint address="" behaviorConfiguration="web" binding="webHttpBinding" bindingConfiguration="webBinding" contract="EyePlots.IVideos" /&gt; &lt;/service&gt; &lt;/services&gt; &lt;behaviors&gt; &lt;endpointBehaviors&gt; &lt;behavior name="web"&gt; &lt;webHttp /&gt; &lt;/behavior&gt; &lt;/endpointBehaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior name="RestBehavior"&gt; &lt;serviceMetadata httpGetEnabled="true" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="true" /&gt; &lt;serviceThrottling maxConcurrentCalls="100" maxConcurrentInstances="100" maxConcurrentSessions="100" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;/system.serviceModel&gt; &lt;/configuration&gt; </code></pre> <p>Could it be issue with the scalability of the system? I can post my code snippets if you guys want? Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload