?
Solved

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

Posted on 2008-06-20
2
Medium Priority
?
587 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Determining the an SCCM package name from the Package ID
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
Suggested Courses

777 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