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.