473,802 Members | 1,960 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Access Error when creating a new ASP.NET project...

I know this posting may seem redundant, but I have not been able to get around this problem

I am currently using Windows 2000 Professional with Visual Studio.Net 2002 and IIS 5. I am not on a network, so my local machine is my development environment and my web server. When I try to create a new ASP.NET Web Application or even an Empty Web Project while logged into my , I receive the following error

"The default Web access mode for this project is set to file share, but the project folder
at 'http://localhost/Webproject1' cannot be opened with the path 'c:\inetpub\www root\webproject 1'
The error returned was

Unable to create Web project 'Webproject1'. The file path 'c:\inetpub\www root\webproject 1' does
not correspond to the URL 'http://localhost/Webproject1'. The two need to map to the same serve
location. HTTP Error 403: Forbidden.

Here are the things I have tried already
1. For the 'Default Web Site' in Internet Service Manager, I have
- verified the local path is set to 'c:\inetpub\www root'
- set the 'Execute Permissions' setting to 'Scripts Only'
- Checked the 'Read' and 'Write' boxes on the 'Home Directory' tab
- Checked the 'Anonymous Access' box and 'Integrated Windows Authentication' box on the
'Directory Security' tab
- Verified that the anonymous username is 'IUSR_<computer name>' and that IIS controls
the passwor
- Added a '.tmp' file type to the MIME Map on the HTTP Headers ta

2. On the WWWRoot folder on my C: drive, I have
- Verified that the folder is shared on the 'Web Sharing' tab and that the alias is '/'
- Verified that 'Administrators ' and 'VS Developers' have full control of the folde
- Verified that the 'Internet Guest Account (IUSR_<computer name>)' has Read an
Write control

One other error I notice is that when I opent the Internet Services Manager and go to 'Default Web Site\IISHelp\De fault.htm', right click on that file and choose 'Browse', I receive the following error

"ERRO
The requested URL could not be retrievedWhile trying to retrieve the URL: http://localhost/IISHelp/default.htm

The following error was encountered:

Access Denied.
Access control configuration prevents your request from being allowed at this time
Please contact your service provider if you feel this is incorrect.

If I open my browser (IE 6.0) and just type in 'http://localhost/' or 'http://localhost:80', I get the same error message. I checked my hosts file and there is an entry for 'localhost' there pointing to 127.0.0.1. I have a feeling that these two could somehow be the same problem

Any help you can give would be greatly appreciated

Jonatha
jo***@ureach.co
Nov 18 '05 #1
3 2870
Hello Jonathon,
Try setting the browser to bypass the proxy for local sites. Also, check to
make sure the default website is an application vdir.
Thank you,
John Soulis
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Nov 18 '05 #2
Thanks John. That worked!

----- John Soulis [MSFT] wrote: -----

Hello Jonathon,
Try setting the browser to bypass the proxy for local sites. Also, check to
make sure the default website is an application vdir.
Thank you,
John Soulis
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Nov 18 '05 #3
No problem. I am glad everything is working for you now.
Thank you,
John Soulis
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

Nov 18 '05 #4

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

Similar topics

6
4763
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much appreciated. Thanks in advance
35
3228
by: deko | last post by:
Do I get more scalability if I split my database? The way I calculate things now, I'll be lucky to get 100,000 records in my Access 2003 mdb. Here some math: Max mdb/mde size = 2000 x 1024 = 2,048,000k Let's say on average each record in the database consumes 15k 2,048,000/15 = 136,533 records
7
3910
by: Simon Jefferies | last post by:
Hello, I'm trying to create a new ASP. NET Web Application project, when I enter a name and press OK i get the following: Web Access Failed. The default web access mode for this project is set to file share, but the project folder at "http://..." cannot be opened with the path "C:\inetpub\...." The error returned was:
2
2075
by: Brandon | last post by:
I'm getting a Web Access Failed dialog when trying to create a new ASP.NET Web Application. VB.net 2003 on XPSP2 SBS 2003, IIS6 In IIS, I created a new site with a "testsite" host header specified to distinguish from the default site. I added a CNAME record, testsite.servername.local and made a default.htm in the home directory to test to be sure I could access the site using the new
5
2693
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/callnetfrcom.asp The Joy of Interoperability Sometimes a revolution in programming forces you to abandon all that's come before. To take an extreme example, suppose you have been writing Visual Basic applications for years now. If you're like many developers, you will have built up a substantial inventory of code in that time. And if you've been following...
0
6614
by: Herman Jones | last post by:
I'm getting the following error when I build a Class Library project: Embedding manifest... Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It happens with every the of C++ project I try to build. Not just Class Libraries, but a plain Windows Form Application as well. I've tried creating new projects with nothing but shell built by the Wizard, but I still get the error.
2
5337
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: 1>make_buildinfo.obj : error LNK2019: unresolved external symbol __imp__RegQueryValueExA@24 referenced in function _make_buildinfo2 Ask on python-list@python.org . - Josiah
2
6079
by: Andy | last post by:
Hi guys I having a problem creating a report in Access 2003 project talking to a SQL database through and ODBC connect. After hours of trying things from Access Help, MSDN and Google I still can't get it working. I have a query defined (view) and want the end user to put in a start date and end date to filter a report.
7
23888
by: preeny8 | last post by:
Hi there, I recently updated to Access 2007, and I'm getting a couple of errors that i'm not sure how to deal with. I worked with a lot of databases in Access 2003 (.mdb), and for some reason some of these databases will not open in access 2007. The errors I get say: "An error occured while loading 'Form_frm_tabstrip'. do you want to continue loading the project?" I can choose yes, no or help. On choosing yes, another message box...
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
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
10536
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...
0
10304
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10285
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,...
0
10063
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9114
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7598
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...
1
4270
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

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.