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. How to run an asp.net website using a web browser directly?

How to run an asp.net website using a web browser directly?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netvisual-studiotutorialquestion
6 Posts 5 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.
  • K Offline
    K Offline
    KaKa
    wrote on last edited by
    #1

    Hi, I have developed an asp.net website using vstudio 2005. But in order for the website to run properly, I have to run it from visual studio itself. When I typed the webaddress directly into the web browser's address bar (http://localhost/User.aspx), the website is unable to work correctly. What should I do to enable the user to access the asp.net website directly via a browser without the need for visual studio?

    T M M S K 5 Replies Last reply
    0
    • K KaKa

      Hi, I have developed an asp.net website using vstudio 2005. But in order for the website to run properly, I have to run it from visual studio itself. When I typed the webaddress directly into the web browser's address bar (http://localhost/User.aspx), the website is unable to work correctly. What should I do to enable the user to access the asp.net website directly via a browser without the need for visual studio?

      T Offline
      T Offline
      ToddHileHoffer
      wrote on last edited by
      #2

      VS 2005 creates the website when you are debugging. You need to publish the website to IIS or Copy the files to a website in IIS.

      how vital enterprise application are for proactive organizations leveraging collective synergy to think outside the box and formulate their key objectives into a win-win game plan with a quality-driven approach that focuses on empowering key players to drive-up their core competencies and increase expectations with an all-around initiative to drive up the bottom-line. But of course, that's all a "high level" overview of things --thedailywtf 3/21/06

      1 Reply Last reply
      0
      • K KaKa

        Hi, I have developed an asp.net website using vstudio 2005. But in order for the website to run properly, I have to run it from visual studio itself. When I typed the webaddress directly into the web browser's address bar (http://localhost/User.aspx), the website is unable to work correctly. What should I do to enable the user to access the asp.net website directly via a browser without the need for visual studio?

        M Offline
        M Offline
        Member 96
        wrote on last edited by
        #3

        That is an unusual problem, in my experience anything that works in visual studio should also be accessible *on the same computer* from the browser. If you mean from a *different* computer then that is a whole other possible set of issues not really related to asp.net development itself, but more related to standard security and firewall and networking issues for IIS in general.

        1 Reply Last reply
        0
        • K KaKa

          Hi, I have developed an asp.net website using vstudio 2005. But in order for the website to run properly, I have to run it from visual studio itself. When I typed the webaddress directly into the web browser's address bar (http://localhost/User.aspx), the website is unable to work correctly. What should I do to enable the user to access the asp.net website directly via a browser without the need for visual studio?

          M Offline
          M Offline
          minhpc_bk
          wrote on last edited by
          #4

          Basically, you'll have two web servers to choose to run your web site: IIS or ASP.NET development server. If you are using the ASP.NET built-in server from VS, then you need to publish the web site to run it under IIS like Todd said. However, you are still able to run your web site with the built-in server without opening VS, to know more how you need to look at the ASP.NET development server in the .Net framework directory.

          1 Reply Last reply
          0
          • K KaKa

            Hi, I have developed an asp.net website using vstudio 2005. But in order for the website to run properly, I have to run it from visual studio itself. When I typed the webaddress directly into the web browser's address bar (http://localhost/User.aspx), the website is unable to work correctly. What should I do to enable the user to access the asp.net website directly via a browser without the need for visual studio?

            S Offline
            S Offline
            sudharsong
            wrote on last edited by
            #5

            hi, there is any folder name for your application like (http://localhost/foldername/user.aspx). -- modified at 1:10 Tuesday 1st August, 2006

            hi to all with regards, susa

            1 Reply Last reply
            0
            • K KaKa

              Hi, I have developed an asp.net website using vstudio 2005. But in order for the website to run properly, I have to run it from visual studio itself. When I typed the webaddress directly into the web browser's address bar (http://localhost/User.aspx), the website is unable to work correctly. What should I do to enable the user to access the asp.net website directly via a browser without the need for visual studio?

              K Offline
              K Offline
              KaKa
              wrote on last edited by
              #6

              Hi all, I have tried the walkthrough given in msdn. I followed the steps given. First I used the publishing tool from vstudio. I published the files onto a folder at C:\CompiledSite. Then I created a virtual folder in IIS which points to the CompiledSite folder. File sharing is enabled. I also changed the ASP.Net version in IIS to version 2.0 So far, all is ok. But when I typed the address into the address bar ([url]http://localhost/CompiledSite/Login.aspx)[/url], an error message appeared. Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request. What causes this error message to appear? For the address, I used the format given in the msdn walkthrough which is "http://localhost/CompiledSite/filename.aspx"

              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