Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ScriptEngine threw expection ... Error

Reply
Thread Tools

ScriptEngine threw expection ... Error

 
 
Ritche
Guest
Posts: n/a
 
      06-23-2004
I have a redirect page using PerlScript titled
clickthru.asp:
<%@LANGUAGE="PerlScript"%>
<%
my $url = $Request->QueryString('url')->Item();
$Response->Redirect($url);
%>

I keep running into the following error when I click on an
ad from a test page:
Error Type:
Active Server Pages, ASP 0240 (0x80004005)
A ScriptEngine threw expection 'C0000005'
in 'IActiveScript::SetScriptState()'
from 'CActiveScriptEngine::ReuseEngine()'.
/ads/clickthru.asp

Has anyone run into this situation and could possibly help
me out? I don't know what else to do short of learning
Visual Basic as an alternative.

Thanks,
Ritche


 
Reply With Quote
 
 
 
 
Steven Burn
Guest
Posts: n/a
 
      06-23-2004
I don't actually know Perl myself but, I'd guess the problem is due to;

> my $url = $Request->QueryString('url')->Item();
> $Response->Redirect($url);


If Perlscript works the same as VBScript, then you'd need to change it to;

$url = $Request->QueryString('url')->Item();
$Response->Redirect($url);

See if this works (uses VBScript)

<%@ Language="VBScript" %>
<%
sURL = Request.Querystring("url")
Response.Redirect sURL
%>

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!


"Ritche" <(E-Mail Removed)> wrote in message
news:265f01c45969$7cada750$(E-Mail Removed)...
> I have a redirect page using PerlScript titled
> clickthru.asp:
> <%@LANGUAGE="PerlScript"%>
> <%
> my $url = $Request->QueryString('url')->Item();
> $Response->Redirect($url);
> %>
>
> I keep running into the following error when I click on an
> ad from a test page:
> Error Type:
> Active Server Pages, ASP 0240 (0x80004005)
> A ScriptEngine threw expection 'C0000005'
> in 'IActiveScript::SetScriptState()'
> from 'CActiveScriptEngine::ReuseEngine()'.
> /ads/clickthru.asp
>
> Has anyone run into this situation and could possibly help
> me out? I don't know what else to do short of learning
> Visual Basic as an alternative.
>
> Thanks,
> Ritche
>
>



 
Reply With Quote
 
 
 
 
Mark Schupp
Guest
Posts: n/a
 
      06-23-2004
Try the script below to see if it is something specific to perlscript

<%@LANGUAGE="vbscript"%>
<%
dim url
url = Trim(Request.QueryString("url"))
Response.Redirect url
%>

If the above works but the perlscript doesn't you will probably need to
track down a perlscript newsgroup for help.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com


"Ritche" <(E-Mail Removed)> wrote in message
news:265f01c45969$7cada750$(E-Mail Removed)...
> I have a redirect page using PerlScript titled
> clickthru.asp:
> <%@LANGUAGE="PerlScript"%>
> <%
> my $url = $Request->QueryString('url')->Item();
> $Response->Redirect($url);
> %>
>
> I keep running into the following error when I click on an
> ad from a test page:
> Error Type:
> Active Server Pages, ASP 0240 (0x80004005)
> A ScriptEngine threw expection 'C0000005'
> in 'IActiveScript::SetScriptState()'
> from 'CActiveScriptEngine::ReuseEngine()'.
> /ads/clickthru.asp
>
> Has anyone run into this situation and could possibly help
> me out? I don't know what else to do short of learning
> Visual Basic as an alternative.
>
> Thanks,
> Ritche
>
>



 
Reply With Quote
 
Ritche
Guest
Posts: n/a
 
      06-23-2004
I gave your idea a try and still encountered the same
error. It seems to be specific to the Perl engine. I tried
to find some answers at ActiveState but was unsuccessful.
Thank you for your time. -Ritche

