472,803 Members | 1,001 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

vs.net 2003 not creating directories

I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the virtual directory on my pc the directory does not exist. If i create the folder from explorer then select hide/show files within vs.net I see the directory I just created. When I include that directory in my project by right clicking and selecting "include" vs.net brings a number of sub directories from another project that I have on my pc
I closed the solution and looked at the vbproj file. It contained the followin
<Folder RelPath = "Secure\Administration\" /><Folder RelPath = "Secure\Skills\Objects\" /><Folder RelPath = "Secure\Training\Objects\" /><Folder RelPath = "Secure\UControls\ChartImages\" /

The folder i was adding was just Secure. All the sub directories are from another web site on my pc. What is going on

Jul 21 '05 #1
3 1933
Hi Dy,

What's the physical path of folder that the web application locates? When
you include a folder in the project, all its sub folders will be included
by default. Can you see the subfolders in the Solution Explorer? Is there
any relations between these two web projects, do they share any folders?

Regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: vs.net 2003 not creating directories
thread-index: AcP28YVO+znecyS3Q4uLGdh1MB6R3w==
X-Tomcat-NG: microsoft.public.dotnet.general
From: "=?Utf-8?B?ZGF2ZQ==?=" <dy@onlinelg.com>
Subject: vs.net 2003 not creating directories
Date: Thu, 19 Feb 2004 06:06:08 -0800
Lines: 6
Message-ID: <F1**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa07.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:125126
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.general

I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the
"directory already exists". If i look at the virtual directory on my pc
the directory does not exist. If i create the folder from explorer then
select hide/show files within vs.net I see the directory I just created.
When I include that directory in my project by right clicking and selecting
"include" vs.net brings a number of sub directories from another project
that I have on my pc.
I closed the solution and looked at the vbproj file. It contained the
following
<Folder RelPath = "Secure\Administration\" /><Folder
RelPath = "Secure\Skills\Objects\" /><Folder RelPath =
"Secure\Training\Objects\" /><Folder RelPath =
"Secure\UControls\ChartImages\" />

The folder i was adding was just Secure. All the sub directories are from
another web site on my pc. What is going on?


Jul 21 '05 #2
Hi Dave,

Thanks for you update. Yeap, it seems very odd. I will try to repro the
behavior and take a look into it. By the way, can you always repro the
behavior? Does this occur on other machines?

Thanks,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: vs.net 2003 not creating directories
thread-index: AcP3v5PWgCdVQr1gTv2q02azdnU+tw==
X-Tomcat-NG: microsoft.public.dotnet.general
From: "=?Utf-8?B?ZGF2ZQ==?=" <dy@onlinelg.com>
References: <F1**********************************@microsoft.co m> <A1**************@cpmsftngxa07.phx.gbl>Subject: RE: vs.net 2003 not creating directories
Date: Fri, 20 Feb 2004 06:41:08 -0800
Lines: 7
Message-ID: <88**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa07.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:125221
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.general

c:\inetput\wwwroot\appspec\appspec is the phsycial path to the project. (this is the same as the default web in iis)

I then created through explorer c:\inetput\wwwroot\appspec\appspec\secure.
I then when back to vs.net project and included this into the project.
When i did this it also added in the directories secure/skills/objects,
secure/training/objects etc.
These directories exist at c:\inetpub\wwwroot\corporatedirectory\secure ...

How or why would vs.net be looking at another physical directory on my pc?
thx dave


Jul 21 '05 #3
Hi Dave,

I tried to repro the behavior, but with no luck. Can you always repro the
behavior? If yes, can you show me the steps in detail?

Besides, I would like to know how you opened the project, by vbproj file or
sln file? I am guessing that probably the sln file contain incorrect path
to the project for some reasons. You can open the sln file by using a text
editor. Check the second line in the file. It should be similar to the
following:

Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "appspec",
"http://localhost/appspec/appspec/appspec.vbproj",
"{574D808F-B2F8-4586-8649-616CFBA62CDB}"

Does the URL in the above line point to your appspec project?

Regards,

Felix Wu
=============
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Thread-Topic: vs.net 2003 not creating directories
thread-index: AcP3v5PWgCdVQr1gTv2q02azdnU+tw==
X-Tomcat-NG: microsoft.public.dotnet.general
From: "=?Utf-8?B?ZGF2ZQ==?=" <dy@onlinelg.com>
References: <F1**********************************@microsoft.co m> <A1**************@cpmsftngxa07.phx.gbl>Subject: RE: vs.net 2003 not creating directories
Date: Fri, 20 Feb 2004 06:41:08 -0800
Lines: 7
Message-ID: <88**********************************@microsoft.co m>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa07.phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.general:125221
NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
X-Tomcat-NG: microsoft.public.dotnet.general

c:\inetput\wwwroot\appspec\appspec is the phsycial path to the project. (this is the same as the default web in iis)

I then created through explorer c:\inetput\wwwroot\appspec\appspec\secure.
I then when back to vs.net project and included this into the project.
When i did this it also added in the directories secure/skills/objects,
secure/training/objects etc.
These directories exist at c:\inetpub\wwwroot\corporatedirectory\secure ...

How or why would vs.net be looking at another physical directory on my pc?
thx dave


Jul 21 '05 #4

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

Similar topics

4
by: Stephan & Saori | last post by:
I found a "weird" problem running windows 2003 Server. Maybe it's a know problem but I just wanted to make sure everyone knows. When running explorer to find the directories on my hard disk. It's...
3
by: Chris Kilmer | last post by:
I would like to be able to customize the path structure that VS.NET 2003 creates for projects. 1. I'd like to be able to create a project without VS.NET creating a folder for that project. ...
2
by: 50295 | last post by:
Hi - I program in C++ but I'm not good with VC++ (yet). I will like to create a custom project for which a specific template or wizard does not exist. Because the program is a console...
6
by: Eran Kampf | last post by:
I am trying to dynamically create directories in my ASP.NET application (I am using Server.MapPath("/")+"test" as the folder) and I am getting a DirectoryNotFoundException saying "Could not find a...
1
by: Senthil | last post by:
Con is the file name for a reserved device name(i think it is for console). So you cannot create a file with name 'con'. choose some other name senthil >-----Original Message----- >Hi...
3
by: epigram | last post by:
I've been creating some toy ASP.NET apps in an effort to understand the technology. I've something odd with regards to project/solution creation. If you create a new asp.net application, it...
4
by: Bala | last post by:
Hi, After installing Win2K3 SP1, ASP.NET pages are not being rendered at all. I get a Access Denied error (BC31019: Unable to write to output file) OR a Page Cannot Be Displayed (PCBD) error...
2
by: Jeffrey Tate via DotNetMonster.com | last post by:
The error is: The proxy settings on this computer are not configured correctly for Web discovery. MSDN states that this is caused by: This error appears in the Add Web Reference dialog box if...
3
by: dave | last post by:
I am using vs.net 2003 on windows xp. After clicking on a project within my solution and selecting create new folder vs.net responds back with , the "directory already exists". If i look at the...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth

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.