473,385 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Is it possible to get IIS root directory?

Hi,

is it possible to get the IIS root directory in VB.net?
And I also would like to get all directories and virtual directories in IIS.
Is that possible?

Thanks
Shelby
Nov 20 '05 #1
2 3333
Hi,

I was just looking in to this myself. You need to look at teh IIS metabase
to find this info. One other thing to note is that the Metabase is a binary
object in all versions except IIS6 (win2003 server) where it is now an XML
format.

I haven't done it yet but here are a couple of pages that look like they're
in the right direction for the binary (read tricky)- even if not in vb.net.

http://www.winnetmag.com/Article/Art...261/26261.html
http://www.winnetmag.com/Web/Article...932/26932.html

G'luck.

Stu

"Shelby" <sh****@itsupport.com.sg> wrote in message
news:O$*************@TK2MSFTNGP11.phx.gbl...
Hi,

is it possible to get the IIS root directory in VB.net?
And I also would like to get all directories and virtual directories in
IIS.
Is that possible?

Thanks
Shelby

Nov 20 '05 #2
Hi,

thanks. will look into that article and try it myself.

Shelby

"Stu Lock" <s.****@cergis.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Hi,

I was just looking in to this myself. You need to look at teh IIS metabase
to find this info. One other thing to note is that the Metabase is a binary object in all versions except IIS6 (win2003 server) where it is now an XML
format.

I haven't done it yet but here are a couple of pages that look like they're in the right direction for the binary (read tricky)- even if not in vb.net.
http://www.winnetmag.com/Article/Art...261/26261.html
http://www.winnetmag.com/Web/Article...932/26932.html

G'luck.

Stu

"Shelby" <sh****@itsupport.com.sg> wrote in message
news:O$*************@TK2MSFTNGP11.phx.gbl...
Hi,

is it possible to get the IIS root directory in VB.net?
And I also would like to get all directories and virtual directories in
IIS.
Is that possible?

Thanks
Shelby


Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ed | last post by:
Hello, I took a course in asp about 2 years ago and I was practicing with IIS 5.0. Then I put it down for a while. Now trying to get back to it. I can't run asp files from subdirectories of...
7
by: SpookyET | last post by:
/FooProject /bin (release) /doc /src (only *.cs) /temp (obj files) /test (debug) /build /Visual Studio 2003 /Visual Studio 2005
5
by: Leszek | last post by:
Hello, Could anybody explain what's a difference between a virtual directory and an application root under IIS? I'm a little bit confused. This is mu problem: Let's assume the following...
4
by: Win, Pats | last post by:
I have a snippet of HTML that I inject into a number of pages throughout my Web site at runtime. My problem is that I'm not getting the image to appear in all documents into which this snippet is...
14
by: Ray5531 | last post by:
I have a console application in my local computer which I like to use remoting in it,to instanciate an object (MyClass.dll) in a web application(its bin folder) in a completely seperated box(in the...
19
by: Steve Franks | last post by:
I am using VS.NET 2005 beta 2. When I run my project locally using the default ASP.NET Development Web Server it runs using a root address like this: http://localhost:11243/testsite/ However...
8
by: news.microsoft.com | last post by:
I have two completely distinct ASP.NET (2.0) web applications. They share no code, they have distinct web.config files, they don't even link to each other. During development, they have lived...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
1
by: Jersay Ballot | last post by:
http://www.experts-exchange.com/Web/Web_Servers/Apache/Q_21986629.html I found the link but it doesn't seem to help at all. I'd like to use 2 directories as root ones at the same time. If this is...
4
by: =?Utf-8?B?SnVhbiBEZW50?= | last post by:
Hi, I am getting the following in a VC++ EXE (using VS2005) that links several C++ DLLs and uses MFC and ATL, when I try to start it under the debugger: ------- 'Exactus.UX.Studio.v1.exe':...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.