It's a problem I'm sure many of you have faced in developing web applications
that how could i upload the file with large size so here is solution for this problem:
- Make change in web.config it will help you to enhance max upload size try this
Q2. Mac faild error in your web application.
- Validation of view state MAC failed.
If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Try this:
by: apexpert on 2009-12-21 at 04:55:52ID: 7088
hello,
this is a tip to enhance max upload size and general coming error on web applications like validation of viewstate MAC failed...