Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7909277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T12:20:36+00:00 2026-06-03T12:20:36+00:00

I recently upgraded a .NET 2.0 app to .NET 4 and everything works great.

  • 0

I recently upgraded a .NET 2.0 app to .NET 4 and everything works great.

When I setup IIS I selected .NET 2.0 under the ASP.NET tab in IIS 6.

The app runs fine but I get these intermittent ViewState errors.

Could the IIS setup be causing the ViewState issues?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T12:20:38+00:00Added an answer on June 3, 2026 at 12:20 pm

    Probably because view state in .Net 4 uses a different algorithm than earlier

    ASP.NET uses both encryption and hashing algorithms to help secure
    data such as forms authentication cookies and view state. By default,
    ASP.NET 4 now uses the HMACSHA256 algorithm for hash operations on
    cookies and view state. Earlier versions of ASP.NET used the older
    HMACSHA1 algorithm.

    ASP.NET 4 Breaking Changes

    You need to register .Net Framework 4.0 in IIS, then run your site under Application pool for .Net 4.0

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently upgraded an ASP.NET app to .NET 3.5 and switched to the newer
I have recently upgraded my ASP.NET MVC application from beta to version 1. And
I have recently upgraded to ASP.NET AJAX application. I have two css files in
I've recently upgraded a page on our server from classic asp to asp.net The
I have recently upgraded some of my web applications to ASP.NET 3.5 by installing
we have recently upgraded an old VB6 windows app to C# .NET 4.0. I
I recently upgraded an ASP.Net 2.0 website to ASP.Net 4.0 using VS2010 upgrade option.
Just recently upgraded to Visual Studio 2010 SP1 and ASP.NET MVC3, but the only
I have an ASP.NET 1.1 website and was recently upgraded to Visual Studio 2008.
I recently 'upgraded' my app to the cedar platform on Heroku. By default, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.