Solved

help on error message

Posted on 2003-10-25
5
485 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
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…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

911 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

20 Experts available now in Live!

Get 1:1 Help Now