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
There are three:
- IIS 6 Metabase and IIS 6 Configuration Compatibility
- 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):
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.