?
Solved

help on error message

Posted on 2003-10-25
5
Medium Priority
?
501 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 500 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

831 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