By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,061 Members | 1,523 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,061 IT Pros & Developers. It's quick & easy.

How to get the instance of a Website

P: n/a
I am running IIS6 on a Windows 2000 system. How can I access the properties of an instance of a website such as default documents etc. from an ASP .Net page?

Any help will be much appreciated.
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
What?
--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET cs*********@REMOVETHISTEXTmetromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Mark" <ma**@dynatechsolution.com> wrote in message
news:#e*************@tk2msftngp13.phx.gbl...
I am running IIS6 on a Windows 2000 system. How can I access the
properties of an instance of a website such as default documents etc.
from an ASP .Net page?

Any help will be much appreciated.
Nov 18 '05 #2

P: n/a
I've never tried it, but here's a hint. Look in your Inetpub\AdminScripts directory and you'll find a bunch of VBScripts that perform various IIS admin functions. You may be able to adapt some of the techniques in those scripts to do what you want from an ASP page. You'll probably have to tweak the user account that ASP.NET runs as in order for the permissions to work. And it's questionable whether you'd be able to make changes to the web configuration from an app running on the same site, but you'll certainly have fun trying.

Good luck,

-Jason
"Mark" <ma**@dynatechsolution.com> wrote in message news:%2*****************@tk2msftngp13.phx.gbl...
I am running IIS6 on a Windows 2000 system. How can I access the properties of an instance of a website such as default documents etc. from an ASP .Net page?

Any help will be much appreciated.
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.