OK, so I recently moved into the world of web development, having spent quite a few years coding in a fairly simple proprietary language, and one of my first works was setting up an old classic ASP page for one of our clients. I am using Visual Studio 2008 to try to debug some problems that I have, but the page does not load at all. If I browse the site locally using IIS, then everything works without any problems, so I'm not sure what I'm doing wrong.
Here is the error message I get:
Compiler Error Message: BC30451: Name 'VariableName' is not declared.
How this is configured, file1.asp has include for file2.asp
Then file2.asp has a form message for file3.asp
<FORM METHOD="POST" ACTION="/includes/file3.asp">
A variable is created inside file3.asp.
Thus, when starting this site through IIS everything works, the variables look transferred between the files without any problems, but when I try to debug the site using VS2008, I get error code BC30451.
Can anyone fix my ship? I have done a lot of searches and reading of other websites that seem to handle this problem, but a lot of this happens over my head. If someone can take the time to explain what is happening and why this is happening, as well as give some kind of solution or point me aside somewhere that can help, that would be more than highly appreciated.
Greetings
Pat.
debugging visual-studio asp-classic
Patrick ottery
source share