tags:

views:

360

answers:

1

Looked for an answer to this and didn't see it.

This is for IIS 6.0 / Windows Server 2003.

I'm working with an extremely large ASP/ASP.NET application and I'm trying to get my development environment to match my team members environment. This process is basically trial and error: get an error, go into IIS, make a change, hope the error is fixed. Ugh. I'm hoping to find a way to replicate a set of IIS directories and their configurations on one machine onto my machine.

I did find a script that will iterate through and give me a list of all virtual directories on a machine. It helped, but not a lot since I still have to go in and set up all those virtual directories (I think there are like 20 of them ballpark). The whole process is complicated by the fact that we're mixing ASP and ASP.NET applications in the same application which spans many solutions and projects. Getting the whole thing up and going seems like way too much work but I've never heard of a real solution to this.

Would Powershell be helpful here?

+1  A: 

You should export and import IIS metabase.

These might help:

Fortunately, in IIS7, ASP.NET config is integrated with IIS config so the job is done by copying Web.config.

Mehrdad Afshari