Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 459401
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T22:46:09+00:00 2026-05-12T22:46:09+00:00

OK, So I have recently moved into the world of Web development after spending

  • 0

OK, So I have recently moved into the world of Web development after spending quite a few years coding in a pretty simple proprietary language, and one of my first jobs is to tweak an old classic ASP page for one of our clients.
I’m using Visual Studio 2008 to try debug some problems I am having, but the page won’t load at all. If I browse the site locally using IIS, then everything works without any trouble at all, so I am not sure what I am doing wrong.

Here’s the error message I get;

Compiler Error Message: BC30451: Name 'VariableName' is not declared.

The way this is setup, is that file1.asp has an include for file2.asp

<!-- #include file=./includes/file2.asp -->

Then file2.asp has a form post for file3.asp

<FORM METHOD="POST" ACTION="/includes/file3.asp">

Inside file3.asp is where the variable is created.

So, when running this site via IIS, everything works, the variables look to be passed between files without any trouble, but when I try to debug the site using VS2008, I get the BC30451 error code.

Can anyone right my ship? I’ve been doing a lot of googling and reading of other websites that seem to deal with this issue, but a lot of it is going over my head.
If anyone could please take the time to explain what & why this is happening, as well as providing some kind of solution, or pointing me in the direction of somewhere that may be able to help, it would be more than greatly appreciated.

Cheers,

Pat.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T22:46:09+00:00Added an answer on May 12, 2026 at 10:46 pm

    You can debug classic ASP in Visual Studio 2008. The way to do it involves attaching the debugger to the process that is running your ASP pages. Keeping in mind that Classic ASP debugging only works with IIS; it does not work with the VS Development Web Server (Cassini). Also, make sure that you have enabled ASP debugging in IIS:

    IIS Home Directory Properties http://img4.imageshack.us/img4/6431/capturert.png


    IIS Application Configuration http://img26.imageshack.us/img26/4802/capture2qr.png

    Once you have the configuration in IIS as noted above, here is how to attach the debugger:

    1. Open the Classic ASP files in Visual Studio
    2. Set a breakpoint anywhere you want to break in the server-side code
    3. View the page in a web browser (ensures that the host process is running)
    4. In Visual Studio: Debug Menu -> Attach to Process
    5. Locate the IIS ASP worker process (w3wp.exe on IIS6, dllhost.exe on IIS5.1)
    6. Attach to the script code for the host process (see below for example)

    Attach Debugger Dialog http://img43.imageshack.us/img43/2218/capturegb.png

    At this point, the breakpoint should bind and you should be able to debug the Classic ASP pages. (you may have to refresh the page in the web browser to get the code to execute again once the debugger has been attached)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently moved the masterLayout template for a web application into an external
So we have recently moved much of our business logic into a service layer,
I recently had a blog at www.andrewalaniz.com and I have moved it into a
We have recently moved some data from an SQL Database instance to another one
I have recently moved my RoR app on the Heroku platform, and almost everything
I have recently moved to a MacBook Pro, which has meant leaving my beloved
can anyone help. I have recently moved servers, its IIS7 rather that our previous
Recently i moved to Symfony 2 and i have a litte question. Let's say
Recently I have modified my code to While taking input form STDIN, I moved
I have recently merged together 5 of my stand-alone projects into one project to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.