I have developed a console application that try to make a fusuion chart image using the sample code you sended to me.
But when I do debug it I get the following exception from your code. Any tips why is that happening. when I used the library in a web context. it works fine. Only in the context of a console application it fails.
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
System.Windows.Forms
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at Mamerto.ServerSideHandlerBase.initializeObjects() in mypathFusionChartsServerSideHandlerBase.cs:line 161