unable to create Web project

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Re: unable to create Web project

    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
    John Baima Guest

  2. Similar Questions and Discussions

    1. Unable to Validate Configuration of a PHP Project
      Would it work if I develop on my Mac using a local version of MAMP and then copied the files up to my shared hosting solution??? I am in the same...
    2. Unable to open Web project after requiring SSL
      After installing SSL, everything appears to be working, except one thing -- no Web project in a virtual directory that requires SSL will open in...
    3. cannot create project in .NET
      I've WinXP + IIS 5.1. The server works without any problem, i.e., when I trying http://localhost/index.asp it executes the script index.asp. But...
    4. still can't create asp.net project in vs.net 2003
      1. How do you know that iis is installed? To make sure hit the server with the browser http://127.0.0.1 If it comeback with something then you are...
    5. Unable to get the project file from Web server
      Hi, I have an ASP.NET application that somebody gave it to me but when I attempt to run it I get the following error in a dialog with a title...
  3. #2

    Default Unable to create web project

    Hi group,
    I'm not sure if here's the right subgroup to post my
    question but just figure to give it a try. Anyway, When
    I open a new ASP .NET Application project from VS.NET,
    I had window showed 'Web Access Failed' with following
    error msg:

    The default web access mode for this project is set to
    file share, but the project folder at
    'http://localhost/Spikeshop' cannot be opened
    with the path 'c:\inetpub\wwwroot\Spikeshop'.

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

    I'm using XP Pro w/ SP1, .NET FrameWork 1.1, v1.0.3705.
    Any ideas?

    Herman Guest

  4. #3

    Default Re: Unable to create web project

    I suggest you post this question in the ASP.NET or VisualStudio.NET
    newsgroups, this one is for webservices.

    --
    Greetz,
    Jan
    __________________________________
    Read my weblog: [url]http://weblogs.asp.net/jan[/url]
    "Herman" <anonymous@discussions.microsoft.com> schreef in bericht
    news:00dd01c3d946$91eef2c0$a601280a@phx.gbl...
    > Hi group,
    > I'm not sure if here's the right subgroup to post my
    > question but just figure to give it a try. Anyway, When
    > I open a new ASP .NET Application project from VS.NET,
    > I had window showed 'Web Access Failed' with following
    > error msg:
    >
    > The default web access mode for this project is set to
    > file share, but the project folder at
    > 'http://localhost/Spikeshop' cannot be opened
    > with the path 'c:\inetpub\wwwroot\Spikeshop'.
    >
    > Unable to create Web project 'Spikeshop'. The file path
    > 'c:\inetpub\wwwroot\Spikeshop' does not correspond to
    > the URL 'http://localhost/Spikeshop'. The two need to
    > map to the same server location.
    >
    > I'm using XP Pro w/ SP1, .NET FrameWork 1.1, v1.0.3705.
    > Any ideas?
    >

    Jan Tielens Guest

  5. #4

    Default Unable to create web project

    Try to create a virtual directory directory name as
    Spikeshop and point it to c:\inetpub\wwwroot\Spikeshop
    >-----Original Message-----
    >Hi group,
    >I'm not sure if here's the right subgroup to post my
    >question but just figure to give it a try. Anyway, When
    >I open a new ASP .NET Application project from VS.NET,
    >I had window showed 'Web Access Failed' with following
    >error msg:
    >
    > The default web access mode for this project is set to
    > file share, but the project folder at
    > 'http://localhost/Spikeshop' cannot be opened
    > with the path 'c:\inetpub\wwwroot\Spikeshop'.
    >
    > Unable to create Web project 'Spikeshop'. The file
    path
    > 'c:\inetpub\wwwroot\Spikeshop' does not correspond to
    > the URL 'http://localhost/Spikeshop'. The two need to
    > map to the same server location.
    >
    >I'm using XP Pro w/ SP1, .NET FrameWork 1.1, v1.0.3705.
    >Any ideas?
    >
    >.
    >
    Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139