Jump to content
Software FX Community

ScriptEngine error


User (Legacy)

Recommended Posts

My Windows 2000 application log is getting errors from ASP pages that use

the chart component. The page displays fine, but after building up a few

errors the site locks up. Has anybody else run into this problem?

This is the error message from the log:

Error: Script Engine Exception. A ScriptEngine threw exception 'C0000005' in

'IActiveScript::Close()' from 'CActiveScriptEngine::FinalRelease()'..

Link to comment
Share on other sites

Is this message logged by IIS ?

Can you describe the kind of properties/methods you are setting to the chart

?

--

Regards,

JC

Software FX, Inc.

"Dave Etter" <detter@chpsconsulting.com> wrote in message

news:U3EgE6jZBHA.1424@webserver1.softwarefx.com...

> My Windows 2000 application log is getting errors from ASP pages that use

> the chart component. The page displays fine, but after building up a few

> errors the site locks up. Has anybody else run into this problem?

>

> This is the error message from the log:

>

> Error: Script Engine Exception. A ScriptEngine threw exception 'C0000005'

in

> 'IActiveScript::Close()' from 'CActiveScriptEngine::FinalRelease()'..

>

>

>

Link to comment
Share on other sites

This error only shows up as an Active Server Page error in the application

Event Viewer. After a number of these errors I get a 400 error in the IIS

logs and then nothing works. All of my chart code is encapsulated in a

VBScript class. The methods of the class are used to build Gant, Bar,

Bubble, Line, and Pie charts.

Below is an example of the type of properties that I set:

Set ChartFX1 = Server.CreateObject("ChartFX.WebServer")

ChartFX1.Chart3D = False

ChartFX1.Palette = "ChartFX 3.0"

ChartFX1.LegendBox = False

ChartFX1.ToolBar = TRUE

ChartFX1.SerLegBox = True

ChartFX1.Axis(AXIS_Y).Visible = TRUE

ChartFX1.RGBBk = strColor

ChartFX1.SerLegBoxObj.BkColor = strColor

ChartFX1.ToolBarObj.BkColor = strColor

ChartFX1.DataEditorObj.BkColor = strColor

ChartFX1.PaletteBarObj.BkColor = strColor

ChartFX1.LegendBoxObj.BkColor = strColor

ChartFX1.PatternBarObj.BkColor = strColor

ChartFX1.MenuBarObj.BkColor = strColor

ChartFX1.MultipleColors = False

ChartFX1.Axis(AXIS_X).Title = Rs_Table("c_xtitle") & " "

ChartFX1.Axis(AXIS_Y).Title = Rs_Table("c_ytitle") & " "

ChartFX1.Axis(AXIS_X2).Title = Rs_Table("c_title") & " " & vblf & vbLf &

gphtitle & vbLf & vbLf

ChartFX1.Gallery = GANTT

ChartFX1.OpenDataEX COD_VALUES,cntGant,chartDescCnt

ChartFX1.OpenDataEX COD_INIVALUES,cntGant,chartDescCnt

ChartFX1.Series(0).Legend = Rs_Table.Fields("c_serieslbl1") & " "

ChartFX1.Series(1).Legend = Rs_Table.Fields("c_serieslbl2") & " "

j = 0

for each flddesc in Split(chartDesc, ",", -1, 1)

ChartFX1.ValueEX(0,j) = hldY1

ChartFX1.ValueEX(1,j) = hldY2

ChartFX1.Axis(AXIS_X).Label(j) =

eval(Replace(Rs_Table("c_xlabel"),"#RS#","Rs_Chart"))

j = j + 1

next

ChartFX1.CloseData COD_VALUES

ChartFX1.CloseData COD_INIVALUES

Response.Write ChartFX1.GetHtmlTag(750, 500, "Auto", "ChartFX1")

Set ChartFX1 = nothing

"Software FX Support" <support@softwarefx.com> wrote in message

news:22X6NjlZBHA.1420@webserver1.softwarefx.com...

> Is this message logged by IIS ?

> Can you describe the kind of properties/methods you are setting to the

chart

> ?

>

> --

> Regards,

>

> JC

> Software FX, Inc.

>

>

> "Dave Etter" <detter@chpsconsulting.com> wrote in message

> news:U3EgE6jZBHA.1424@webserver1.softwarefx.com...

> > My Windows 2000 application log is getting errors from ASP pages that

use

> > the chart component. The page displays fine, but after building up a

