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 9236065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T07:11:59+00:00 2026-06-18T07:11:59+00:00

I have a .Net Framework 4.5 Web Form application that was recently deployed to

  • 0

I have a .Net Framework 4.5 Web Form application that was recently deployed to our web server. Everything works fine on my local development environment. When run from the server, under IIS (7.5), I receive the following error on any postback:

Validation of viewstate 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.

This is a very simple application built off of the default web form template for .net framework 4.5. There is no web farm. The site is intended to run on an intranet so security isn’t a huge concern.

Two questions:
1) I’ve found several solutions, but the most likely is to add the machine key to my web.config file manually (received a key from web generation site). This doesn’t seem to fix the issue. Are there any issues with the 4.5 framework?

2) Adding the machine key via the IIS client gives me the following error: “Cannot write configuration file”. I’ve granted full permissions to the website folder and ensured that all files are not read only. What could be the cause of this issue?

Feedback is greatly appreciated! Many hours have been wasted.

  • 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-18T07:12:00+00:00Added an answer on June 18, 2026 at 7:12 am

    Turned out to be a permissions issue in the website folder. The folder resided on a SAN. A local folder works.

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

Sidebar

Related Questions

I have an asp.net web form (c#, .NET framework 3.5) that returns to itself
I have a system written in ASP.Net 2.0 Web Form. The framework that talks
I am learning Entity Framework 4. I have a simple ASP.NET (Web Form) application.
I have a asp.net web site that was developed on the .Net Framework v2
Background - Visual Studio 2010, C#, .Net Framework 4.0 application I have a web
I have in my web application an ADO.NET Entity-Framework *.edmx file. When I browse
I have a asp.net web site built with .net 2.0 framework. we recently purchased
I have the following scenario. I have created an ASP.NET web application (framework 3.5)
I have a pretty big web application that I created last year using ASP.NET
I have a .NET 4 web application that has 3 separate projects associated –

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.