473,405 Members | 2,167 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,405 software developers and data experts.

"The folder is no longer available" - it's got to be a VS.NET 2003 bug

When I create a Web project and then try to add the files to it (Add
Existing Item), I get
this error message

"The folder http://localhost/FinWeb is no longer availabe"

In fact the folder and the virtual directory FinWeb both exist and project
compiles just fine, but I cannot add the existing files to it.

If I create a project with a different name (FinWeb2) it works fine.

I deleted FinWeb manually, restarted IIS and VS.NET but still cannot get the
issue resolved..

Is there a way to fix it or I should live with FinWeb2?

Thanks,

-Stan
Nov 18 '05 #1
5 2513
Hi Stan,

From your description, you found that you can't add exising files into a
certain web project and recieved the following error:

"The folder http://localhost/FinWeb is no longer availabe"

if try adding a file , yes?

When does the problem occur on this web project(FinWeb) ? Have you done any
particular changes on it which may cause the problem?
Also, is it ok to add a new item ( page or source file) into the project?

Generally, the problem is likely due to the Virutal Folder in the IIS is
corrupted. Since the VS.NET will use Frontpage server extension or File
Shared to create a virutal folder in IIS, if something of those setting is
corrupted, we may get error when do file manipulating on the folder. In
addition to using a new created Folder(Project) , I think you can still try
removeing the corrupted folder from IIS (be sure to remove clearly) and
create it again, if still has problem I'm afriad we have to use a new
Virutal Dir instead.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Nov 18 '05 #2
Steven,

thanks for the reply.

I know that "something of those setting is corrupted". Yes, I tried to
removed the virtual directory from IIS completly and it did not help.

I need to know how to fix it.

-Stan


"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:cr**************@cpmsftngxa10.phx.gbl...
Hi Stan,

From your description, you found that you can't add exising files into a
certain web project and recieved the following error:

"The folder http://localhost/FinWeb is no longer availabe"

if try adding a file , yes?

When does the problem occur on this web project(FinWeb) ? Have you done any particular changes on it which may cause the problem?
Also, is it ok to add a new item ( page or source file) into the project?

Generally, the problem is likely due to the Virutal Folder in the IIS is
corrupted. Since the VS.NET will use Frontpage server extension or File
Shared to create a virutal folder in IIS, if something of those setting is
corrupted, we may get error when do file manipulating on the folder. In
addition to using a new created Folder(Project) , I think you can still try removeing the corrupted folder from IIS (be sure to remove clearly) and
create it again, if still has problem I'm afriad we have to use a new
Virutal Dir instead.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #3
Hi Stan,

Then can you open the virutal folder by IE's file-->open ( select open as
web folder) through its web url path?
Also, have you met any problem when close the project and reopen it via
vs.net?
As how to fix the folder , since it is likely due to the FrontPage Server
Extension is corrupted in this folder, it may be hard to repair. One simple
means is to rename the corrupted virtual dir and create a new one as the
name and move the original web project's items into the new one.
Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Nov 18 '05 #4

Hi Stan,

Have you got any further ideas on this issue? If there're anything else we
can help, please feel free to post here. Thanks.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #5

I had the same problem. After reading this post I began exploring the
IIS virtual directory and found the following.

By right clicking on the virtual directory and looking under "all
tasks" i found an option for "check server extentions". Selecting this
option ran a quick check which reported to me that the _vti_bin folder
was not executable. It then fixed the problem on its own and reported
that all was well. Upon re-opening my .net project I was then able to
successfully "add existing item" without receiving any errors.

Good luck, hope this works for you.

--
demon420
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

Jan 10 '06 #6

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

Similar topics

2
by: Grahammer | last post by:
I don't keep my projects here, yet this folder keeps appearing in My Documents. This folder is cluttered up enough without extra folders being dumped here for no reason. How do I stop Visual...
0
by: Gianni Mariani | last post by:
It started out as an ugly hack and it turned out to be very easy to do but I'm concerned about wether I'm not seeing somthing so I'm asking the wise ladies and gents of clc++ as to wether they turn...
21
by: strutsng | last post by:
<input type="file"> only allows the user to browse for files. How about "browse for folder" dialog? Can html/javascript do that? I couldn't find any syntax for that. If not, please advise what...
86
by: Randy Yates | last post by:
In Harbison and Steele's text (fourth edition, p.111) it is stated, The C language does not specify the range of integers that the integral types will represent, except ot say that type int may...
1
by: Daniel | last post by:
If my System.IO.StreamWriter Write method throws "The specified network name is no longer available." and I try to Dispose or Close it in the finaly clause the close or dispose method just throws...
6
by: eXseraph | last post by:
Hi, As we know,in normal asp.net application, a browser need to send a request to a server first to refresh its page. Now I need to design a asp.net application with real-time capability like the...
2
by: Tom | last post by:
I'm making a database input form that has many text boxes bound to DB fields. I've written a validatedTextBox class that inherits from textBox but validates the input data. It does this with...
0
by: =?Utf-8?B?R2VvcmdlIFNodWk=?= | last post by:
I have a folder structure such like this. A ---A1 -----a1.aspx ---A2 A1 and A2 are the subfolder of A. And under the A1 folder, it contains one aspx file named a1.aspx. I set the IIS virtual...
3
by: =?Utf-8?B?S2Fyc3RlbiBMdW5kc2dhYXJk?= | last post by:
Hi, I have made an application in C#, where I use the statement Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) to get the name of the "Program Files" folder. It works fine in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
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,...
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
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...

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.