Software FX Posted September 21, 2000 Report Share Posted September 21, 2000 Have you tried the samples installed with the product ? Have you tried reinstalling the trial ? Regards, Juan Cegarra Software FX, Inc. support.softwarefx.com -----Original Message----- From: Greg Dunlap [mailto:gdunlap@buzzbait.com] Posted At: Monday, September 04, 2000 5:10 PM Posted To: Server Conversation: ChartFXIE Server causing IIS to crash when OpenDataEx is called Subject: ChartFXIE Server causing IIS to crash when OpenDataEx is called Hello, I downloaded the ChartFXIE component recently and am having a problem. I started developing a chart on a local Win98 machine using PWS and it worked great. I got the chart to a point where I felt like I wanted to try it on our production server (NT 4 and IIS), so I installed the component there. Now every time I get to my OpenDataEx call, the CPU usage goes to 100% and inetinfo.exe is taking up all the CPU's resources. I know exactly where this is happening through uncommenting everything and slowly adding stuff back in until I get to the call to OpenDataEx, as soon as that is uncommented the whole thing goes kablooie. The code snippet is below. Can anyone help? I fully intend to register and buy this product if I can get it to a point where it works. Code snippet follows below. Thanks, Greg Dunlap Lead Technologist Buzzbait gdunlap@buzzbait.com ------------------------------------------------------------------------------------------------------------- ' database connection and HTML header information snipped SET objChartFX = Server.CreateObject("ChartFX.WebServer") ' CfxIE code for main attributes objChartFX.Type = 596262923 ' CfxIE code for visual attributes objChartFX.LeftGap = 52 objChartFX.VertGridGap = 1 objChartFX.Grid = 3 objChartFX.MarkerVolume = 70 objChartFX.View3DDepth = 60 objChartFX.View3DLight = 0 objChartFX.RGBBk = 2147483648 objChartFX.MarkerSize = 1 objChartFX.RGBBk= RGB(0, 0, 0) objChartFX.ItemWidth(2)= 3 objChartFX.RGBFont(4) = RGB(255, 255, 255) objChartFX.RGBFont(5) = RGB(255, 255, 255) objChartFX.Adm(1) = 1 objChartFX.Adm(2) = 1 objChartFX.Adm(4) = 1 strSQL = sqlString SET objRecordset = Server.CreateObject("ADODB.Recordset") objRecordset.Open strSQL, objDataConn, adOpenKeyset, adLockOptimistic, adCmdText objChartFX.OpenDataEx 1, 2, 12 objChartFX.ThisSerie = 0 FOR intDimension = 0 TO 11 objChartFX.Legend(intDimension) = objRecordset("Description") objChartFX.Value(intDimension) = objRecordset("Value") objRecordset.MoveNext NEXT objRecordet.Close objChartFX.CloseData 0 %> <%= objChartFX.GetHtmlTag(800,400,"JPEG","objChartFX")%> </body> </html> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.