System crash using OWC on XP Pro

  • Thread starter Ricardo - W3net
  • Start date
R

Ricardo - W3net

I'm using OWC to produce charts in server side (IIS / ASP). The OS is Windows
XP Pro running in a notebook.
The application appears to be normal with several charts appearing normaly.
Som seconds (or minutes ) after I receive a popup with message of "COM
surrogate error", in DLLHOST.EXE that crash and reset IIS, logged in Event
Viwer with Application Error, Event id 1000.

I've made several tests:
- OWC10, OWC11, WinXP without service pack, WinXP with Service Pack 2,
etc. The problem ALWAYS occurs. But if I change the OS to Windows 2000 or
Windows 2003 the problem NEVER occurs.

I'm sure that the problem occurs with OWC + WinXP.

I have alread search in web for a solution and I've found exact the same
problem but no solution. (recently someone wrote that OWC11 appears to solve
the problem, but I did this test and the same problem OCCURED also with
OWC10+WinXP or OWC11+WinXP).

Please help.

Thanks,
Ricardo
 
G

Guest

you're running IIS on XP pro?

what do you mean by serverside-- are you doing ASP.net?

plain old ASP with ActiveX controls?

explain
 
R

Ricardo - W3net

Yes, I am running IIS in XP pro.
I am running ASP (not ASP.net), and i am using OWC to produce an image that
goes to client through HTML (ex. <img src="show_graph.asp">).

The file show_graph.asp looks like this:

<%@ Language=VBScript %>
<%
vetorX = Request("vetorX")
vetorY = Request("vetorY")
vetorCor = Request("vetorCor")

X = split(vetorX,"|")
Y = split(vetorY,"|")
Cor = split(vetorCor,"|")

set objChartSpace = Server.CreateObject("OWC10.ChartSpace")
set c = objChartSpace.Constants
set objChart = objChartSpace.Charts.Add()
objchart.Type = C.chChartTypeColumnClustered

objChart.HasTitle = True
objChart.Title.Caption = titles
objChart.Title.Font.Bold = True

objChart.SeriesCollection.Add
set objSeries = objChart.SeriesCollection
objSeries(0).SetData c.chDimValues, -1, x
objSeries(0).SetData c.chDimCategories, -1, y
objSeries(0).DataLabelsCollection.Add
objSeries(0).DataLabelsCollection(0).NumberFormat = "0%"
objSeries(0).Interior.Color = Cor(0)

(etc, etc, etc, etc, etc.............................)

Response.BinaryWrite objChartSpace.GetPicture("GIF", width, height)
%>

Ricardo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top