473,837 Members | 1,439 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\www root\projectnam e'. The
error returned was:
Unable to create web project ';wwwroot$/projectname'. The file
path 'c:\inetpub\www root\projectnam e' 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 1936
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*******@farm erstel.comwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.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\www root\projectnam e'. The
error returned was:
Unable to create web project ';wwwroot$/projectname'. The file
path 'c:\inetpub\www root\projectnam e' 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
15787
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 Visual Studio Project, the SQLAddin references a compiled COM object built with Visual Studio 6.0 called SQLOld.dll. When I complie the project I get the following files in my \bin directory SQLAddin.dl SQLAddin.pd SQLAddin.tl Interop.SQLOld.dl ...
9
2312
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 server from the 1st machine, but I receive an 'HTTP/1.1 500 Internal Server error" from my Web Server. My userid/password are the same on all 3 machines.
2
9786
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 components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Development commponent." So I ran the Visual Studio .NET setup and added the Web Development component...and get the same problem. The thing is that...
2
2480
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 from web" i just get a file dialog box in "my documents" and browsing to the right project folder doesn't work.
4
1876
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 2003 on them as well as the .NET Framework 1.1 I started to use .NET on the desktop to test things out...then i setup
1
1161
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 communicate with the Web server. It still does not work. Another feature is the localhost was already used by anothe application and i use TCP port 80 for the Default Websites in IIS. Is that the reason that cant create a
0
1489
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 who care). In the documentation it says: To generate create scripts 1. In Server Explorer, right-click the database object for which you want to generate create scripts. This might be the entire database, a specific table, stored procedure,...
4
2031
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 finished successfully but since then I cannot create or open any asp.net web application. I receive the following message: "Unable to create Web project 'ProjectName'. The file path 'FilePath' does not correspond to the URL 'ProjectURL'. The...
1
2436
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 MIDL.exe makes the type library and some say TlbImp.exe creates it. I tried using MIDL but it will only generate 4 new files and none of them is a .tlb file:
4
1250
by: John Bailo | last post by:
Can I use the .NET 3.0 framework with Visual Studio 2003?
0
9682
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10874
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10623
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7806
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7000
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5668
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5848
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4040
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.