few

> > errors the site locks up. Has anybody else run into this problem?

> >

> > This is the error message from the log:

> >

> > Error: Script Engine Exception. A ScriptEngine threw exception

'C0000005'

> in

> > 'IActiveScript::Close()' from 'CActiveScriptEngine::FinalRelease()'..

> >

> >

> >

>

>

Link to comment
Share on other sites

  • 2 weeks later...

We fixed a memory leak when you set the palette property, are you using the

most recent service pack ?

--

Regards,

JC

Software FX, Inc.

"Dave Etter" <detter@chpsconsulting.com> wrote in message

news:41ndKVtZBHA.1424@webserver1.softwarefx.com...

> This error only shows up as an Active Server Page error in the application

> Event Viewer. After a number of these errors I get a 400 error in the IIS

> logs and then nothing works. All of my chart code is encapsulated in a

> VBScript class. The methods of the class are used to build Gant, Bar,

> Bubble, Line, and Pie charts.

>

> Below is an example of the type of properties that I set:

>

> Set ChartFX1 = Server.CreateObject("ChartFX.WebServer")

> ChartFX1.Chart3D = False

> ChartFX1.Palette = "ChartFX 3.0"

> ChartFX1.LegendBox = False

> ChartFX1.ToolBar = TRUE

> ChartFX1.SerLegBox = True

> ChartFX1.Axis(AXIS_Y).Visible = TRUE

> ChartFX1.RGBBk = strColor

> ChartFX1.SerLegBoxObj.BkColor = strColor

> ChartFX1.ToolBarObj.BkColor = strColor

> ChartFX1.DataEditorObj.BkColor = strColor

> ChartFX1.PaletteBarObj.BkColor = strColor

> ChartFX1.LegendBoxObj.BkColor = strColor

> ChartFX1.PatternBarObj.BkColor = strColor

> ChartFX1.MenuBarObj.BkColor = strColor

> ChartFX1.MultipleColors = False

> ChartFX1.Axis(AXIS_X).Title = Rs_Table("c_xtitle") & " "

> ChartFX1.Axis(AXIS_Y).Title = Rs_Table("c_ytitle") & " "

> ChartFX1.Axis(AXIS_X2).Title = Rs_Table("c_title") & " " & vblf & vbLf &

> gphtitle & vbLf & vbLf

> ChartFX1.Gallery = GANTT

> ChartFX1.OpenDataEX COD_VALUES,cntGant,chartDescCnt

> ChartFX1.OpenDataEX COD_INIVALUES,cntGant,chartDescCnt

> ChartFX1.Series(0).Legend = Rs_Table.Fields("c_serieslbl1") & " "

> ChartFX1.Series(1).Legend = Rs_Table.Fields("c_serieslbl2") & " "

> j = 0

> for each flddesc in Split(chartDesc, ",", -1, 1)

> ChartFX1.ValueEX(0,j) = hldY1

> ChartFX1.ValueEX(1,j) = hldY2

> ChartFX1.Axis(AXIS_X).Label(j) =

> eval(Replace(Rs_Table("c_xlabel"),"#RS#","Rs_Chart"))

> j = j + 1

> next

> ChartFX1.CloseData COD_VALUES

> ChartFX1.CloseData COD_INIVALUES

> Response.Write ChartFX1.GetHtmlTag(750, 500, "Auto", "ChartFX1")

> Set ChartFX1 = nothing

>

> "Software FX Support" <support@softwarefx.com> wrote in message

> news:22X6NjlZBHA.1420@webserver1.softwarefx.com...

> > Is this message logged by IIS ?

> > Can you describe the kind of properties/methods you are setting to the

> chart

> > ?

> >

> > --

> > Regards,

> >

> > JC

> > Software FX, Inc.

> >

> >

> > "Dave Etter" <detter@chpsconsulting.com> wrote in message

> > news:U3EgE6jZBHA.1424@webserver1.softwarefx.com...

> > > My Windows 2000 application log is getting errors from ASP pages that

> use

> > > the chart component. The page displays fine, but after building up a

> few

> > > errors the site locks up. Has anybody else run into this problem?

> > >

> > > This is the error message from the log:

> > >

> > > Error: Script Engine Exception. A ScriptEngine threw exception

> 'C0000005'

> > in

> > > 'IActiveScript::Close()' from 'CActiveScriptEngine::FinalRelease()'..

> > >

> > >

> > >

> >

> >

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...