Moving to Windows 7

I’ve just had my development machine rebuilt making the move from Windows XP to Windows 7. Here are some of the problems I’ve faced and solved trying to re-open a ASP.NET 3.5 web application.

Missing IIS Components

A list of missing IIS components

There are three:

  1. IIS 6 Metabase and IIS 6 Configuration Compatibility
  2. ASP.NET
  3. Windows Authentication

And they’re solved by selecting “Turn Windows features on or off” from Control Panel > Programs and enabling the following options (highlighted in yellow):

Options that need enabling

Web.config errors

Now attempting to run to the application I got “The requested page cannot be accessed because the related configuration data for the page is invalid. There is a duplicate ‘system.web.extensions/scripting/scriptResourceHandler’ section defined.”

The problem here is that the virtual directory is set to run in a .NET 4 application pool, this one is easy to fix. Select the virtual directory, in the Actions pane on the right-hand side select Basic Settings. Now click the Select button alongside Application pool and select the Classic .Net AppPool.

Advertisements

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