Dynamic link library (DLL) errors received
search cancel

Dynamic link library (DLL) errors received

book

Article ID: 93591

calendar_today

Updated On:

Products

CA Business Service Insight

Issue/Introduction

Full errors received read:

<errors><reporter>ReportManager</reporter><error><error_level>ERROR</error_level><error_code><number>-2147023782</number><symbol>OE_COM</symbol></error_code><coding_context><method>GenerateFavorites</method><line>736</line><file>ReportManager.cpp</file><coding_time>Tue Aug 15 11:06:35 2017</coding_time></coding_context><external_message>A dynamic link library (DLL) initialization routine failed.</external_message><info/></error></errors>
[GenerateFavorites]

<errors><error><coding_context><file>D:\Build\Branches\8.3.5-OnGoing\BuildDir\Reports\src\Reports\ReportManagement.cs</file><method>GetResultReportXML</method><line>511</line></coding_context><info>&lt;errors&gt;&lt;reporter&gt;ReportManager&lt;/reporter&gt;&lt;error&gt;&lt;error_level&gt;ERROR&lt;/error_level&gt;&lt;error_code&gt;&lt;number&gt;-2147023782&lt;/number&gt;&lt;symbol&gt;OE_COM&lt;/symbol&gt;&lt;/error_code&gt;&lt;coding_context&gt;&lt;method&gt;GenerateFavorites&lt;/method&gt;&lt;line&gt;736&lt;/line&gt;&lt;file&gt;ReportManager.cpp&lt;/file&gt;&lt;coding_time&gt;Tue Aug 15 11:06:35 2017&lt;/coding_time&gt;&lt;/coding_context&gt;&lt;external_message&gt;A dynamic link library (DLL) initialization routine failed.&lt;/external_message&gt;&lt;info/&gt;&lt;/error&gt;&lt;/errors&gt;
;Inner exception: System.IO.FileLoadException: &lt;errors&gt;&lt;reporter&gt;ReportManager&lt;/reporter&gt;&lt;error&gt;&lt;error_level&gt;ERROR&lt;/error_level&gt;&lt;error_code&gt;&lt;number&gt;-2147023782&lt;/number&gt;&lt;symbol&gt;OE_COM&lt;/symbol&gt;&lt;/error_code&gt;&lt;coding_context&gt;&lt;method&gt;GenerateFavorites&lt;/method&gt;&lt;line&gt;736&lt;/line&gt;&lt;file&gt;ReportManager.cpp&lt;/file&gt;&lt;coding_time&gt;Tue Aug 15 11:06:35 2017&lt;/coding_time&gt;&lt;/coding_context&gt;&lt;external_message&gt;A dynamic link library (DLL) initialization routine failed.&lt;/external_message&gt;&lt;info/&gt;&lt;/error&gt;&lt;/errors&gt;

at REPORTMANAGERDOLib.IReportManager.GenerateFavorites(Object context, Int32 favId, Object report, String templatePath, Int32 isDebug, Object&amp; retReport)
at Oblicore.Components.Report.Report.GetResultReportXML(Int32 ReportID, XmlDocument xmlDomRep, String sFullTemplateFileName, Int32 isDebug) in D:\Build\Branches\8.3.5-OnGoing\BuildDir\Reports\src\Reports\ReportManagement.cs:line 511
at Oblicore.Web.Reports.ReportChart.GenerateReportByGenXML()</info></error></errors>

Environment

CA Business Insights

All Supported Operating Systems

Resolution

If you get the error "A dynamic link library (DLL) initialization routine failed" that suggests that one of the DLLs aren't registered in the registry correctly. This can be corrected by the regfiles.bat script:

Open CMD
CD %OG_HOME%\bin
regfiles.bat 3

(This will unregister and then re-register all DLLs)

Open the regfiles.log file created in '%OG_HOME%\bin' folder in order to ensure it contains no errors.

Note: The error message: "ERROR: The system was unable to find the specified registry key or value." should be disregarded if on the line above it contains the text ". Any error below can be ignored."