Failed to create 3dchart activex control


https://www.nevron.com/Forum/Topic3996.aspx
Print Topic | Close Window

By Cindy Liu - 14 Years Ago

When calling Server.CreateObject("3DCHART.NChart.7"), it returns empty. The ActiveX control is registered in the registry. I have 3DChart.tlb, 3DChartM.ocx, and NChart.lic in my web server bin directory. I also have NevronConfig and NevronTemp directories that contain NConfig.cfg. Why Server.CreateObject failed? Please help.

Thanks in advance!

Cindy

By Cindy Liu - 14 Years Ago

Actually, it didn't fail to create the chart object. It failed at NChart.ImportExport.SaveJPEGImage. Any one knows why?

Thanks,

Cindy

By Nevron Support - 14 Years Ago
Hi Cindy,

Most likely the issue is caused by the security permissions applied on the NevronTemp directory – generally you need to grant read / write list permissions to the IUSR and IIS_IUSRS accounts.


We strongly recommend using the .NET chart control (more information can be found at: http://www.nevron.com/Products.ChartFor.NET.Overview.aspx) as it is specifically designed to work with ASP.NET servers and has wider server and client side functionality.