Page 1 of 1

WebChart just display Red X in 2003 Server environment.

Posted: Thu Mar 29, 2007 3:48 am
by 9640841
Hello:

I got a problem that Webchart runs fine in my develop environment.( OS: xp professional, VS2005, TeeChartNET2). But it just display the red X with no any error messages after I publish web site on Windows 2003 server. I have try serveral methods include the original source files(*.aspx, *.cs) or follow the tutorial 9 , 17 but can't get any improved. Finally, I decide to intall the TeeChart component on the server but got the same result even the Teechart sample programs. My confuse is that Why it runs good in XP pro(have try 3 times) but failed in 2003 server(have try 2 times). Please help me this in advance and urgently , thanks.

BR

-Vincent Kuo.

I find the point but another problem occurs.

Posted: Thu Mar 29, 2007 7:22 am
by 9640841
Hello:

I find the point that because I want to save the JPG of the webchat and it didn't work fine. Then the red cross appears. Another question now, please advice me how can I do to save the JPG successfully at IIS6.0 in windows 2003 server. I had try to add the access right of the folder but means nothing.

br

-Vincent Kuo.

Posted: Thu Mar 29, 2007 7:59 am
by narcis
Hi Vincent,

It's most likely that the problem is a permissions problem in the server's folder where charts need to be stored.

I'd recommend you set TempChart property to session as told in "Tutorial9 - ASP.NET Applications", at the "TempChart property - File, Session, Cache or Httphandler" section. Don't forget to add the GetChart.aspx.cs file in the project.

Posted: Thu Mar 29, 2007 10:44 am
by 9640841
Hi, Narcís:

Thanks for UR reminding, I did that all already. At the first, I also think it's permission problem but the same result even I set Administrator role to the folder on server. Do U have any experince like that ? Or U can advice me another solution to get the JPG from the client. Thanks.

BR

-Vincent Kuo.

Posted: Thu Mar 29, 2007 10:49 am
by narcis
Hi Vincent,

An alternative would be setting WebChart's TempChart property to "Session" an include GetChart.aspx.cs at your project. Can you please confirm you have tried that?

If the problem persists could you please send us a simple example project we can run "as-is" to reproduce the problem here?

You can post your files at news://www.steema.net/steema.public.attachments newsgroups or at http://www.steema.net/upload.

Thanks in advance.

Posted: Thu Mar 29, 2007 11:54 am
by 9640841
Hi, Narcís:

Thanks for ur time. I have solve the problem. As u and me think first, it's a permission problem and the key is "IIS_WPG". On IIS 6.0 , U must grant the permission for it. And it works fine now. :lol: