Reputation: 30323
In web application [asp.net], when i am trying to upload a .doc file which is having 6 mb size, when i click ok button it is giving one empty tab in browser, where as when i upload small size .doc it is uploading, why it is like this, can you help me.
Upvotes: 0
Views: 63
Reputation: 3951
Check the default size allowed in IIS the maxAllowedContentLength
.
You can change this in your web.config as well. An example:
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="524288000"/>
</requestFiltering>
</security>
</system.webServer>
Upvotes: 1