473,466 Members | 1,388 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ScriptEngine threw expection ... Error

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
Jul 19 '05 #1
4 6133
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" <an*******@discussions.microsoft.com> wrote in message
news:26****************************@phx.gbl...
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

Jul 19 '05 #2
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" <an*******@discussions.microsoft.com> wrote in message
news:26****************************@phx.gbl... 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

Jul 19 '05 #3
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" <an*******@discussions.microsoft.com> wrote in messagenews:26****************************@phx.gbl...
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

.

Jul 19 '05 #4
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 totrack down a perlscript newsgroup for help.

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Ritche" <an*******@discussions.microsoft.com> wrote in messagenews:26****************************@phx.gbl...
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

.

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: David Lozzi | last post by:
Hello, I'm receving the following on my webserver (Windows 2003 Server SP1) Event ID: 5 Source: Active Server Pages Error: File /KQShopping/ordercomplete4.asp Script Engine Exception. A...
1
by: Colin | last post by:
Hi there, I have wrote a simple console app in C# to get the dimensions for a jpeg file /*** Image img = Image.FromFile(@"C:\TEMP\PvFile\1036437.jpg", true); LogEvent("Height = " +...
0
by: Jonathan G. | last post by:
I'm writing my first windows service. I have a class called 'mainprocess' whose constructor is called by the service class. Within mainprocess, I declare an instance of another class I wrote,...
3
by: itsupport1 | last post by:
Hello Experts, I am having a problem in VB.net. I am using Multithreaded application. but due to some reason I am getting this error message "The Server Threw an Exception". I can't understand...
6
by: Aero | last post by:
Hi, My window application written in C# is throwing following exception while connecting to one FTP location The type initializer for System.Net.Sockets.Socket threw an exception This exe is...
4
by: =?Utf-8?B?YmlqYXk=?= | last post by:
We migrated our windows application from 1.1 to 2.0. The debug and Release mode of the application work fine with some tweaking. But when the setup project is migrated to 2.0 the installation gives...
1
by: =?Utf-8?B?U3VzYW4=?= | last post by:
I am in the process of upgrading my application to Visual Studio 2005 and the ..Net 2.0 Framework. When I run my application in Debug, I get several hundred lines of the following message in the...
2
hsn
by: hsn | last post by:
hello everyone i have posted a question before and i was told to read about scriptengine in java after reading about it and studying it i still was not able to solve the issue which i am facing. ...
10
by: arvindkuk | last post by:
how to work with expection handing in which when i am using try block then the error message coming that "undefined symbol try" why it is so, please solve my problem.
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.