Solved

help on error message

Posted on 2003-10-25
5
489 Views
Last Modified: 2008-02-01
any ideas what could be causing this error? what script properties tend to cause this type of problem?

Active Server Pages error 'ASP 0240'

Script Engine Exception

/cms/Authoredit.asp

A ScriptEngine threw expection 'C0000005' in 'IActiveScript::AddNamedItem' from 'CActiveScriptEngine::RequestItems()'.

Active Server Pages error 'ASP 0240'

Script Engine Exception

/cms/Authoredit.asp

A ScriptEngine threw expection 'C0000005' in 'IActiveScriptParse::ParseScriptText()' from 'CActiveScriptEngine::AddScriptlet()'.

thanks
0
Comment
Question by:txtphile
5 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 125 total points
ID: 9620511
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 9620517
txtphile,
Please read this article to get more details about your error message :
http://www.aspfaq.com/show.asp?id=2355

Regards
x_com
0
 
LVL 29

Expert Comment

by:David H.H.Lee
ID: 9620524
sorry GaryC123, not saw your comments before i post.

x_com
0
 
LVL 21

Expert Comment

by:ap_sajith
ID: 9621715
If the scripting engine is in the initialized state, no code will actually be evaluated during this call; rather, such code is queued and executed when the scripting engine is transitioned into (or through) the started state. Because execution is not allowed in the initialized state, it is an error to call this method with the SCRIPTTEXT_ISEXPRESSION flag when in the initialized state.

The scriptlet can be an expression, a list of statements, or anything allowed by the script language. For example, this method is used in the evaluation of the HTML <SCRIPT> tag, which allows statements to be executed as the HTML page is being constructed, rather than just compiling them into the script state.

The code passed to this method must be a valid, complete portion of code. For example, in VBScript it is illegal to call this method once with Sub Function(x) and then a second time with End Sub. The parser must not wait for the second call to complete the subroutine, but rather must generate a parse error because a subroutine declaration was started but not completed.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/IActiveScriptParse_ParseScriptText.asp

Cheers!!
0
 

Author Comment

by:txtphile
ID: 9622229
Thanks for the leads - gary - quick on the draw will get the points. I do not know whether the information is going to help me solve them problem but it is a good starting point - prob a naughty com object playing up .. ap_sajith i will read your post when i have a little less 'brain drain' there is thought for food - lunch is served!!

cheers
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Age between date range query (SP) 13 69
Change visitor's REMOTE_ADDR to server's REMOTE_ADDR 2 38
alert(innerHTML); 8 32
Syntax for query to update table 2 29
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question