Solved

IIS Handler Mappings - is there a way to automate adding a new one on installation?

Posted on 2008-06-20
2
575 Views
Last Modified: 2010-04-21
We have a web application that runs locally on customers computers/networks.   I've recently added  a way to generate forms.  In it we have 3 customer handler mappings that need to be added to IIS.   Due to the end users abilities, it is highly unlikely any of them could add these on their own.   I have looked and cannot find any reference to anyone that has successfully done this with IIS 5, 6, and 7 as possible targets.   Does anyone know a way to do this programmatically?  Is it possible?

So far in Vista with IIS7, when I've installed my application it will add the Handler Mappings *sometimes*, not all the time.  That is pulling from the web.config of my application, in the system.webServer, handlers section.   Like said though it is not consistent.   Anyone with any ideas?

Thanks
0
Comment
Question by:acco_is
2 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 500 total points
ID: 21852203
Hi,

for IIS6, use adslutil.vbs to script your web site changes (in c:\inetpub\adminscripts by default)

for IIS7, AppCmd.exe is used for the similar purpose.

Cheers.
0
 

Author Closing Comment

by:acco_is
ID: 31474014
Using adsutil.exe should work with both IIS6 and IIS7.   Finding all the syntax needed for making these adjustments will be the hard part.  Thanks, its got me headed in the right direction.  
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now