running classic asp pages in VS 2005 IDE

Last post 05-26-2008 10:26 PM by cjsteury. 28 replies.

Sort Posts:

  • running classic asp pages in VS 2005 IDE

    07-24-2005, 7:58 PM
    • Member
      25 point Member
    • twjolly
    • Member since 07-24-2005, 7:36 PM
    • Posts 5
    How do you run classic pages in the VS2005 IDE. I can add the asp page to the project (VS2005), however, it will not run. I'm trying to convert a large VS6 project to VS2005 Beta 2. It would nb nice to load all the classic asp pages and convert them as time permits. Using the same IDE for both asp and asp.net 2 would be nice. Thanks in Advance.
  • Re: running classic asp pages in VS 2005 IDE

    07-24-2005, 8:31 PM
    • Participant
      755 point Participant
    • LuKiller
    • Member since 07-01-2005, 8:47 AM
    • San Nicolas - Argentina
    • Posts 158

    I've tried including classic ASP pages in Visual Studio 2005 project and it works allright. I couldn't debug it, if that is what is happening to you, but it runs OK.

    LKZ:
    .\Arrobianos/.
    http://www.lukiller.net
  • Re: running classic asp pages in VS 2005 IDE

    07-24-2005, 8:56 PM
    • Member
      25 point Member
    • twjolly
    • Member since 07-24-2005, 7:36 PM
    • Posts 5
    Here's what displayed:

     

    Server Error in '/eWebPortfolio_Net' Application.

    This type of page is not served.

    Description: The type of page you have requested is not served because it has been explicitly forbidden. The extension '.asp' may be incorrect. Please review the URL below and make sure that it is spelled correctly.

    Requested URL: /eWebPortfolio_Net/Help.asp


    Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44

  • Re: running classic asp pages in VS 2005 IDE

    07-25-2005, 7:05 AM
    • Participant
      755 point Participant
    • LuKiller
    • Member since 07-01-2005, 8:47 AM
    • San Nicolas - Argentina
    • Posts 158
    Are you using IIS 6.0 under Windows 2003? If this is the case, verify on the IIS console under "Web Services Extensions" that "Active Server Pages" are allowed.

    LKZ:
    .\Arrobianos/.
    http://www.lukiller.net
  • Re: running classic asp pages in VS 2005 IDE

    07-25-2005, 8:59 AM
    • Member
      25 point Member
    • twjolly
    • Member since 07-24-2005, 7:36 PM
    • Posts 5
    Running IIS 5.1 on XP Pro. --- I thought vs2005 beta 2 doesn't need or IIS for development, that it uses it's own built-in web server?


  • Re: running classic asp pages in VS 2005 IDE

    07-25-2005, 10:27 AM
    • Participant
      755 point Participant
    • LuKiller
    • Member since 07-01-2005, 8:47 AM
    • San Nicolas - Argentina
    • Posts 158
    It has it's own web server, but it is only for testing. I prefer using IIS because i noticed that the built-in web server runs slower and doesn't cache as well as IIS.
    I don't know if the built-in web server supports classic ASP. Why don't you try hosting your web application within IIS.

    LKZ:
    .\Arrobianos/.
    http://www.lukiller.net
  • Re: running classic asp pages in VS 2005 IDE

    07-25-2005, 10:59 AM
    • Member
      25 point Member
    • twjolly
    • Member since 07-24-2005, 7:36 PM
    • Posts 5
    How do you force vs2005 beta 2 to use IIS and not it's own server? This is probably my problem. I created a virtual web site under IIS, now (1) how do I tell vs2005 to use it, and (2) prevent the built-in vs2005 web server from loading?
  • Re: running classic asp pages in VS 2005 IDE

    07-25-2005, 11:15 AM
    • Member
      25 point Member
    • twjolly
    • Member since 07-24-2005, 7:36 PM
    • Posts 5
    Forget my last response, I think I figured it out --- Thanks!
  • Re: running classic asp pages in VS 2005 IDE

    08-08-2005, 12:54 PM
    You do can debug classic ASP in VS 2005. Have a look here http://blogs.msdn.com/mikhailarkhipov/archive/2005/06/24/432308.aspx
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: running classic asp pages in VS 2005 IDE

    03-06-2006, 9:38 AM
    Answer
    • Member
      536 point Member
    • PhilM99
    • Member since 03-03-2005, 1:01 PM
    • Toronto
    • Posts 116
    Hey, you figured it out but didn't say what you found?? How do you get VS2005 to use IIS instead of Cassini?
  • Re: running classic asp pages in VS 2005 IDE

    03-06-2006, 11:38 AM
    You need to create/open Web site using http, not file system. When you create Wb site, choose remote and specify localhost for the local IIS. If you already have file system based Web, you can move it manually over to IIS and then open via http://localhost as remote Web.
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: running classic asp pages in VS 2005 IDE

    03-06-2006, 11:56 AM
    • Member
      536 point Member
    • PhilM99
    • Member since 03-03-2005, 1:01 PM
    • Toronto
    • Posts 116

    Hmm. I too, may have figured it out. Forgive the quick jump to the posting, but I had spent some time trying to figure out how to get my project to open using IIS (on my XP dev machine) instead of using the built-in web server (cassini). Reason was that Cassini does not support asp and I'm building a mixed project which copies in a mess of asp pages and I want to add to it using Asp.Net. So now it works. What I did was:

    1. Closed the VS2005 project.
    2. Using IIS manager, created a virtual directory pointing to the folder containing all the asp and aspx pages.
    3. In VS2005, Click on File..Open Web Site (not Open Project as before)
    4. Select the tab Local IIS (not the File system, which would be the same as before)
    5. Find the virtual directory I had just created, select it and click Open
    6. Now when I run the project, IIS serves up both ASP and aspx pages. Ya. Big Smile [:D]
    7. Now I'm on to moving over previously written VB6 components and using registry-free COM.

    This is so cool. I felt I would document this all here in case anyone else is as stuck as I was over something that is probably obvious.

  • Re: running classic asp pages in VS 2005 IDE

    03-06-2006, 12:25 PM
    • Member
      536 point Member
    • PhilM99
    • Member since 03-03-2005, 1:01 PM
    • Toronto
    • Posts 116
    Thanks Mikhail for the fast response. I had kinda beat it to death. Maybe that's my programming style.
  • Re: running classic asp pages in VS 2005 IDE

    07-05-2006, 5:20 PM
    • Member
      27 point Member
    • fkopan
    • Member since 07-05-2006, 4:15 PM
    • Posts 6

    How did you install IIS on your XP machine?  I guess you can do that.

    Thanks,

    Frank

  • Re: running classic asp pages in VS 2005 IDE

    07-05-2006, 5:27 PM
    XP Professional comes with IIS 5.1. You can install it in Control Panel | Add Remove Programs | Windows Components.
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 2 (29 items) 1 2 Next >