Unable to load DLL 'coredll.dll'

3 messages Options
Embed this post
Permalink
alana1

Unable to load DLL 'coredll.dll'

Reply Threaded More More options
Print post
Permalink
I am getting the below issue when executing 'internal static Logger mobjLogger = LogManager.GetLogger("MyLogger") using the NLog refresh version. However, if I replace the NLog refresh version to the version prior to the refresh version, the code will execute just fine. Any thoughts?

Below is the exception thrown:

System.TypeInitializationException: The type initializer for 'MyLogger' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Thanks.
Jaroslaw Kowalski

RE: Unable to load DLL 'coredll.dll'

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Can you check that you are using the same build in both cases? Coredll.dll indicates tha you may be using compact framework build instead of .net.

Jarek



From: alana1 (via Nabble) <[hidden email]>
Sent: Sunday, September 20, 2009 9:51 PM
To: Jaroslaw Kowalski <[hidden email]>
Subject: Unable to load DLL 'coredll.dll'

I am getting the below issue when executing 'internal static Logger mobjLogger = LogManager.GetLogger("MyLogger") using the NLog refresh version. However, if I replace the NLog refresh version to the version prior to the refresh version, the code will execute just fine. Any thoughts?

Below is the exception thrown:

System.TypeInitializationException: The type initializer for 'MyLogger' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'coredll.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Thanks.
alana1

RE: Unable to load DLL 'coredll.dll'

Reply Threaded More More options
Print post
Permalink
Hi Jarek,

It the issue was due to the NLog.dll compact version I used. Thank you for pointing me to the right direction.

As always, I appreciate the great work.

Regards,

Alan