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

Help on seting project path

Dear all,
I am actually studying ASP.net and I have read in MS press book that by
default, project defined within VS studio 2003 environement goes under
Inetpub\wwroot folder.

What I woul like to do is place all my sample project in my own defined
place like
D:\ASP.NET\Samples \Chap1
D:\ASP.NET\Samples \Chap2
D:\ASP.NET\Samples \Chap3 ...

For that I create the folder D:\ASP.NET\Samples and then create a virtual
directory on it with Alias name Samples
Then I install web server extenstion from Default Web site ->New->Server
extension Web

Then from my VS studion envieonemnt I defined a new project as :
http://localhost/Samples/test

Then oing this it either fails to creat files or create them under wwwroot
folder similar as default option, but no file at all are created under my
folder :

D:\ASP.NET\Samples \Chap1

What I am doing wrong ?

Thanks for your help
rgards
serge
Nov 19 '05 #1
2 1298
re:
What I woul like to do is place all my sample project in
my own defined place like D:\ASP.NET\Samples \Chap1
That's quite easy to do.

Open the IIS Manager, right-click the "Default Web Site"
and select "Properties"; click on the "Home Directory" tab,
and write in : D:\ASP.NET\Samples

Now, D:\ASP.NET\Samples is your IIS Home Directory,
and you will be able to create Applications with names like
Chap1, Chap2 and Chap3 in directories under D:\ASP.NET\Samples

But, did you know that you don't need to do that ?

You *can*, even if you keep Inetpub\wwroot as your Home Directory,
create new Applications for D:\ASP.NET\Samples \Chap1,
D:\ASP.NET\Samples \Chap2 or D:\ASP.NET\Samples \Chap3
by simply creating a New Application -in the IIS Manager- and pointing
it to D:\ASP.NET\Samples \Chap1 or whatever other directory
you want to point the new application to.

The name you assign to your *virtual directory* is what determines
how you will access your physical directory, and you could name
your virtual directories "Chap1", "Chap2", or anything else you'd like.

Then, you'd simply use the "Open Website" feature of VS.NET
to create your project, or use "Create Project from existing website".


Juan T. Llibre
ASP.NET MVP
ASP.NET FAQ : http://asp.net.do/faq/
=============================

"serge calderara" <se************@discussions.microsoft.com> wrote in message
news:73**********************************@microsof t.com... Dear all,
I am actually studying ASP.net and I have read in MS press book that by
default, project defined within VS studio 2003 environement goes under
Inetpub\wwroot folder.

What I woul like to do is place all my sample project in my own defined
place like
D:\ASP.NET\Samples \Chap1
D:\ASP.NET\Samples \Chap2
D:\ASP.NET\Samples \Chap3 ...

For that I create the folder D:\ASP.NET\Samples and then create a virtual
directory on it with Alias name Samples
Then I install web server extenstion from Default Web site ->New->Server
extension Web

Then from my VS studion envieonemnt I defined a new project as :
http://localhost/Samples/test

Then oing this it either fails to creat files or create them under wwwroot
folder similar as default option, but no file at all are created under my
folder :

D:\ASP.NET\Samples \Chap1

What I am doing wrong ?

Thanks for your help
rgards
serge

Nov 19 '05 #2
Serge,

Name your site location the same as the project name.

D:\ASP.NET\Samples\Chap1

http://localhost/Samples/Chap1

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"serge calderara" <se************@discussions.microsoft.com> wrote in
message news:73**********************************@microsof t.com...
Dear all,
I am actually studying ASP.net and I have read in MS press book that by
default, project defined within VS studio 2003 environement goes under
Inetpub\wwroot folder.

What I woul like to do is place all my sample project in my own defined
place like
D:\ASP.NET\Samples \Chap1
D:\ASP.NET\Samples \Chap2
D:\ASP.NET\Samples \Chap3 ...

For that I create the folder D:\ASP.NET\Samples and then create a virtual
directory on it with Alias name Samples
Then I install web server extenstion from Default Web site ->New->Server
extension Web

Then from my VS studion envieonemnt I defined a new project as :
http://localhost/Samples/test

Then oing this it either fails to creat files or create them under wwwroot
folder similar as default option, but no file at all are created under my
folder :

D:\ASP.NET\Samples \Chap1

What I am doing wrong ?

Thanks for your help
rgards
serge

Nov 19 '05 #3

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

Similar topics

2
by: serge calderara | last post by:
Dear all, I have build a setup project for my VB.NET application, I need to know the installation path of an application in order to add file in it. How can do that inside my setup project ?...
4
by: dixie | last post by:
Help, I'm really out of my depth here (not unusual I hear you say :-). I have just installed HTML Help in an application. I told it in the Project Properties the path to the help file. I then...
6
by: Amit Desai | last post by:
Guys. I need to set the file permissions of a folder on a remote fileserver for a user I have just created using the web app I am writing. I have the users account name and SID, the name of the...
0
by: CM | last post by:
Hi there: I have a web project which can be open and run without problem. I didn't open the web application for a period and during which I didn't modified any IIS items, but now I cannot open any...
4
by: CM | last post by:
Hi there: I have a web project which can be open and run without problem. I didn't open the web application for a period and during which I didn't modified any IIS items, but now I cannot open any...
1
by: Philip Wagenaar | last post by:
How do I set the string "myPass" for ProcessStartInfo.Password? Dim instance As ProcessStartInfo instance.Password "myPass" 'This is no good because its System.Security.String instance.UserName...
1
by: Bruce Cartland | last post by:
Have got IIS webapp (virtual directory) on localhost with a csproj file in it. It does NOT use wwwroot (somewhere in the MS doco is says it's not recommended practice to use C:\Inetpub\Wwwroot and...
1
by: sunil | last post by:
Hi, I want to change the default installation folder to my own path. I did it by changing the application folder's DefaultLocation property. The installation works fine as long the path that I...
6
by: priyajohal | last post by:
#include<fstream.h> #include<process.h> #include<stdlib.h> #include<conio.h> #include<string.h> #include<dos.h> #include<ctype.h> #include<stdio.h> void setup() void help();
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
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...

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.