Brent Gardner's Blog

It's all about the code.

Syndication

Tags

    No tags have been created or used yet.

Navigation

Copying a WebSite in IIS 5

IIS 6 was a heck of a product. I particularly like the ability to backup / import individual sites, and the xml based metabase. Unfortunately every once in a while I need to do the same thing in IIS 5. Like when I need to copy the metabase settings from an IIS 5 production server to a IIS 5 dev server to reproduce a bug. Doing this by hand is tedious at best, so I wrote a utility that uses ADSI to scan through the metabase of one server, and copy those entries onto another server. This may be a marginally useful thing with IIS 7 on the way, but I figured I would put it out there in case it would help anyone.

Another nice feature, it *should* work to copy in between IIS 5 & 6, and probably 7. So this might be a nice way to migrate sites to a new version of IIS.

Cheers,

Brent

Published Tuesday, June 26, 2007 3:25 PM by Brent


Attachment(s): AdsiCopy.zip

Comments

# re: Copying a WebSite in IIS 5 @ Monday, July 23, 2007 8:00 AM

Wow! Brent even though you only have a few posts so far they are all packed with GREAT information. I hope that you will keep on posting, I have found quite a lot that has been very helpful to me here!

Thanks for the work you have done here!

Dewayne Mikkelson

Dewayne.Mikkelson@Wachovia.Com

http://shadow.wordpress.com/

SilverRonin

# re: Copying a WebSite in IIS 5 @ Monday, July 23, 2007 11:38 AM

Thanks Dewayne! It's always good to hear positive feedback. There should be some more good ones coming up soon!

- Brent

Brent

Anonymous comments are disabled