Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Programmatically list application mappings in IIS?

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  ASP server behind router....HELP  
Author Message
kwendex

External


Since: Oct 01, 2003
Posts: 1



(Msg. 1) Posted: Wed Oct 01, 2003 5:08 pm
Post subject: Programmatically list application mappings in IIS?
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hello,

I'm a .NET developer and a reason has come up for us to
programmatically enumerate the list of application mappings currently
used on an instance of IIS - an instance meaning "this" machine.

So, in other words, I would like to, say, return the same list of
application mappings in a string array that you find in the Mappings
tab of the Application Configuration dialog under "Web Site
Properties".

Does anyone know of such a technique? Even if there is a native API or
COM call I can make I would love to know - thanks!

Ben

 >> Stay informed about: Programmatically list application mappings in IIS? 
Back to top
Login to vote
support7

External


Since: Aug 25, 2003
Posts: 58



(Msg. 2) Posted: Thu Oct 02, 2003 12:48 am
Post subject: Re: Programmatically list application mappings in IIS? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You can use ADSI and vbscript to do this:

John Cesta

<a style='text-decoration: underline;' href="http://www.cybersmarts.net" target="_blank">http://www.cybersmarts.net</a>
-------------------------------------------
ColdFusion Hosting Includes 10 Domains
100% Browser Based Administration
---------------------------------
LogFileManager - The only IIS Logfile Management Tool
DomainReportIt PRO - Helps Convert IIS Installs
<a style='text-decoration: underline;' href="http://www.serverautomationtools.com" target="_blank">http://www.serverautomationtools.com</a>


On 1 Oct 2003 14:08:12 -0700, kwendex.TakeThisOut@yahoo.com (Ben Rush) wrote:

 >Hello,
 >
 >I'm a .NET developer and a reason has come up for us to
 >programmatically enumerate the list of application mappings currently
 >used on an instance of IIS - an instance meaning "this" machine.
 >
 >So, in other words, I would like to, say, return the same list of
 >application mappings in a string array that you find in the Mappings
 >tab of the Application Configuration dialog under "Web Site
 >Properties".
 >
 >Does anyone know of such a technique? Even if there is a native API or
 >COM call I can make I would love to know - thanks!
 >
 >Ben<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Programmatically list application mappings in IIS? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Application Mappings - Hello, I'd like to have my files with the extension ".test" be processed like files with the extension ".aspx" I'm using ASP.NET 1.1.4322. I've added the Application Mapping in the IIS configuration. However, the page is still p...

Set IIS 6.0 Execute Permission to None programmatically - The module is working and I need to add one more step to set "Execute Permission" to "None" programmatically. Any help me on what property name and value should i set here, would be appreciated - also where can i find exaustive li...

Can't set mappings on IIS 5.1 on XP - This is really silly. I want to add some application mappings. I go to the Home Directory tab and click Configure - and nothing happens. Is there a known fault or an obvious omission on my part which could be causing this?

Help with IIS 6.0 and port mappings - Hi, I have two IP addresses on my server x.x.x.98 and x.x.x.99 I want IIS to answer x.x.x.98:80 and x.x.x.99:80 and x.x.x.99:443 Then I have another program, rinetd.exe which I want to forward x.x.x.98:443 to another website The trouble is that althoug...

Trimming down App. Mappings in IIS 6.0 - I'm trying to find explanation for the application mappings which get installed with IIS 6.0 and .net framework. Which ones do we really need to keep if we are primarily using asp and aspx (.Net)? I would like to hear from the IIS admins if it's a good...
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]