Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Setting Application Mappings on IIS Programatically (Bat or VBS)?

Status
Not open for further replies.

Tokhra

Programmer
Oct 1, 2003
134
ES
Hey all,

On a daily basis I have to open IIS, right click the website, go to properties, click the home tab, click the configuration button, then remove a mapping of .* to the asp.net isapi - perform my task - then add it again.

The reason for this is that I have written a url rewriter in asp.net, and that all works fine. The only downside is that I have to turn off the mapping to open Visual Studio .NET so I can work on the website (obviously when it goes live this will be less of a problem).

But for now, would there be a way to write 2 scripts, to add and remove the mapping? preferably either .bat or .vbs?

That would save a great deal of time,

Thanks
Matt.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top