An ASP application using redirects worked with Perl5.6 on IIS 4.0 but is causing an error with Perl 5.8 on IIS 6.0. The error returned to the browser is:
Active Server Pages error 'ASP 0240' Script Engine Exception A ScriptEngine threw exception 'C0000005' in 'IActiveScript::SetScriptState()' from 'CActiveScriptEngine::ReuseEngine()'. This occurs with Perl 5.8.0 build 806 and Perl 5.8.2 build 808. A message in this list last August mentioned the same problem, and also mentioned that the error went away when perl 5.6 was installed. I have tried converting the Response->Redirect() to Response->Transfer and to Response->Execute, but the error still occurs. Since the problem has been described before, I am apparently not the only one experiencing it. I have tried changing IIS application settings and application pool settings, but nothing has had an effect on this error. One strange behaviour is that the error occurs only every second time a link is clicked. One click causes an error, click again and it works (the links are in one frame and the asp output is targeted to a second frame). I also experimented with hardcoding a few links to directly start the final asp page (no redirect or transfer), and then even the links with redirects worked. It seems as though the server session gets into a state that keeps causing errors, but if the application can start without getting into that state, then everything works. The question is, how to get the server to always start up in the right state? ;-) Does anyone have any suggestions? Regards, Mark Herbert _______________________________________________ Perl-Win32-Web mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs