From: A.
Sent: Sunday, August 07, 2011 9:43 AM
To: Zbynek Zahradnik
Subject: Re: Order confirmation, and license file
Hi Zbynek,
..... I have a technical problem: I can't run my applications on my customer's machine (a panel pc, running XP SP3, MUI Version, currently set to english, and a TwinCAT application - whose data are accessed by my program).
I don't have any problems on my development machine (Win7 x64, german) and on my netbook (XP SP3, german).
The application stopps in the initialization phase with a FileLoadException for EasyOpcClassicNet.
It is compiled for .NET 3.5, and, as I said, it runs fine on my development machines. NET 3.5 is installed correctly on the machine, and my application ran fine until the point I linked it to your dlls.
So, I just compiled the ConsoleApplication1 from the Bonus pack - runs fine on my netbook, and crashes on my customer's machine:
C:\WPS\temp1>ConsoleApplication1.exe
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl y 'EasyOpcClassicNet, Version=5.10.1257.1, Culture=neutral, PublicKeyToken=6fadd ca41dacb409' or one of its dependencies. This application has failed to start be cause the application configuration is incorrect. Reinstalling the application m ay fix this problem. (Exception from HRESULT: 0x800736B1) File name: 'EasyOpcClassicNet, Version=5.10.1257.1, Culture=neutral, PublicKeyTo ken=6faddca41dacb409' ---> System.Runtime.InteropServices.COMException
(0x800736
B1): This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.
(Exception from
HRESULT: 0x800736B1)
at ConsoleApplication1.Program.Main(String[] args)
The funny thing is: the EasyOpcNetDemo you provide in the .\Demo subdirectory runs fine.
So, I'm pretty sure it's something related to the way I compile my applications.
Do you have any idea? What are the things I could have forgotten? What further information could be helpful for you?
Best Regards,
A.