Today, when I try to run my WinForms and ASP.NET apps that use LL18, when I try to instantiate a ListLabel object like so:
var ll = new ListLabel(llLanguage.Value) { LicensingInfo = _licenseKey };
I get this error:
System.DllNotFoundException occurred
HResult=-2146233052
Message=Unable to load DLL ‘cmll18.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Source=combit.ListLabel18
TypeName=“”
StackTrace:
at combit.ListLabel18.NativeMethods.LlJobOpen32(Int32 nLanguage)
at combit.ListLabel18.LlCore.LlJobOpen(Int32 language)
at combit.ListLabel18.ListLabel.Init(LlLanguage language, CultureInfo culture, Boolean enableCallbacks, String debugLogFilePath)
at combit.ListLabel18.ListLabel…ctor(LlLanguage language)
at ReportingLibrary.Reporting.CreateListLabelInstance(ReportLanguage language) in c:\ReportingLibrary\Reporting.cs:line 406
InnerException:
This code has been working fine for the past few weeks. The cmLL18.dll is not a regular assembly so I cannot add it as a reference to my solution, and I don’t think it would make sense to do so anyhow. The projects in my solution do reference the combit.ListLabel18.dll 18.4.4946.25400.
Any ideas why I would start getting this error and/or what I can do to fix the problem? Thanks!