473,383 Members | 1,958 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,383 software developers and data experts.

create a IIS virtual directory programmatically

My question is that is posible create a IIS Virtual
Directory programmatically with visual Basic.NET??

Is posible create a Application Pool programmatically too?

Thanks
Nov 22 '05 #1
1 1932
Hi Silvia

There are several ways you could do this from VB.NET - using the IIS WMI
provider or System.DirectoryServices is probably your best bet. See:
http://msdn.microsoft.com/library/en...asp?frame=true
for more details.

HTH

James.

--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Silvia" <sa******@cspt.es> wrote in message
news:09****************************@phx.gbl...
My question is that is posible create a IIS Virtual
Directory programmatically with visual Basic.NET??

Is posible create a Application Pool programmatically too?

Thanks

Nov 22 '05 #2

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

Similar topics

2
by: Matt | last post by:
I want to write a web hosting application. But how to create a IIS virtual directory programmatically in ASP page?? please advise! Thanks!
1
by: Silvia | last post by:
My question is that is posible create a IIS Virtual Directory programmatically with visual Basic.NET?? Is posible create a Application Pool programmatically too? Thanks
0
by: Lan H. Nguyen | last post by:
I am trying to create a ftp virtual directory for every new user that registers using snippet code below and got an access denied error right on this line deRoot.RefreshCache(); I tried to have...
1
by: Danny | last post by:
Hi. I am using XCOPY-like deployment to install an ASP.NET XML Web Service. After I copy the files, I need to mark the virtual directory as an ASP.NET application. I know how to do this manually...
1
by: Matt | last post by:
I want to write a web hosting application. But how to create a IIS virtual directory programmatically in ASPX page?? please advise! Thanks!
2
by: BobAchgill | last post by:
I also asked this in the inetserver.iis.ftp forum... I would like some example VB .NET code that shows how to add a new FTP site in IIS and virtual directory with System.DirectoryServices. It...
5
by: ljlevend2 | last post by:
Is there any way to create a local server during runtime? For example, if you add an existing Web Site to a Solution from within Visual Studio (by right clicking the solution in the Solution...
8
by: JJ | last post by:
I'm confused about paths. I have a functionn that uses the mappath method, which I think requires a virtual path (is that the same as a relative path?). But this doesn't always work as the...
0
by: Crash | last post by:
..NET Framework 1.x, 2.x, 3.x... ASP.NET 5.0, 5.1, 6.0... Windows Server 2000, XP, Server 2003... I am using NAnt & the NAnt contrib library to automate virtual directory maintenance tasks on...
0
by: Brian Roisentul | last post by:
Hi All, I want to programmatically(c# fmw 2.0) create a folder under my IIS Web Site. I figured that I needed to create an entry in the IIS Metabase. So, after investigating a while and i...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: 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...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.