System.DllNotFoundException: Unable to load DLL Invalid access to memory location. (Exception from

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<p style="margin:0in 0in 0.0001pt <span style="color:#c00000
<p style="margin:0in 0in 0.0001pt <span style="color:#c00000 System Specification;
<p style="margin:0in; margin-bottom:.0001pt <span style="color:#C00000 OS: Windows XP SP2
<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt Problem on Client Location: Not able to run Dll methods and sudden after changing date of system, Dll is working fine. I am not able to figure out what was the exact problem.
<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt Dll file description: - DataRun.DLL is created using vc++ 6.0 MFC lib. It also use some supported files MFC42D.DLL, MFCN42D.DLL and MSVCRTD.DLL.
<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt It runs properly. Even we have deployed this Dll in more than 4000 system.

<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt <span style="color:#00B050 In one client system we faced problem:-

<p style="margin:0in; margin-bottom:.0001pt <span style="color:#00B050
<p style="margin:0in; margin-bottom:.0001pt System.DllNotFoundException: Unable to load DLL DataRun.DLL: Invalid access to memory location. (Exception from HRESULT: 0x800703E6)
<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt I was not able to figure out problem and finally I checked system time and I found System date was set 12-sept-2099.So I thought I should change system time I changed it to current date 29/06/2011.And sudden
everything was working.
<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt Already Attempt:
<p style="margin:0in; margin-bottom:.0001pt
<p style="margin:0in; margin-bottom:.0001pt Because it is not exactly clear that how problem has been resolved after changing time. So I checked it more than one system with date 2099, I found same exception. As I changed date to current everything was working.
<p style="margin:0in; margin-bottom:.0001pt
<span style="font-size:12.0pt; line-height:115%; font-family:Times New Roman,serif What can be the issue? Problem has been resolved but clear the things that how can It resolve by changing the time.
<span style="font-size:12.0pt; line-height:115%; font-family:Times New Roman,serif; color:red Is there any link between date and Dll.
<span style="font-size:12.0pt; line-height:115%; font-family:Times New Roman,serif
<span style="font-size:12.0pt; line-height:115%; font-family:Times New Roman,serif; color:#C00000 Please help us to understand the problem and solution.
<span style="font-size:12.0pt; line-height:115%; font-family:Times New Roman,serif In case of any other clarification please revert.
<span style="font-size:12.0pt; line-height:115%; font-family:Times New Roman,serif I will be thankful.
<span style="font-size:12.0pt; line-height:115%; font-family:Times New Roman,serif




View the full article
 
Back
Top