none
Getting error while running application inside Docker windowsservercore (Docker container) RRS feed

  • Question

  • Hi,

    We are getting below error while running it inside container:

    Unhandled Error Encountered:
    System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
       at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
       at System.Windows.Forms.WebBrowserBase.TransitionFromPassiveToLoaded()
       at System.Windows.Forms.WebBrowserBase.TransitionUpTo(AXState state)
       at System.Windows.Forms.WebBrowserBase.OnParentChanged(EventArgs e)
       at System.Windows.Forms.Control.AssignParent(Control value)
       at System.Windows.Forms.Control.ControlCollection.Add(Control value)

    We tried the same on full windows installation and it is working fine, also application runs only on CLI mode, but still it somehow need some GUI component, is there any way to add whatever is missing inside container?

    Thanks

    Friday, December 1, 2017 11:26 AM