?
Solved

help on error message

Posted on 2003-10-25
5
Medium Priority
?
495 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

764 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