Solved

help on error message

Posted on 2003-10-25
5
484 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
Comment Utility
0
 
LVL 29

Expert Comment

by:David H.H.Lee
Comment Utility
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
Comment Utility
sorry GaryC123, not saw your comments before i post.

x_com
0
 
LVL 21

Expert Comment

by:ap_sajith
Comment Utility
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
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now