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

  1. #1

    Default Web Access Fails

    I am running IIS 5.1 on Windows XP Pro but keep failing
    due to the message below. Please help!

    "When you create a Web Application in Microsoft Visual
    Studio .NET and then you use Windows Server 2003 with
    Internet Information Server(IIS) 6.0, you receive the
    following error message:


    The default Web access mode for this project is set to
    file share, but the project folder at 'Project URL'
    cannot be opened with the path 'Physical Project path'.
    The error returned was:

    Unable to create Web project 'Project Name'. The file
    path 'Physical project path' does not correspond to the
    URL 'Project URL'. The two need to map to the same
    location. HTTP Error 404: Not Found"

    Ursula Guest

  2. Similar Questions and Discussions

    1. #38465 [Asn->Csd]: ReflectionParameter fails if default value is an access to self::
      ID: 38465 Updated by: johannes@php.net Reported By: baldurien at bbnwn dot eu -Status: Assigned +Status: ...
    2. Access query fails after upgrade to MX 7.1
      After upgrading to ColdFusion MX 7.1, the following query (against an Access 2000 database) errors out on the *** field when running the ColdFusion...
    3. OPENROWSET() fails 'Ad Hoc Access..denied' ADO
      I'm tring the the following where strDBtoOpen is the UNC path to an Access Database: ..ASP page ADO Connection object Source property. cn.Source...
    4. Insert fails on access that I know works...
      Folks, I use PHP to write my form data to MySQL. I have a database with about ten tables. I'm trying to fill one table with some dummy data...
    5. remote file access fails
      Context: Running Windows 2003 Server on an intranet. A web is configured with an anonymous access account that is a domain account that has...
  3. #2

    Default Re: Web Access Fails

    | Unable to create Web project 'Project Name'. The file
    | path 'Physical project path' does not correspond to the
    | URL 'Project URL'. The two need to map to the same
    | location. HTTP Error 404: Not Found"

    IIS tries to check if physical path points to specific URL. It creates file
    with random name and ".tmp" extension and then tries to load it via HTTP. It
    works well for IIS 5, but fails for IIS 6.

    IIS 6 is by default configured that serves only known file types and for all
    others just returns 404, even if the file physically exists. You must
    therefore add the extension ".tmp" to MIME map:

    1. Open the Internet Services Manager
    2. Right click "COMPUTERNAME (Local Computer)" and select "Properties"
    3. Click button "MIME Types"
    4. In new window click "New" and specify ".tmp" as extension and
    "application/octet-stream" as content type.

    Alternatively, you can type only "." (dot) as extension to turn all the
    behavior off (server would return all files, regardless the extension).

    --
    Michal A. Valasek, Altair Communications, [url]http://www.altaircom.net[/url]
    Please do not reply to this e-mail, for contact see [url]http://www.rider.cz[/url]


    Michal A. Valasek 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