I am developing on Windows 7 using MS Visual Studio 2010. Everything works fine when I run the application on my workstation. In fact, I'm extremely happy with the way everything is running on this machine.
I need to test this any my other WPF application on XP -- They work together. I copied the executables and config files onto a thumbdrive and then copied them onto the XP machine. When I start the windows service program, I'm getting the following error in the event log:
Code: Select all
2011-12-01 16:59:37,019 [1] ERROR StampReads::StampReads [(null)] - Unable to retrieve the Site with ID 438a42bc-9d7c-4651-bd76-ec2ff1089524: An error occurred while trying to retrieve a Site because an error occurred in the database during the operation.
The underlying provider failed on Open. (Exception class EntityException)
Assembly that contains embedded dotConnect for PostgreSQL license cannot be used with this application: LPRCore.exe.
Please correct license information. (Exception class PgSqlException)
What do I have to do to make this work?
Regarding my WPF program:
I am now getting the following message when this program first tries to retrieve data from the PostgreSql database ON THE SAME XP MACHINE:
Code: Select all
Could not load file or assembly Devart.Data.PostgreSql Version 5.30.172.0 Culture=neutral, ....
I have even deleted the references to the Devart DLLs and added them back into the DLL with no difference. Everything runs fine on my development workstation but I get the same error about the wrong DLL version on XP.
Here is the contents of the licenses.licx file in this class library:
Code: Select all
Devart.Data.PostgreSql.PgSqlConnection, Devart.Data.PostgreSql, Version=5.50.214.0, Culture=neutral, PublicKeyToken=09af7300eec23701
Tony