Random error : Class not registered(HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)

Posted by: karthik.pandiyan on 16 July 2019, 7:49 pm EST

    • Post Options:
    • Link

    Posted 16 July 2019, 7:49 pm EST

    A strange error randomly appears everytime we try to open a report.

    If I restart iis, it disappears.

    This happen every 1 or 2 days.

    Unspecified error —> System.TypeInitializationException: The type initializer for ‘DevExpress.Web.ASPxGrid.ASPxGrid’ threw an exception. —> System.Runtime.InteropServices.COMException: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) at DevExpress.Web.ASPxGrid.ASPxGrid…cctor() — End of inner exception stack trace — at DevExpress.Web.ASPxGrid.ASPxGrid…ctor() at ASP.webmodules_projectmanager_taskcontrols_briefimplementations_ascx.__BuildControlImplementationsList() at ASP.webmodules_projectmanager_taskcontrols_briefimplementations_ascx.__BuildControlTree(webmodules_projectmanager_taskcontrols_briefimplementations_ascx __ctrl) at ASP.webmodules_projectmanager_projnavigator_edittask_aspx.__BuildControlBriefImplementations() at ASP.webmodules_projectmanager_projnavigator_edittask_aspx.__BuildControl__control14(GxPageViewContentContainer __ctrl) at ASP.webmodules_projectmanager_projnavigator_edittask_aspx.__BuildControl__control13() at ASP.webmodules_projectmanager_projnavigator_edittask_aspx.__BuildControl__control8(GxPageViewCollection __ctrl) at ASP.webmodules_projectmanager_projnavigator_edittask_aspx.__BuildControlEditTaskMultiPageGx() at ASP.webmodules_projectmanager_projnavigator_edittask_aspx.__BuildControlContent(Control __ctrl) at System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(Control contentPlaceHolder, ITemplate template) at ASP.masterpages_basemasterpage_master.__BuildControlC() at ASP.masterpages_basemasterpage_master.__BuildControlContentPlaceHolderPanel() at ASP.masterpages_basemasterpage_master.__BuildControlform1() at ASP.masterpages_basemasterpage_master.__BuildControlBodyControl() at ASP.masterpages_basemasterpage_master.__BuildControlTree(masterpages_basemasterpage_master __ctrl) at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) at System.Web.UI.Page.get_Master() at System.Web.UI.Page.ApplyMasterPage() at System.Web.UI.Page.PerformPreInit() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) — End

  • Posted 17 July 2019, 5:21 pm EST

    Hello Karthik,

    I am not able to find any error related to Grapecity in the StackTrace. From this “System.TypeInitializationException: The type initializer for ‘DevExpress.Web.ASPxGrid.ASPxGrid’ threw an exception”, I think this issue is related to DevExpress product. Could you please contact the DevExpress for the same.

    I have found the following links on the net to resolve this issue.

    http://stackoverflow.com/questions/11077477/class-not-registered-exception-from-hresult-0x80040154-regdb-e-classnotreg

    http://stackoverflow.com/questions/1496214/how-to-solve-com-exception-class-not-registered-exception-from-hresult-0x80040

    If I am missing anything, could you please explain in the detail.

    Thanks.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels