Set which .NET Framework version to use

  • Thread starter Steve C. Orr [MVP, MCSD]
  • Start date

Ad

Advertisements

H

Henke

Hi and thanks for your answer!

Hi followed the instructions on the microsoft web page. When I run my app I
get an exception:

The View State is invalid for this page and might be corrupted.
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: The View State is invalid for
this page and might be corrupted.

Any ideas?

/Henke
 
C

Cowboy \(Gregory A. Beamer\)

There are a variety of reasons for this behavior.

Possibilities
http://support.microsoft.com/default.aspx?scid=kb;en-us;316920 -
server.transfer
http://support.microsoft.com/default.aspx?scid=kb;en-us;323744 - web farm,
page mods
http://support.microsoft.com/default.aspx?scid=kb;en-us;324488 - heavy load
http://support.microsoft.com/default.aspx?scid=kb;en-us;812399 - long
decimals
http://support.microsoft.com/default.aspx?scid=kb;en-us;831150 - not enough
info
to troubleshoot
and 1.0 version: http://support.microsoft.com/default.aspx?kbid=832183

In addition, the EnableViewState and/or EnableViewStateMac setting might be
incorrect for the page. If you are pulling values across pages, it becomes
even more critical. If you set your own machine keys, you could have a
decrypt key that does not match the encrypt. And the list goes on.

Try the settings first, as it is the easiest. Then, adjust the config file
keys, if necessary. Beyond that, you can run through a lot of reading
(above).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
C

Cowboy \(Gregory A. Beamer\)

Easiest method (sans a tool) is aspnet_regiis:
http://msdn.microsoft.com/library/en-us/dnhcvs03/html/vs03f6.asp

Instructions in the article about setting a different Framework version for
a particular project.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

**********************************************************************
Think Outside the Box!
**********************************************************************
 
Ad

Advertisements

H

Henke

I have two versions of .NET Framework installet 1.0.3705 and 1.1.4322
Is it possible to set which one of the two my web application should use?

Thanks!
/Henke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top