Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > can't create web app in visual studio

Reply
Thread Tools

can't create web app in visual studio

 
 
moverdear@farmerstel.com
Guest
Posts: n/a
 
      09-19-2006
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!

 
Reply With Quote
 
 
 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      09-19-2006
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!
*************************************************
<> wrote in message
news: 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!
>



 
Reply With Quote
 
 
 
 
moverdear@farmerstel.com
Guest
Posts: n/a
 
      09-19-2006
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.

 
Reply With Quote
 
moverdear@farmerstel.com
Guest
Posts: n/a
 
      09-19-2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 14 06-30-2006 09:05 AM
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 0 06-29-2006 07:05 PM
Is Visual Studio Team System and Visual Studio Foundation Server are same?. Thirumalai ASP .Net 0 05-22-2006 08:48 AM
Cannot create web app with visual studio 2003 res ASP .Net 0 03-26-2006 01:26 PM
visual studio .net 2003 verses visual studio .net 2002 wh ASP .Net 2 01-16-2004 04:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57