re:
That said, I have downloaded and installed the ASP.20
Visual Web Developer kit and issued aspnet_regiis.exe -i.
From which .Net Framework directory ?
From the 1.1 .Net Framework dir, or from the 2.0 directory ?
Also, did you change your application's directory so it runs
the 2.0 ASP.NET version, or is it still running the 1.1 version ?
If the ASP.NET tab is available in the IIS Manager, change
the target .Net Framework version to the appropiate one.
If it's not available, download Denis Bauer's ASP.NET Version Switcher
and change the ASP.NET version for you app withj that :
http://www.denisbauer.com/NETTools/ASPNETVersionSwitcher.aspx
Remember that now that you're running two versions of ASP.NET that,
at least, all 1.1 apps will need to be in one AppPool and all 2.0 apps
will need to be in a different AppPool.
Hi, Juan,
Yes, I've set the PATH variable. But I am still getting that error
message.
That said, I have downloaded and installed the ASP.20 Visual Web
Developer kit and issued aspnet_regiis.exe -i.
Now, when I check out my web application, I get this error message:
******************************************
Server Error in '/' Application.
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.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
******************************************