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
- <system.webServer>
- <security>
- <requestFiltering>
- <requestLimits maxAllowedContentLength="2147483647" />
- </requestFiltering>
- </security>
- </system.webServer>
Žiadne komentáre:
Zverejnenie komentára