473,725 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I feel a bit silly asking this...

.... as I know the answer will be so simple, but here goes...

I cannot creating a new asp.net projects in VS2003 in a directory other
than the default suggested directory (i.e. http://localhost/WebApplication1 -
and renaming webapplication1 ).
I wanted to follow the guideline in Francesco Balena et.als. latest book, by
NOT creating them in this default location so that ALL of the files are kept
together, and have therefore wanted to create them under a directory
\projects off of the root folder.
When I browse to the new folder I have created, and press Open, the OK
button is greyed out.
If I try to create another folder under the one I want, I get "The folder
[foldername] isn't available. The folder may be located in an unavailable
location, protected with a password, or the filename contains a/ or a \."

This is bound to be something silly.
any ideas would be greatly appreciated.

Many thanks,
Andy
Nov 19 '05 #1
6 1654
"Andy" <An**@discussio ns.microsoft.co m> wrote
I cannot creating a new asp.net projects in VS2003 in a directory other
than the default suggested directory (i.e. http://localhost/WebApplication1 - and renaming webapplication1 ).


Andy,
If you want to create an IIS Application with a physical path other
than under wwwroot, then create the IIS Application first in IIS
(right click on the folder in Window Explorer and set Web Sharing
via properties). Then create the new Web Application via Visual
Studio .NET. Since the IIS application is already setup, Visual
Studio .NET will create the web files using the IIS application
path.

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
Nov 19 '05 #2
Carl,
Thanks for your reply.
Unfortunately I'm still getting the same.

I'll list everything that i can to show what's happenning..

1) N.B. I'm develping on a laptop, Windows 2000 AS
2) I've created a folder E:\Projects, that I want to place all projects under
3) I then create another folder E:\Projects\Aut h for the project
4) Right click the folder in windows explorer, and select properties
5) Select the web sharing tab on thr 'Auth Properties' dialog
6) Click "Share this folder"
7) At the "Edit Alias" dialog, default Access Permissions are set to Read,
Application permissions have scripts selected
8) Press OK to accept the defaults
9) Press OK to close the 'Auth Properties' dialog.
10) Select Start|Programs| Admin Tools|Internet Services Manager
11) Expand the default web site, and I can see the new virtual directory
Auth pointing to "E:\Projects\Au th"
12) Close ISM
13) Start MS Visual Studio.net 2003
14) Select new project
15) Select A new Visual C# asp.net project
16) The default project location is http://localhost/WebApplication1, and
the Name (which can't be edited is WebApplication1
17) Press the Browse button, and select "E:\Projects\Au th", and press Open
18) The OK Button isn't available
19) Press Browse again
20) Try to create a folder under "E:\Projects\Au th" such as 'Hello' and I
get...
21) The folder 'hello' isn't accessible. The folder may be located in an
unavailable location, protected with a password, or the filename contains a /
or \

(Help!)

I hope someone can spot something silly I'm doing wrong.
Many thanks
Andy

"Andy" wrote:
... as I know the answer will be so simple, but here goes...

I cannot creating a new asp.net projects in VS2003 in a directory other
than the default suggested directory (i.e. http://localhost/WebApplication1 -
and renaming webapplication1 ).
I wanted to follow the guideline in Francesco Balena et.als. latest book, by
NOT creating them in this default location so that ALL of the files are kept
together, and have therefore wanted to create them under a directory
\projects off of the root folder.
When I browse to the new folder I have created, and press Open, the OK
button is greyed out.
If I try to create another folder under the one I want, I get "The folder
[foldername] isn't available. The folder may be located in an unavailable
location, protected with a password, or the filename contains a/ or a \."

This is bound to be something silly.
any ideas would be greatly appreciated.

Many thanks,
Andy

Nov 19 '05 #3

"Andy" <An**@discussio ns.microsoft.co m> wrote in message
news:C9******** *************** ***********@mic rosoft.com...
Carl,
Thanks for your reply.
Unfortunately I'm still getting the same.

I'll list everything that i can to show what's happenning..

1) N.B. I'm develping on a laptop, Windows 2000 AS
2) I've created a folder E:\Projects, that I want to place all projects under 3) I then create another folder E:\Projects\Aut h for the project
4) Right click the folder in windows explorer, and select properties
5) Select the web sharing tab on thr 'Auth Properties' dialog
6) Click "Share this folder"
7) At the "Edit Alias" dialog, default Access Permissions are set to Read,
Application permissions have scripts selected
8) Press OK to accept the defaults
9) Press OK to close the 'Auth Properties' dialog.
10) Select Start|Programs| Admin Tools|Internet Services Manager
11) Expand the default web site, and I can see the new virtual directory
Auth pointing to "E:\Projects\Au th"
12) Close ISM
13) Start MS Visual Studio.net 2003
14) Select new project
15) Select A new Visual C# asp.net project
16) The default project location is http://localhost/WebApplication1, and
the Name (which can't be edited is WebApplication1


- From Visual Studio .NET 2003, select "File | New | Project"
- Click "C#" in left panel
- Click "ASP.NET Web Application" in right panel
- Enter the following for Location: http://localhost/Auth
(You should be able to type in the Location url)
- Click OK button

Are you saying that you can't edit the Location field?

Nov 19 '05 #4
Hi Carl,
I can edit the dialog and thats what I have been doing in the past, but what
happens there is that the solution ad user options files get stored under
\documents and settings\admini strator\my documents\visua l studio
projects\SQLAut h, which is what I'm trying to get away from.
All I want is for all of the project files to be stored in the same folder,
including these two - otherwise its a real pain when putting the source files
into our QA system. Its also the approach put forward in "Practical
guidelines and best practices for ms vb & visual c# developers" which I'm
trying to follow.

Many thanks for your help.
Andy

"Carl Prothman" wrote:

"Andy" <An**@discussio ns.microsoft.co m> wrote in message
news:C9******** *************** ***********@mic rosoft.com...
Carl,
Thanks for your reply.
Unfortunately I'm still getting the same.

I'll list everything that i can to show what's happenning..

1) N.B. I'm develping on a laptop, Windows 2000 AS
2) I've created a folder E:\Projects, that I want to place all projects

