Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Opening an ASP.NET project

Opening an ASP.NET project

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studiosysadminhelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Matthieu C
    wrote on last edited by
    #1

    Hi, When trying to open an ASP.NET project (found on this site), I have the following error: Unable to open Web project 'Account'. The file path 'C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\UserAccountLogin' does not correspond to the URL 'http://Localhost:/Account'. The two need to map to the same server location. HTTP Error 404: Object Not Found. What do I have to do to open this project in Visual Studio ? Regards, Matthieu

    N 1 Reply Last reply
    0
    • M Matthieu C

      Hi, When trying to open an ASP.NET project (found on this site), I have the following error: Unable to open Web project 'Account'. The file path 'C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\UserAccountLogin' does not correspond to the URL 'http://Localhost:/Account'. The two need to map to the same server location. HTTP Error 404: Object Not Found. What do I have to do to open this project in Visual Studio ? Regards, Matthieu

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      This is a common problem. Look at the .webinfo file and make sure the path specified there matches where you have the project. You must also make sure the the application is configured in IIS.

      M 1 Reply Last reply
      0
      • N Not Active

        This is a common problem. Look at the .webinfo file and make sure the path specified there matches where you have the project. You must also make sure the the application is configured in IIS.

        M Offline
        M Offline
        Matthieu C
        wrote on last edited by
        #3

        But what do I have to do to configue the application in IIS ? Thanks a lot, Matthieu

        L 1 Reply Last reply
        0
        • M Matthieu C

          But what do I have to do to configue the application in IIS ? Thanks a lot, Matthieu

          L Offline
          L Offline
          laphijia
          wrote on last edited by
          #4

          Go to Administrative Tools / IIS and right clik on Default Website then new/virtual directory and map it to the directory where you put your files (I see from your post that it's under My Documents/ Visual Studio Project/ that by default is not Web Shared) Also make sure to share on the network the directory with your files otherwise ASP user won't have permission to access it. Be sure to be working online. Check it in IE/File menu. Edd

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups