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. Basic Question About Executing ASP.NET App Outside Visual Studio

Basic Question About Executing ASP.NET App Outside Visual Studio

Scheduled Pinned Locked Moved ASP.NET
csharpquestionasp-netvisual-studiolearning
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.
  • M Offline
    M Offline
    MarkMokris
    wrote on last edited by
    #1

    I am just learning ASP.NET. I have an ASP.NET application that I developed in Visual Studio. It contains some GrdiViews, and all works well when I execute the application within Visual Studio using F5. However, when I try to execute the application from Internet Explorer using: http://localhost/FirstExperiment I get a HTTP 403 Message saying: The website declined to show this webpage HTTP 403 Most likely causes: This website requires you to log in. What am I missing or not doing correctly? Thanks!!! Mark

    N 1 Reply Last reply
    0
    • M MarkMokris

      I am just learning ASP.NET. I have an ASP.NET application that I developed in Visual Studio. It contains some GrdiViews, and all works well when I execute the application within Visual Studio using F5. However, when I try to execute the application from Internet Explorer using: http://localhost/FirstExperiment I get a HTTP 403 Message saying: The website declined to show this webpage HTTP 403 Most likely causes: This website requires you to log in. What am I missing or not doing correctly? Thanks!!! Mark

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Have you deployed your website to IIS? When you run from VS, usually it starts on ASp.NET development web server. To make it work with IIS, use publish website option in VS. Alternatively, you can create a virtual directory in IIS and copy the files to the directory. In your case, virtual directory name would be FirstExperiment. If you have done all the above and getting this error message means you have not enabled anonymous authentication in IIS. Right click on your virtual directory and allow anonymous access. :)

      Navaneeth How to use google | Ask smart questions

      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