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

unable to create Web project

I am unable to create Web project now. If I do a File | New Project |
ASP.NET Web Application, I always get a message like:

======
Unable to create Web project 'MyTestWeb'. The file path
'c:\inetpub\wwwroot\MyTestWeb' does not correspond to the URL
'http://localhost/MyTestWeb'. The two need to map to the same server
location.
======

But that is not right. I can open a file in my browser with, for
example, http://localhost/MyTestWeb/index.htm and it is in fact in the
directory, c:\inetpub\wwwroot\MyTestWeb. If I open IIS, I can right
click on files and have them opened in VS.NET (2003). I've tried to
look at the permissions, and I think that they are okay although I'm
not entirely sure about that. Thanks for any help.

I'm running XP Pro.

What am I doing wrong???

John
Nov 17 '05 #1
1 7758
John Baima wrote:
I am unable to create Web project now. If I do a File | New Project |
ASP.NET Web Application, I always get a message like:

======
Unable to create Web project 'MyTestWeb'. The file path
'c:\inetpub\wwwroot\MyTestWeb' does not correspond to the URL
'http://localhost/MyTestWeb'. The two need to map to the same server
location.
======


This problem really sucks and the docs are really bad. Here are the
three things I found which solved the problem for me [IIS 5.1 (XP
Pro)]:

A. IE
====

1 - Fire up IE browser
2 - go to Tools Menu
3 - Select Internet Options
4 - In the Internet Options dialog box, click the Connections tab
5 - In that tab, click on the LAN Settings button
6 - The LAN Settings dialog box will come up

Then, UNCHECK the 'Automatically Detect Settings' Checkbox.

**You must also check the "Bypass proxy server for local addresses
Checkbox!!

If you get a HTTP Error 403: Access denied, try:

B. IIS Default Web Site
================

1 - Control Panel
2 - Administrative Tools
3 - Computer Management
4 - Services And Applications
5 - Internet Information Services
6 - Default Web Site
7 - Right click -> Properties -> Home Directory
8 - Just under "Local Path", click on: Script Source Access, Read

C. IIS Needs ASP.NET
================

If you re-install ISS, you need to also re-install the ASP.NET (1.1)
extensions.

try this

C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspne t_regiis -i
Hope that this helps someone else!!

-John
Nov 17 '05 #2

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

Similar topics

0
by: Mary | last post by:
I am completely new to the Microsoft.Net. I was trying to create a local copy of a project from the SourceSafe. In the "Create local project from SourceSafe" window I selected the project from the...
5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
4
by: Brad | last post by:
Error when opening a solution with a web services project in it: "Unable to open the Web project 'myproj'. The file path 'c:\code\myservice' does not correspond to the URL...
4
by: Pawan | last post by:
Hi, I am unable to create New project in VS.Net which I installed last night. During set up, in 4th cd, there was an error saying that, "Could not register 'C......\VsWizard.dll". I continued with...
0
by: Loui Mercieca | last post by:
Hi, I have an Asp.net project and when I am trying to copy a project, using a FrontPage access method, I am receiving the following error: Unable to create Web project 'project name'. There is...
1
by: soni29 | last post by:
hi, i'm running windows 2000 and Internet Information Services 5.0, that's the version that the help file for iis shows, i'm using Visual Studio ..Net 2002 (version 7) but whenever i try to create...
2
by: TM | last post by:
When I run an ASP.Net application I am getting the following error: "Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged."...
1
by: dorenstein | last post by:
Hi, I'm running VS.Net 2003 (I also have 2002 installed) and while working out the ASP.NET Web Service Walkthrough, I get this message if I start without debugging: Error while trying to run...
10
by: Mythran | last post by:
When I try to open a web project using Microsoft Visual Studio 2003, I get the following error message (this happens on a couple of machines in-house, while on the rest it works without the error):...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.