Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

We have two servers in diferent data centers and we have a problem with a site running in IIS7 on one of these servers.

We want to compare the settings between the two, and in IIS6 I would have just exported the metadata and compaired them using a file compare tool.

How do you do this on IIS7?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

You can try msdeploy. This microsoft tool can be used to sync/compare different IIS server.

share|improve this answer

IIS7 & IIS7

Most IIS7 settings are held in the web.config files in the root folders of the web applications and virtual folders. These can be compared with any text diff tool (albeit the XML format means two equivalent files could appear very different just by re-ordering nodes).

To get the list of virtual directories, web applications and application pools you need to use the command line tool C:\Windows\system32\inetsrv\appcmd.exe. E.g.

C:\Windows\system32\inetsrv\appcmd.exe list apppool

will list all application pools.

IIS6 & IIS7

In this case things are not so simple. An export of the metabase is a completely different format.

One option might be to the use metabase export, and on IIS7 install and IIS6 metabase comparability (use web server role options to select this) and then compare the export output.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.