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. How do I run a classic asp webpage from visual studio

How do I run a classic asp webpage from visual studio

Scheduled Pinned Locked Moved Web Development
questioncsharpvisual-studio
3 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.
  • S Offline
    S Offline
    Steve Holdorf
    wrote on last edited by
    #1

    I have two classic asp pages on my local machine that I would like to test them by bring each up in a browser from Visual Studio just to test a few links. How can I do this?

    F L 2 Replies Last reply
    0
    • S Steve Holdorf

      I have two classic asp pages on my local machine that I would like to test them by bring each up in a browser from Visual Studio just to test a few links. How can I do this?

      F Offline
      F Offline
      F ES Sitecore
      wrote on last edited by
      #2

      You need Visual InterDev which comes with Visual Studio 6 :) As asp is interpreted you can use any text editor to amend the pages; sublime, notepad++ etc. They might not recognize classic asp syntax features but it's no big deal. Then to test you just navigate to the pages directly in your browser

      1 Reply Last reply
      0
      • S Steve Holdorf

        I have two classic asp pages on my local machine that I would like to test them by bring each up in a browser from Visual Studio just to test a few links. How can I do this?

        L Offline
        L Offline
        Lord_Nick69
        wrote on last edited by
        #3

        I have run across this problem many times and Have FINALLY found out what is going on and how to solve it. In VS 2012 (and probably 2010 and 2013), after you load your web site, right click on the site name (usually something like C:\..\\) and a large menu appears. Look for "Use IIS Express..." and click on this. Two pop-ups will appear click Yes on the first and OK on the second. Give it a few seconds and you will then see the site name has changed and the C:\..\ is no longer there. (i.e. C:\..\MySite\ becomes MySite). If you don't already have a specific page set up to be the default page to run when you run the site from VS, click on the start page, (i.e. index.asp, Default.asp, etc...) and then hit F5 to run the site. It should come right up. If you try to run the above procedure but you don't see the option "Use IIS Express..." what you might see instead is "Use Visual Studio Development Server". This means you are already set up to run classic asp and your problem is probably your pages. Things you can try: Hit Shift-F4 to open the properties page and select Start Options. Click on Use Current Page and then click Okay. Select the simplest/do nothing ASP page you have (or create one), one that doesn't require logging in or getting data from a database but maybe just prints something to the screen using a Response.Write. Once selected, hit F5. If this page works then VS is set up correctly but the problem is with your code.

        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