vico

Members
  • Content count

    2
  • Joined

  • Last visited

About vico

  • Rank
    Forum Newbie
  1. The problem is located in the initializeObjects() function in the ServerSideHandlerBase class library when the code executes the following line: shObj.EndInit(); Also it only occours when I call my library that used your library in a console application, with web application it works like a charm. I'm totaly lost abotu what's going on.
  2. 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