Solved

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

Posted on 2008-06-20
2
584 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 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

734 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