473,397 Members | 1,974 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,397 software developers and data experts.

Web Access Failed creating new ASP.net Web App

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
CNAME--that works fine.
The wwwroot folder is shared and NTFS permissions on the site's home folder
(under wwwroot) should be okay. I can map a drive to wwwroot and do whatever
I want with the site home folder.

When trying to create a new ASP.net Web Application project at
http://testsite.servername.local/testsite, I get 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://testsite.servername.local/testsite' cannot be
opened with the path '\\testsite.servername.local\wwwroot$\testsite'. The
error returned was:
Unable to create Web project 'testsite'. The UNC share
'\\testsite.servername.local\wwwroot$\testsite' does not exist or you do not
have access.

Any help would be greatly appreciated!
Brandon
Nov 19 '05 #1
2 2055
Brandon,
Check the following list.

1. What port number you have given to the testsite? It should be other
than port number: 80.
2. Whether the testsite is started?
3. If it is still not working, try to keep testsite folder outsite the
wwwroot folder.

If you still have any questions let me know.

Thanks,
Ragu

"Brandon" wrote:
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
CNAME--that works fine.
The wwwroot folder is shared and NTFS permissions on the site's home folder
(under wwwroot) should be okay. I can map a drive to wwwroot and do whatever
I want with the site home folder.

When trying to create a new ASP.net Web Application project at
http://testsite.servername.local/testsite, I get 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://testsite.servername.local/testsite' cannot be
opened with the path '\\testsite.servername.local\wwwroot$\testsite'. The
error returned was:
Unable to create Web project 'testsite'. The UNC share
'\\testsite.servername.local\wwwroot$\testsite' does not exist or you do not
have access.

Any help would be greatly appreciated!
Brandon

Nov 19 '05 #2
Answers to your list are below. However, maybe my question should be, "How
do I create a new ASP.net Web App on site OTHER THAN THE DEFAULT SITE." What
are the steps required in IIS? What permissions need to be used on the site?
Is VS Studio supposed to create the physical directory (e.g. under wwwroot)
and an associated virtual directory on the site?

Answers to your list:
1) Using port 80, but that shouldn't be a problem since I was using a host
header value. I have also tried using a unique IP for the site (assigned
multiple IPs to the IIS server's NIC)
2) testsite is started
3) no change when doing this (why should I have to anyway?)

"Ragunathan" wrote:
Brandon,
Check the following list.

1. What port number you have given to the testsite? It should be other
than port number: 80.
2. Whether the testsite is started?
3. If it is still not working, try to keep testsite folder outsite the
wwwroot folder.

If you still have any questions let me know.

Thanks,
Ragu

"Brandon" wrote:
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
CNAME--that works fine.
The wwwroot folder is shared and NTFS permissions on the site's home folder
(under wwwroot) should be okay. I can map a drive to wwwroot and do whatever
I want with the site home folder.

When trying to create a new ASP.net Web Application project at
http://testsite.servername.local/testsite, I get 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://testsite.servername.local/testsite' cannot be
opened with the path '\\testsite.servername.local\wwwroot$\testsite'. The
error returned was:
Unable to create Web project 'testsite'. The UNC share
'\\testsite.servername.local\wwwroot$\testsite' does not exist or you do not
have access.

Any help would be greatly appreciated!
Brandon

Nov 19 '05 #3

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

Similar topics

7
by: dog | last post by:
I've seen plenty of articles on this topic but none of them have been able to solve my problem. I am working with an Access 97 database on an NT4.0 machine, which has many Access reports. I...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
7
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...
29
by: Patrick | last post by:
I have the following code, which regardless which works fine and logs to the EventViewer regardless of whether <processModel/> section of machine.config is set to username="SYSTEM" or "machine" ...
12
by: D. Shane Fowlkes | last post by:
This most likely belongs in another forum but I thought I'd start here. I have a COM Object written in VB6. The DLL will access MS Excel and use it's Object Library to write a customized report...
0
by: Greg | last post by:
Hi, creating template1 database in /var/pgsql/data1/base/1... DEBUG: invoking IpcMemoryCreate(size=1081344) FATAL: shmat(id=1179648) failed: Invalid argument What's the problem why is shmat...
4
by: Dave | last post by:
I'm creating a web app using VS 2005. When I run the app I receive the error, "Failed to access IIS metabase" How do I correct this problem? Thanks for you help.
5
by: mwebel | last post by:
Hi!, im trying to copy the middle part of a dinamycally created char* string with memcopy but all i get is rubbish... I understand, that malloc can allocate memory wherever it wants and it does...
4
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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...
0
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,...
0
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...
0
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...
0
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...

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.