Quantcast
Channel: Visio General Questions and Answers for IT Professionals forum
Viewing all articles
Browse latest Browse all 2333

WCF - 413 Request Entity Too Large

$
0
0

I have an wcf service which uploads one file. the problem that i did configuration exactly as all other posts say but still keep the same result which is 413 Request Entity Too Large when file size is  more than 46 kb,

can anyone help me  which actual solution, 

I've update the solution at the below url

https://dl.dropboxusercontent.com/u/72877712/upload%20file.zip

web config sample

      <services>
        <service behaviorConfiguration="ServiceBehavior" name="Pizza.MobileService">
          <endpoint address="" behaviorConfiguration="web" binding="webHttpBinding"
            contract="Pizza.IMobileService" />
        </service>
        <service name="Pizza.HtmlPage2">
          <endpoint address="" binding="customBinding" bindingConfiguration="Pizza.HtmlPage2.customBinding0"
            contract="Pizza.HtmlPage2" />
          <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
        </service>
      </services>
      <behaviors>
        <endpointBehaviors>
          <behavior name="web">
            <webHttp />
          </behavior>
        </endpointBehaviors>
        <serviceBehaviors>
          <behavior name="ServiceBehavior">
            <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
            <serviceDebug includeExceptionDetailInFaults="false" />
          </behavior>
          <behavior name="">
            <serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
            <serviceDebug includeExceptionDetailInFaults="false" />
          </behavior>
        </serviceBehaviors>
      </behaviors>




Adel Emam


Viewing all articles
Browse latest Browse all 2333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>