VS.Net 2003, unable to open web project

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sagar

    VS.Net 2003, unable to open web project

    Hi Iam unable to open my ASP.Net web project HRMS.vbproj suddenly in
    VS.Net 2003

    I am getthing this error.

    Unable to open Web project '/'. The file path 'D:\company\ASP \Web'
    does not correspond to the URL 'http://Localhost:'. The two need to
    map to the same server location. HTTP Error 500: Internal Server Error

    The webinfo file reads

    <VisualStudioUN CWeb>
    <Web URLPath = "http://localhost/HRMS.vbproj" />
    </VisualStudioUNC Web>


    The IIS logs read

    2008-02-16 11:03:26 127.0.0.1 GET /vs-191401699729913 227_tmp.htm - 80
    - 127.0.0.1 Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
    2008-02-16 11:03:26 127.0.0.1 GET /get_aspx_ver.as px - 80 - 127.0.0.1
    Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
    2008-02-16 11:03:26 127.0.0.1 GET /vs-191292325429913 227_tmp.htm - 80
    - 127.0.0.1 Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
    2008-02-16 11:03:26 127.0.0.1 GET /get_aspx_ver.as px - 80 - 127.0.0.1
    Microsoft-Visual-Studio.NET/7.10.3077 500 0 0

    Also, In the IIS -Home Directory Configuration, the htm and aspx are
    mapped to C:\windows\micr osoft.net\frame work
    \v1.1.4322\aspn et_isapi.dll

    The only thing special of this case is that .net 2.0 is also installed
    in this machine. But all the file extensions are mapped to run against
    1.1 only.

    Any help is appreciated.

    thanks,
    Anand.

  • Mark Fitzpatrick

    #2
    Re: VS.Net 2003, unable to open web project

    Is your web server pointing to the d:\company\asp\ web directory? What this
    error is telling you is that the location of your web, in this case
    localhost, does not map to the physical location of the files.

    Try pointing the root of your IIS to this directory and see if you can open
    it then.

    Hope this helps,
    Mark Fitzpatrick
    Microsoft MVP - Expression

    "Sagar" <anandsagar@gma il.comwrote in message
    news:1de4c075-6bc1-47f5-8999-1e694fd22bf6@64 g2000hsw.google groups.com...
    Hi Iam unable to open my ASP.Net web project HRMS.vbproj suddenly in
    VS.Net 2003
    >
    I am getthing this error.
    >
    Unable to open Web project '/'. The file path 'D:\company\ASP \Web'
    does not correspond to the URL 'http://Localhost:'. The two need to
    map to the same server location. HTTP Error 500: Internal Server Error
    >
    The webinfo file reads
    >
    <VisualStudioUN CWeb>
    <Web URLPath = "http://localhost/HRMS.vbproj" />
    </VisualStudioUNC Web>
    >
    >
    The IIS logs read
    >
    2008-02-16 11:03:26 127.0.0.1 GET /vs-191401699729913 227_tmp.htm - 80
    - 127.0.0.1 Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
    2008-02-16 11:03:26 127.0.0.1 GET /get_aspx_ver.as px - 80 - 127.0.0.1
    Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
    2008-02-16 11:03:26 127.0.0.1 GET /vs-191292325429913 227_tmp.htm - 80
    - 127.0.0.1 Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
    2008-02-16 11:03:26 127.0.0.1 GET /get_aspx_ver.as px - 80 - 127.0.0.1
    Microsoft-Visual-Studio.NET/7.10.3077 500 0 0
    >
    Also, In the IIS -Home Directory Configuration, the htm and aspx are
    mapped to C:\windows\micr osoft.net\frame work
    \v1.1.4322\aspn et_isapi.dll
    >
    The only thing special of this case is that .net 2.0 is also installed
    in this machine. But all the file extensions are mapped to run against
    1.1 only.
    >
    Any help is appreciated.
    >
    thanks,
    Anand.
    >

    Comment

    • Sagar

      #3
      Re: VS.Net 2003, unable to open web project

      Yes, my IIS web server root is pointing to 'D:\company\ASP \Web'


      On Feb 17, 3:15 am, "Mark Fitzpatrick" <markf...@fitzm e.comwrote:
      Is your web server pointing to the d:\company\asp\ web directory? What this
      error is telling you is that the location of your web, in this case
      localhost, does not map to the physical location of the files.
      >
      Try pointing the root of your IIS to this directory and see if you can open
      it then.
      >
      Hope this helps,
      Mark Fitzpatrick
      Microsoft MVP - Expression
      >

      Comment

      Working...