piatok 24. februára 2012

Error : There was no endpoint listening... WCF

This error has occurred, when I was sending file to WCF service hosted on IIS 7, with more size than 30MB. There is a security limitation in IIS. After adding this lines in the web.config, the problem has been solved.



Code Snippet
  1. <system.webServer>
  2.        <security>
  3.          <requestFiltering>
  4.            <requestLimits maxAllowedContentLength="2147483647" />
  5.          </requestFiltering>
  6.        </security>
  7.     </system.webServer>

Žiadne komentáre:

Zverejnenie komentára