under
3) I then create another folder E:\Projects\Aut h for the project
4) Right click the folder in windows explorer, and select properties
5) Select the web sharing tab on thr 'Auth Properties' dialog
6) Click "Share this folder"
7) At the "Edit Alias" dialog, default Access Permissions are set to Read,
Application permissions have scripts selected
8) Press OK to accept the defaults
9) Press OK to close the 'Auth Properties' dialog.
10) Select Start|Programs| Admin Tools|Internet Services Manager
11) Expand the default web site, and I can see the new virtual directory
Auth pointing to "E:\Projects\Au th"
12) Close ISM
13) Start MS Visual Studio.net 2003
14) Select new project
15) Select A new Visual C# asp.net project
16) The default project location is http://localhost/WebApplication1, and
the Name (which can't be edited is WebApplication1


- From Visual Studio .NET 2003, select "File | New | Project"
- Click "C#" in left panel
- Click "ASP.NET Web Application" in right panel
- Enter the following for Location: http://localhost/Auth
(You should be able to type in the Location url)
- Click OK button

Are you saying that you can't edit the Location field?

Nov 19 '05 #5
"Andy" <An**@discussio ns.microsoft.co m> wrote
Hi Carl,
I can edit the dialog and thats what I have been doing in the past, but what happens there is that the solution ad user options files get stored under
\documents and settings\admini strator\my documents\visua l studio
projects\SQLAut h, which is what I'm trying to get away from.


The ASP.NET project files will be placed where the IIS Application's
phyical path points to. However, the Soution file gets saved (by default)
to My Documents\Visua l Studio Projects\....

If you don't want the solution file saved there, just do a Save As on the
Solution
and save the Solution file either in the same directory as your project, or
one up
directory (in a parent directory).

When I used version control, I never stored my solution file under My
Documents.
I always stored my solution file either in the same directory (if single
project), or
one directory up (if multi projects are in the solution).

HTH

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
Nov 19 '05 #6
It did help, thanks Carl.
I knew it would be a simple answer.

Many thanks.
Nov 19 '05 #7

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

Similar topics

15
1558
by: Sylvain Hellegouarch | last post by:
Hi, A bit off topic. I just wondered what was your feeling when you were coding with Python. I have beebn coding with different languages and the only that has given me the will to invent or to be creative has been Python. Python allows me not to focus on the complexity of the language itself. Of course, from time to time, I find something that is not clear to me
12
2757
by: da Vinci | last post by:
Greetings. I want to get everyone's opinion on the use of recursion. We covered it in class tonight and I want a good solid answer from people in the "know" on how well recursion is accepted in modern day applications. Should we readily use it when we can or only when absolutly forced to use it?
10
1940
by: ramata | last post by:
This is really strange for me. I have a demo.asp page, that can't pass hidden value "mr progrramer" to itself using POST method. Only "mr" is passed. I created a second asp file demo1.asp and passed "mr programmer" and whole string (include space b/w mr and programmer was passed successfully). The code for demo.asp is
10
1256
by: MLH | last post by:
A97 incorporates a new twist on the use of db-clik. If you use A97, you know what I mean. Maybe it deserves explanation... Let's say you have a macro and you open it to browse. Lets say it has an OpenQuery action in it and the query name is qryMyVeryGreatBigAndSuperLongAccessQueryName. Now suppose you want to copy that name to paste it somewhere else. Its too long and hangs off the right margin of the entry field, so hiliting it would...
15
1480
by: Jon Skeet | last post by:
I've been briefly musing on what is probably a pretty silly idea, but one which would no doubt benefit from being discussed and thoroughly shot down in flames rather than being allowed to fester in my head. Quite a lot of the time when I would logically use foreach in C#, I can't because I want to do something extra: usually either delete the current element from the backing collection or possibly change it. As it is, I have to use a...
2
1341
by: louise raisbeck | last post by:
hi, i am trying to get to a point where i can use intellisense. i have everything else sorted apart from my codebehind. Is it me or does .NET seem really biased towards vb.net? even though i have default langauge set to c# in my web.config it still creates all codebehind files as aspx.vb files. I have put this in the page directive at the top <%@ Page CodeBehind="mypage.aspx.cs" Language="c#" AutoEventWireup="false"...
8
1567
by: lawrence k | last post by:
I wrote a simple CMS for personal use. I'm thinking of using it for other clients now. It's use of the database is slow and inefficient. I'm thinking of switching to the PEAR class listed here: http://pear.php.net/package/DB What do people think of it?
10
61553
by: r035198x | last post by:
There are a lot of common C mistakes. I have put together the ones I consider to be the silliest made by C programmers. These are usually the source of the popular C programming tears and remembering the items on this page will brighten your C programming days somewhat. (1) Values returned by mathematical functions on domain errors are implementation defined. The best way of handling such domain errors is to ensure that they never arise at...
9
3455
by: acronym54 | last post by:
I recently noticed that my php code is no longer hidden when viewing the page with view-source on Explorer. What happened?
0
8872
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8747
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9392
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9246
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9162
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6694
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3211
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2150
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.