.NET 4.5.2 forces enable view state mac


Hey they weren’t kidding!

Thanks @samrueby. This is probably a good time for me to reimplement EWF’s page storage to use our own hidden fields instead of view state. We need to do this anyway in order to completely separate from Web Forms.

Here’s a reminder of what we’re storing in view state:

By the way, if you click that link, please upvote my answer if you haven’t already. It deserves to be ahead of Levi’s since he has no domain knowledge of EWF. And @samrueby, please accept my answer, which I think you forgot to do.

1 Like

No problem!

Uped and Answered.

Does this mean EWL can’t run on 4.5.2?

All versions of the ASP.NET runtime 1.1 - 4.5.2 now forbid setting
<%@ Page EnableViewStateMac=“false” %> and .


So all EWL apps are a Windows Update away from being broken?

That’s exactly what it sounds like. Looks like we can download the patch early and test what will happen.

I just confirmed this is very very bad. I forgot about this before randomly deciding to update the servers tonight. I can’t even log into an EWL system. I had to restore an image of the live server I made before updating.

The latest version of canonical EWL includes a fix for this problem.

1 Like