Jump to content
Software FX Community

IIS4 crashes when displaying multiple charts!


User (Legacy)

Recommended Posts

Hi!

My webserver (specifikation below) keeps craching whenever I try show more

than one chart (JPEG in CfxTemp) at a time.

I have NO problem at all with one chart, but as soon I used a loop to

generate 5 charts IIS craches.

The WWW-services does NOT stop, IIS Manager does not start and I can not

used Controlpanel/Services to stop It eather.

So the only solution is restart and in most cases cold restart by pressing

the ON/OFF button.

I have isolated the problem area (code below), and tried different methods

to avoide taking down the webserver. I've made the directory a Application

that runs in own memory space, without result. I still have to restart!

Server specifikation

IBM

P233 MMX

288Mb RAM (200Mb) Free

1Gb Virtual Memory (850 Free)

2,5 Gb free space

OS

NT4 + SP6a (Standalone)

SQL7 + SP3

IIS4 + Frontpage Server Extensions

Components

SAFileUP (Soft Artisan)

VSForum (Videosoft)

ChartFX2000

Application

1. Retrives data from SQL server

2. Data is formated by ASP into an array 5x4x6 (5 charts, 4 series, 6

points)

3. ASP loopes thru the array generating the chart "Sub DrawChart()"

Code

<%

Sub DrawChart()

EBM_DARK_GREY = RGB(51,51,51)

%>

<HTML>

<HEAD>

<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">

</HEAD>

<BODY text="#FFFFFF" bgcolor="#<%=Hex(EBM_DARK_GREY)%>">

<%

For intKPI = 0 To 4

' Title Settings

ChartFX1.Title(2) = arBudget(intKPI, 1)

ChartFX1.RGBFont(2) = &HFFFFFF

ChartFX1.Fonts(2) = 256 'Bold

ChartFX1.OpenDataEx COD_VALUES, 4, 6

For intSeries = 0 To 3

For intPoint = 0 To 5

ChartFX1.Series(intSeries).YValue(intPoint) = arDiagram(intKPI,

intSeries, intPoint)

Next

Next

ChartFX1.CloseData COD_VALUES

strHTML = ChartFX1.GetHtmlTag(300,200,"JPEG","ChartFX1")

Response.Write(strHTML)

'Response.Write(Server.HTMLEncode(strHTML) & "<BR>" & vbCrLf )

Next

Set ChartFX1 = Nothing

End Sub

%>

--

Peter Kundu

Solution Architect

Utero Digital Media

--------------------------------------------

Phone: +46(0) 8 22 05 02

Cell Phone: +46(0) 70 445 05 76

Kungsgatan 56

SE-111 22 STOCKHOLM

SWEDEN

Web: http://www.utero.se

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...