IIS stopped working for .NET WEBFORMS app

On my local box IIS just stopped working when the sites are mapped to IIS and not the DEV IIS Express instance.

After a bit of searching I did the following to my web.config. I have not had time to research what caused the change in my box that has broken it, but for now I need it to just work.

 

The changes…

In the appSettings I added these two sections for my old ASP.NET Web Forms application

    <add key="aspnet:UseTaskFriendlySynchronizationContext" value="false" />
    <add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s