How to duplicate a website’s settings in IIS7

asp.netiisiis-7mime-types

I'm going mad trying to get an ASP.NET application running on IIS7 (Server2008).

I have one web site set up in IIS7 which works fine. I'm trying to create another one now but I only get 404s for all .aspx files. The Handling Mappers are all different from the working site's.
Is there any way I can duplicate the working site's settings so I don't have to go through 50 mappings manually.

Or is there a better way to get the correct settings?

removed dead ImageShack links

Best Solution

IIS7's default configurations are held in c:\windows\system32\inetsrv\config\applicationHost.config

Any changes you make on a per site/application basis are stored in the web.config for that site/application.

You should be able to simply copy the files onto the second server.