>-----Original Message-----
>I don't actually know Perl myself but, I'd guess the

problem is due to;
>
>> my $url = $Request->QueryString('url')->Item();
>> $Response->Redirect($url);

>
>If Perlscript works the same as VBScript, then you'd need

to change it to;
>
>$url = $Request->QueryString('url')->Item();
>$Response->Redirect($url);
>
>See if this works (uses VBScript)
>
><%@ Language="VBScript" %>
><%
> sURL = Request.Querystring("url")
> Response.Redirect sURL
>%>
>
>--
>
>Regards
>
>Steven Burn
>Ur I.T. Mate Group
>www.it-mate.co.uk
>
>Keeping it FREE!
>
>
>"Ritche" <(E-Mail Removed)> wrote in

message
>news:265f01c45969$7cada750$(E-Mail Removed)...
>> I have a redirect page using PerlScript titled
>> clickthru.asp:
>> <%@LANGUAGE="PerlScript"%>
>> <%
>> my $url = $Request->QueryString('url')->Item();
>> $Response->Redirect($url);
>> %>
>>
>> I keep running into the following error when I click on

an
>> ad from a test page:
>> Error Type:
>> Active Server Pages, ASP 0240 (0x80004005)
>> A ScriptEngine threw expection 'C0000005'
>> in 'IActiveScript::SetScriptState()'
>> from 'CActiveScriptEngine::ReuseEngine()'.
>> /ads/clickthru.asp
>>
>> Has anyone run into this situation and could possibly

help
>> me out? I don't know what else to do short of learning
>> Visual Basic as an alternative.
>>
>> Thanks,
>> Ritche
>>
>>

>
>
>.
>

 
Reply With Quote
 
Ritche
Guest
Posts: n/a
 
      06-23-2004
Thanks for the script. You're right about it being Perl
specific. Unfortunately, I haven't had much luck getting
any answers from anyone using ActiveState's ActivePerl who
ran into my situation. Thanks again, Ritche

>-----Original Message-----
>Try the script below to see if it is something specific

to perlscript
>
><%@LANGUAGE="vbscript"%>
><%
> dim url
> url = Trim(Request.QueryString("url"))
> Response.Redirect url
>%>
>
>If the above works but the perlscript doesn't you will

probably need to
>track down a perlscript newsgroup for help.
>
>--
>Mark Schupp
>Head of Development
>Integrity eLearning
>www.ielearning.com
>
>
>"Ritche" <(E-Mail Removed)> wrote in

message
>news:265f01c45969$7cada750$(E-Mail Removed)...
>> I have a redirect page using PerlScript titled
>> clickthru.asp:
>> <%@LANGUAGE="PerlScript"%>
>> <%
>> my $url = $Request->QueryString('url')->Item();
>> $Response->Redirect($url);
>> %>
>>
>> I keep running into the following error when I click on

an
>> ad from a test page:
>> Error Type:
>> Active Server Pages, ASP 0240 (0x80004005)
>> A ScriptEngine threw expection 'C0000005'
>> in 'IActiveScript::SetScriptState()'
>> from 'CActiveScriptEngine::ReuseEngine()'.
>> /ads/clickthru.asp
>>
>> Has anyone run into this situation and could possibly

help
>> me out? I don't know what else to do short of learning
>> Visual Basic as an alternative.
>>
>> Thanks,
>> Ritche
>>
>>

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
new coming stffs---keep pace with fashion---ur expection!!! Mavis Fu Ruby 1 05-06-2009 05:22 PM
How to add to the classpath of Scriptengine? jeanmarc.vanel@gmail.com Java 0 12-23-2008 10:13 AM
Showing the method's class in expection's traceback Agustin Villena Python 19 05-30-2008 08:08 PM
ScriptEngine threw exception 'C0000005' David Lozzi ASP General 0 08-23-2005 12:40 PM
What Page threw the exception Gary ASP .Net 3 01-28-2004 12:31 AM



Advertisments