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:
Unable to create Web project 'name'. The file path does not correspond to
the URL. The two need to map to the same server location. The connection
with the server was reset.
Any ideas why this is happening?
Thanks in advance.
Simon
--
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
- 7 3910
Hi Simon,
From your description, you encountered the following error:
=============== =============== =============== ==
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:
Unable to create Web project 'name'. The file path does not correspond to
the URL. The two need to map to the same server location. The connection
with the server was reset.
=============== =============== =============== ==
when try creating an ASP.NET web project in VS.NET ,yes?
As for this problem, I'd like to confirm some further items:
1. Are you using IIS6(on win2k3 server) or not? If so, there is a kb
article discussing on this problem: http://support.microsoft.com/?id=817264
2. If not, I've found any similiar issues which also have the symptom.
Would you have a check in the IIS manager to see whether the default site's
ip is set to unassigned and the port is the default value 80 ? the vs.net
will by default create web applicatio under the default site with url such
as Http://localhost/webapplication[n].
3. Are you creating webproject on a webaddress which is mapping to a remote
shared folder?
Please have a check on the above items. Also any further information is
helpful for us to do some further research on this. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Thanks for your reply, when try creating an ASP.NET web project in VS.NET ,yes?
As for this problem, I'd like to confirm some further items: 1. Are you using IIS6(on win2k3 server) or not? If so, there is a kb article discussing on this problem: http://support.microsoft.com/?id=817264
I am running Windows XP SP2 Preview Release. IIS 5.1 (mentioned in the about
box for IIS). 2. If not, I've found any similiar issues which also have the symptom. Would you have a check in the IIS manager to see whether the default site's ip is set to unassigned and the port is the default value 80 ? the vs.net will by default create web applicatio under the default site with url such as Http://localhost/webapplication[n].
It was originally set to 80, but I read on a KB about changing it, I have it
set to 81. But neither setting makes a difference. 3. Are you creating webproject on a webaddress which is mapping to a remote shared folder?
When I create a project, I create a standard ASP.NET web application, with
the location set to: http://localhost/WebApplication1 for example.
Thanks
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
-
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:vk******** ********@cpmsft ngxa10.phx.gbl. .. Hi Simon,
From your description, you encountered the following error: =============== =============== =============== == 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:
Unable to create Web project 'name'. The file path does not correspond to the URL. The two need to map to the same server location. The connection with the server was reset. =============== =============== =============== == when try creating an ASP.NET web project in VS.NET ,yes?
As for this problem, I'd like to confirm some further items: 1. Are you using IIS6(on win2k3 server) or not? If so, there is a kb article discussing on this problem: http://support.microsoft.com/?id=817264
2. If not, I've found any similiar issues which also have the symptom. Would you have a check in the IIS manager to see whether the default site's ip is set to unassigned and the port is the default value 80 ? the vs.net will by default create web applicatio under the default site with url such as Http://localhost/webapplication[n].
3. Are you creating webproject on a webaddress which is mapping to a remote shared folder?
Please have a check on the above items. Also any further information is helpful for us to do some further research on this. Thanks.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Simon,
Since you created the webproject locally, I think this will be helpful that
we needn't worry about the remote shared scenario which may cause security
issues.
When you set the IIS default webserver's ip as unassigned and port as 81and
create a web project, have you changed the default location
( http://localhost/WebApplication[n]) to http://localhost:81/WebApplication[n] ?
If not, the VS.NET will use the 80 default port to connect the IIS default
site.
Also, I suspect that whether your default site's HOme directory's LocalPath
(by default should be "[system disk]:\inetpub\wwwro ot) has been changed to
other location. IF so, since the VS.NET will by default mapping the default
site's localhost address to the [x]:\inetpub\wwwro ot, it'll unable to
locate it. So please check it in the IIS.
In addition, there're some former cases on this problem which is caused by
firewall security was tightened and the setting in the browser was not
checked to by pass the proxy when making a request to the local host. You
may try going to tools/options/internet connections/ and click LAN
settings in IE. Then
check bypass proxy server for local addresses.
Further more, please restarting the IIS server and then visit the default
IIS site via the http://localhost/ (if the port is 80) to see whether the
IIS is running correctly. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Thanks for your reply, When you set the IIS default webserver's ip as unassigned and port as 81and create a web project, have you changed the default location (http://localhost/WebApplication[n]) to http://localhost:81/WebApplication[n] ? If not, the VS.NET will use the 80 default port to connect the IIS default site.
I tried the http://localhost:81/webapplication[n], things have progressed.
I got an error about ASP .NET 1.1 not being installed, so I installed it by
running the asp_regiis program as mentioned in MSDN.
Also, I suspect that whether your default site's HOme directory's LocalPath (by default should be "[system disk]:\inetpub\wwwro ot) has been changed to other location. IF so, since the VS.NET will by default mapping the default site's localhost address to the [x]:\inetpub\wwwro ot, it'll unable to locate it. So please check it in the IIS.
My local path is: c:\inetpub\wwwr oot
In addition, there're some former cases on this problem which is caused by firewall security was tightened and the setting in the browser was not checked to by pass the proxy when making a request to the local host. You may try going to tools/options/internet connections/ and click LAN settings in IE. Then check bypass proxy server for local addresses.
Checked this item in the settings.
Further more, please restarting the IIS server and then visit the default IIS site via the http://localhost/ (if the port is 80) to see whether the IIS is running correctly. Thanks.
This is where the problems are. When I try to create the web project, i get
"The Web server reported the following error when attempting to create or
open the Web project located at the following URL:
'http://localhost:81/WebApplication1 '. 'HTTP/1.1 403 Access Forbidden'.
When I restarted the IIS, and visited http://localhost:81, I get "The page
cannot be displayed" with the following message: "HTTP 403.1 Forbidden:
Execute Access Forbidden Internet Information Services".
Any ideas how to solve this issue?
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
-
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:gW******** ******@cpmsftng xa06.phx.gbl... Hi Simon,
Since you created the webproject locally, I think this will be helpful that we needn't worry about the remote shared scenario which may cause security issues.
When you set the IIS default webserver's ip as unassigned and port as 81and create a web project, have you changed the default location (http://localhost/WebApplication[n]) to http://localhost:81/WebApplication[n] ? If not, the VS.NET will use the 80 default port to connect the IIS default site.
Also, I suspect that whether your default site's HOme directory's LocalPath (by default should be "[system disk]:\inetpub\wwwro ot) has been changed to other location. IF so, since the VS.NET will by default mapping the default site's localhost address to the [x]:\inetpub\wwwro ot, it'll unable to locate it. So please check it in the IIS.
In addition, there're some former cases on this problem which is caused by firewall security was tightened and the setting in the browser was not checked to by pass the proxy when making a request to the local host. You may try going to tools/options/internet connections/ and click LAN settings in IE. Then check bypass proxy server for local addresses.
Further more, please restarting the IIS server and then visit the default IIS site via the http://localhost/ (if the port is 80) to see whether the IIS is running correctly. Thanks.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Hi Simon,
Thanks for the followup. As for the new prolbem you encountered, based on
my experience, we can trythe following things first:
1. Open the Internet Information Services Management Console
2. Expand the Virtual Directory Tree on the left-hand side until we could
see the
Default Web Site
3. Right click the Default Web Site
4. Select Properties
5. Check the Read attribute on the Home Directory tab
6. Set the Execute Permission was set to Scripts only on the Home Directory
tab
Also, I are you loging on the machine with a powerful account(such as
administrator) and is the IIS website's
diretory security setting use integrated windows and with anonymous user
disabled?
If you have any further questions, please feel free to post here. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx
Thanks for your reply,
Its all sorted, my project has been created successfully! I didn't have the
execute permission set to scripts only, it was set to none.
Many Thanks for your help!
Simon Jefferies
Tools Programmer, Headfirst Productions
mailto:si****@h eadfirst.co.uk
-
"Steven Cheng[MSFT]" <v-******@online.m icrosoft.com> wrote in message
news:0I******** ******@cpmsftng xa06.phx.gbl... Hi Simon,
Thanks for the followup. As for the new prolbem you encountered, based on my experience, we can trythe following things first:
1. Open the Internet Information Services Management Console 2. Expand the Virtual Directory Tree on the left-hand side until we could see the Default Web Site 3. Right click the Default Web Site 4. Select Properties 5. Check the Read attribute on the Home Directory tab 6. Set the Execute Permission was set to Scripts only on the Home Directory tab
Also, I are you loging on the machine with a powerful account(such as administrator) and is the IIS website's diretory security setting use integrated windows and with anonymous user disabled?
If you have any further questions, please feel free to post here. Thanks.
Regards,
Steven Cheng Microsoft Online Support
Get Secure! www.microsoft.com/security (This posting is provided "AS IS", with no warranties, and confers no rights.)
Get Preview at ASP.NET whidbey http://msdn.microsoft.com/asp.net/whidbey/default.aspx This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gustavo L. Fabro |
last post by:
Greetings!
I'm testing VS 2005 Beta 2, and I've compiled a program that
runs just fine on my computer (where VS is installed).
I've tried to run this same program on another computer
(after having installed MS .NET Framework 2.0 Beta 2 on it,
from
http://www.microsoft.com/downloads/details.aspx?FamilyId=7ABD8C8F-287E-4C7E-9A4A-A4ECFF40FC8E&displaylang=en),
but got the following message:
|
by: Erez Shor |
last post by:
Hi,
I need to build and asp page which access a remote windows server's
registry and create a registry key.
In order for the ASP page to be able to access the registry on the
remote server I need it to run using credentials supplied by the user.
When using basic authentication this is not an issue since the user
has to provide a user name and password.
But I don't want to use basic authentication so I created a login form
and I am using...
|
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:
|
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:
|
by: Edward Mitchell |
last post by:
I have a problem that involves the error I receive when attempting to
complete the asp.net web application example (Walkthrough: Creating a Web
Application Using a Third-Party Business Object). When I first create the
SQL connection in VS.NET 2003, I test the connection and everything works
fine. However, when I attempt to run the first stage of the app (the bound
datagrid), I receive an error stating:
login failed for user...
| |
by: casper |
last post by:
Hi,
I created an asp.net 2.0 website with VWD and made it an application in IIS.
It was created on a ntfs disc (my documents...). The directory permissions
are set on 'anonymous allowed' using IUSR_MYSERVER, which has read/list
permissions to the apllication directory.
When i start it from the browser, i get this error:
Server Application Unavailable
|
by: =?Utf-8?B?RGF2ZQ==?= |
last post by:
I have set up a virtual directory using IIS. Whenever, I load a web page of
type .htm, I have no problem. Whenever I run a .aspx page I get the statement
below. I am running on XP Pro, both Microsoft .Net 1.1 & 2.0 installed. How
do I remedy this error?
//Error below
Server Application Unavailable
The web application you are attempting to access on this web server is
|
by: Dinsdale |
last post by:
I am writing a small console application that runs fine unless I am re-
directing the output to a file (i.e. c:\ app.exe >>output.txt) . I
have determined that the issue is caused by the Console.Clear()
function. When piping to a file, the console.clear causes the
following error:
Unhandled Exception: System.IO.IOException: The handle is invalid.
at System.IO.IO__Error.WinIOError(Int32 errorCode, String
maybeFullPath)
|
by: Aegixx |
last post by:
Ok, extremely wierd situation here:
(I'll post the code below, after the explanation)
I've got a Windows application (.NET 3.5) that has a single Form with
a DataGridView embedded. The user presses a button to do a SQL query
(fill a DataSet). Before firing the query, I disable the grid/buttons
and turn on UseWaitCursor. After it completes, I re-enable the grid/
buttons, refresh the dataset, then turn off the UseWaitCursor. If I...
|
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...
|
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,...
| |
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...
|
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: 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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |