IIS Handler Mappings - is there a way to automate adding a new one on installation?
Posted on 2008-06-20
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?