Line number error

Oct 6, 2015 at 10:25 AM

First of all thanks for all your asp based projects, we're looking to make use of at least one of them!

No, I've started trying to use this one on a legacy part of our application.

I'm getting the following on all pages.

[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: line must be greater than or equal to 1]
Microsoft.Scripting.SourceLocation.ValidateLocation(Int32 index, Int32 line, Int32 column) +154
Dlrsoft.VBScript.Compiler.VBScriptSourceMapper.Map(SourceSpan span) +573
Dlrsoft.VBScript.Hosting.VBScriptContext.CompileSourceCode(SourceUnit sourceUnit, CompilerOptions options, ErrorSink errorSink) +616
Microsoft.Scripting.Hosting.ScriptSource.CompileInternal(CompilerOptions compilerOptions, ErrorListener errorListener) +96
Dlrsoft.Asp.AspHost.CompilePage(AspPageDom page) +97
Dlrsoft.Asp.AspHandler.ProcessRequest(HttpContext context) +223
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +508
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92

I'll freely admit that
a) I'm not a classic asp guy
b) our classic asp looks.... well.... ugly and probably quite malformed.

I've managed to clean up a lot of it (some people were using // to comment code, or not fully quantifying the include paths). but this error isn't giving me anything to go on...