While uploading document it is giving error like this max length exceed
how to avoid this error in mvc4.Please tell me how to do this?..
Error While Uploading big file in MVC4
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Anupam SinghRank #643 · 3.7K reputationPosted Jul 4, 2014, 4:23 AM EDT
You have to set maxrequestlength property in web.config
ex.
Sasi ReddyRank #4,458 · 342 reputationPosted Jul 4, 2014, 4:45 AM EDT
it is giving error like below
The requested page cannot be accessed because the related configuration data for the page is invalid.
Anupam SinghRank #643 · 3.7K reputationPosted Jul 4, 2014, 4:50 AM EDT
You have to check IIS settings.
Sasi ReddyRank #4,458 · 342 reputationPosted Jul 7, 2014, 9:19 PM EDT