473,509 Members | 3,075 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

can't create web app in visual studio

I have seen several post with people with the same problem, but nothing
fixes my problem. I have a web app on my desktop and I want to
transfer it to a laptop to travel to the customer site. I have loaded
IIS 5.1, visual studio 2003. When I try and create a project, I get
the error,
The default web access mode for this project is set to file share,
but the project folder at 'http://'hostname'/wwwroot$/projectname'
cannot be opened with the path 'C:\inetpub\wwwroot\projectname'. The
error returned was:
Unable to create web project ';wwwroot$/projectname'. The file
path 'c:\inetpub\wwwroot\projectname' does not correspond to the URL
'http://hostname/wwwroot$/crap'. The two need to map to the same
server location. HTTP Error 404: Not found.

I have tried about everything I have found. I followed this link,
http://support.microsoft.com/default...;EN-US;Q320265

It didn't work for me. I am doing everything on my one box. I have
moved this project to another box before and had problems, but not this
one. I haven't even gotten to the point of using my other project, I
am just trying to create a blank web app. I have the wwwroot as a
share with the vs developers group having full control. I have been
messing with this for 2 days now, trying different things. I am not
experienced at .NET enough that I've had to move the project around, I
have developed on my desktop which I did not have this problem.

What do I need to try? All help is greatly appreciated!

Sep 19 '06 #1
3 1921
Copy the files into the virtual directory.
Open VIsual Studio
Check Open website
Pick from IIS and choose the web
Save the solution file

You should be fine after this. Do not open the solution file unless you
either:

a) edit it to reflect an IIS web
b) put the files in the same location as they were originally and use as a
file based web

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************************************************
Think outside of the box!
*************************************************
<mo*******@farmerstel.comwrote in message
news:11*********************@b28g2000cwb.googlegro ups.com...
>I have seen several post with people with the same problem, but nothing
fixes my problem. I have a web app on my desktop and I want to
transfer it to a laptop to travel to the customer site. I have loaded
IIS 5.1, visual studio 2003. When I try and create a project, I get
the error,
The default web access mode for this project is set to file share,
but the project folder at 'http://'hostname'/wwwroot$/projectname'
cannot be opened with the path 'C:\inetpub\wwwroot\projectname'. The
error returned was:
Unable to create web project ';wwwroot$/projectname'. The file
path 'c:\inetpub\wwwroot\projectname' does not correspond to the URL
'http://hostname/wwwroot$/crap'. The two need to map to the same
server location. HTTP Error 404: Not found.

I have tried about everything I have found. I followed this link,
http://support.microsoft.com/default...;EN-US;Q320265

It didn't work for me. I am doing everything on my one box. I have
moved this project to another box before and had problems, but not this
one. I haven't even gotten to the point of using my other project, I
am just trying to create a blank web app. I have the wwwroot as a
share with the vs developers group having full control. I have been
messing with this for 2 days now, trying different things. I am not
experienced at .NET enough that I've had to move the project around, I
have developed on my desktop which I did not have this problem.

What do I need to try? All help is greatly appreciated!

Sep 19 '06 #2
Thx for the reply, but sorry, I don't fully understand what u said to
do.
I copied the vs project into the virtual directory, opened VS.
>From there, I don't see where to 'check open website'. I tried open
project from web and file from web in VS. Did't work, got this error:
Unable to open web project 'projectname', The file path
'C:\inetpub/wwwroot/projectname' does not correspond to the URL
'http://Localhost:/projectname'. The two need to map to the same
server location. HTTP error 404.
NOTE the ':' at the local host. It defaults to port 80, but I'm
actually using port 81 b/c Oracle already had 80. Where do I specify
this?

I'm not even sure this is where u wanted to 'Check Open website'. I
couldn't find that in IIS or VS anywhere, or anywhere to 'Pick from IIS
and choose the web'.
If this does work, what happens if I want to create a new web app?
What is my problem there? Thx for the help so far.

Sep 19 '06 #3
I cannot browse the directory using http://machinename. That actually
takes me to Oracle b/c oracle is on port 80. So, I put in
http://machinename:81, but it won't display anything either. What
needs to be done to view this. I'm sure they are related, but I have
tried everything that I know to do

Sep 19 '06 #4

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

Similar topics

2
15738
by: brazilnut | last post by:
Hi. Let me explain the setup. I am using Visual Studio .NET to develop a sort of add-in (COM class) for Excel called SQLAddin. It basically queries a SQL server and pulls in data. Now within my...
9
2290
by: Marc Miller | last post by:
Hi all, I have 2 dev. machines, the 1st is Win 2000 with .NET 7.0 and the 2nd is XP Pro with .NET 2003. My Web Server is Win 2000 Server with IIS 5.0. I can create a new project on my test...
2
9762
by: Jay Bienvenu | last post by:
I cannot create new Web applications in Visual Studio .NET 2003. I get this error message: "Visual Studio .NET cannot create or open the application. The likeliest problem is that required...
2
2464
by: ed d | last post by:
Hi, When I try to create a new web project, or "add existing project from web" or "open from source control" i'm prompted for a URL and type in a virtual directory. -- with "add project...
4
1858
by: jaredea | last post by:
I have the following setup: SBS 2003 Server Windows 2003 Enterprise Server (setup as an Application Server) Windows XP Pro Desktop Both the Application server and desktop have Visual Studio...
1
1145
by: xudeutsch | last post by:
Maybe no one is interested but i need the solution. This time followed the steps made by Microsoft:install IIS, .net and Visual Studi components that are required for Visual Studio to be able t...
0
1470
by: tommie.nygren | last post by:
I am using Visual Studio.NET 2003 Enterprise Architect Edition (according to my IT guy... how do I actually check what version of it I am using?) and SQL Server Developer Edition (8.00.194 for you...
4
2017
by: hellCoder | last post by:
Hi, I'm facing a nightmare here... I had Visual Studio 2003 installed and working perfectly but I decided to install Visual Studio 2005 just to begin to use it. The installation of the VS 2005...
1
2411
by: Vinz | last post by:
Hello folks, After 1 evening of trying and reading a lot of (web)pages I have not succeeded in creating a .tlb file from my msoeapi.idl file. Also I'm a bit confused because some sources say...
4
1232
by: John Bailo | last post by:
Can I use the .NET 3.0 framework with Visual Studio 2003?
0
7234
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
7136
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
7344
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,...
0
7412
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...
1
7069
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
4730
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3216
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...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
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...

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.