KB article 303845 for VS.NET 2003

M

Mark Hilgart

I followed the instructions in this article:

http://support.microsoft.com/default.aspx?scid=kb;EN-US;303845

with Visual Studio .NET 2003 and it gave me this error message:

"Projects and solutions cannot be named '.' or '..', nor can their
names contain any of the following characters:

/ ? : & \ * " < > | # %

Please enter a valid name."

If I just pick "ASP.NET Web Application" instead of "New Project In
Existing Folder", it gives me these error messages in order:

"The file Default.aspx no longer exists in the Web project. Do you
want to remove the copy from the offline cache and lose any changes
you have made?"

"The file localhost.csproj no longer exists..."

"A more recent version of the file 'WebForm1.aspx' has been saved..."

"A more recent version of the file 'localhost.csproj' has been
saved..."

"An error occured saving the project file 'localhost.csproj'..."

Then when I try to save anything it says it "already exists in this
Web."

Anyone know a solution for developing an application in the root web
using VS.NET 2003?
 
L

Lau Lei Cheong

Have you considered developing the web pages in a subweb then copy
everything to root?

I believe this method should work and can serve as a last choice.
 
L

Lau Lei Cheong

After read through your post, I believe that someone have created a project
on the root web before.

After having some experiments done, here are another set of instructions:
1) Create a new web application in the web and save it.
2) Copy everything(including the /bin folder) to the wwwroot
3) Open the ".csproj" file by Notepad, replace all links in "References"
section from "..\..\.." to "..\.." (because the directory has been moved up
by one level)
4) Edit the ".csproj.webinfo" file by Notepad. Change the URL to
http://localhost/[your project name].csproj
5) Open the project byy double-click on the csproj file.
6) Save the solution file.

You should now be able to compile and run the ASP.NET project on the root.
 
M

Mark Hilgart

Lau Lei Cheong said:
After read through your post, I believe that someone have created a project
on the root web before.

*snip*

This worked great. I've been developing my app for two days now in
the root web with no problems. I submitted the steps to the knowledge
base, maybe they'll publish it.

-Mark
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top