Invalid Version, 1005 (expected 17391) in object file

mgerbi

New Member
I need to update a .p file I developed on a customer's machine. I have access to the file but not the original development workstation, so I tried using mine and updated the file and compiled to a .r file and made the update, but I get this error when it tries to run.

We are both using OpenEdge 10.2A SP3 HotFix 23 but they are 64 bit and I'm 32 bit. Is there any way to update this file without using their OpenEdge or having to install a 64 bit version on my machine?
 
As you indicated, the error means it's a 32-bit .r being run with a 64-bit runtime.

To create the correct .r you need a 64-bit compiler. Is there a development license of any kind at the client site? If so, you could xcode the .p (optional, if you care about source confidentiality), transfer to the client site, and compile there against their database(s) (if the file contains DB access code).

If you don't have access to a 64-bit compiler at the client site then you will need to find one at your site. And if you have to compile against a database, you will also need to dump their schema so you can create an empty database to compile against.

How do you typically support this client? Do you ship source to them and have them compile it? If so where is the compilation done?
 
Usually I update through a progress editor that is built in to their ERP system, but this was a special customization that required to make a file instead. They have a development license but I would have to set it up, it would actually be easier to setup a 64 bit install on my machine.

Could you xcode the .p without any issues or would the same 32 vs 64 bit issue still arise?
 
As far as I know xcode just encrypts the file under a given cipher and key, so there shouldn't be 32-bit vs. 64-bit concerns. Once the encrypted .p is on their system you should be able to compile it with their 64-bit compiler.
 
Back
Top