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. "Web Access Failed" error while creating Web Applications

"Web Access Failed" error while creating Web Applications

Scheduled Pinned Locked Moved Web Development
csharpasp-netvisual-studiowindows-adminjson
2 Posts 2 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.
  • H Offline
    H Offline
    Hadi Fakhreddine
    wrote on last edited by
    #1

    Each time I try to create an ASP.NET Web Application I get the "Web Access Failed" dialog box...IIS is installed and running correctly, however I keep getting the following error message: The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/WebApplication1' cannot be opened with the path 'c:\Inetpub\wwwroot\WebApplication1'. Can anybody explain why i keep getting this? IIS is running correctly and so are the rest of my Visual Studio .NET applications...I only get this when I try to create Web Applications... Thanks

    S 1 Reply Last reply
    0
    • H Hadi Fakhreddine

      Each time I try to create an ASP.NET Web Application I get the "Web Access Failed" dialog box...IIS is installed and running correctly, however I keep getting the following error message: The default Web access mode for this project is set to file share, but the project folder at 'http://localhost/WebApplication1' cannot be opened with the path 'c:\Inetpub\wwwroot\WebApplication1'. Can anybody explain why i keep getting this? IIS is running correctly and so are the rest of my Visual Studio .NET applications...I only get this when I try to create Web Applications... Thanks

      S Offline
      S Offline
      Syed Abdul Khader
      wrote on last edited by
      #2

      To fix IIS mappings for ASP.NET, follow these steps: Run the Aspnet_regiis.exe utility: Click Start, and then click Run. In the Open text box, type cmd, and then press ENTER. At the command prompt, type the following, and then press ENTER: "%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i In this path, version represents the version number of the .NET Framework that you installed on your server. You must replace this placeholder with the actual version number when you type the command. Register the Aspnet_isapi.dll: Click Start, and then click Run. In the Open text box, type the following, and then press ENTER: regsvr32 %windir%\Microsoft.NET\Framework\version\aspnet_isapi.dll Regsvr32 returns the results of the registration. Then you wont get that error

      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