We help IT Professionals succeed at work.

old ASP program before ASP.Net

GeneBe
GeneBe asked
on
High Priority
74 Views
Last Modified: 2020-02-18
how do I load an old asp program to VS and run it with debug?
Comment
Watch Question

Author

Commented:
it does not have a .sln or proj file.
Director, Information Systems
CERTIFIED EXPERT
Commented:

Create a solution and import all the files:


  1. You can either create a new Empty Solution.
  2. Then Right Click on that solution in the Solution Explorer panel, and Select Add > Existing Website.
  3. Select your Website files.


OR


  1. Go to “File” Menu.
  2. Select Add > Existing Project or Add > Existing Website (depending on which you have).
  3. Then select your website project files directory.


Source


zc2
CERTIFIED EXPERT

Commented:
Enable ASP debugging in the IIS settings (ASP feature -> Expand "Debugging Properties" -> "Enable Server-side Debugging").
Attach the VS to the w3wp.exe process in the "script" mode (You may need to run it "As Administrator" or use the VS Remote Debugging Monitor).
If you need to start debugging before the page is loaded, you can put a "stop" statement to the first line of the code (if the ASP language is vbscript).

Author

Commented:
thank you, this is now resolved.