Symptoms
Reporter runs in the primary server without problems
Reporter crashes with Run time error 457. This key is already associated with an element of this collection when runs on a client machine
Facts and Changes
Keywords
Run time error 457.
This key is already associated with an element of this collection.
Reporter error in client
Reporter error in 5.0
Cause
Primary server has ION Enterprise 5.0 SP4 installed.
Client workstation has ION Enterprise 5.0 with a lower SP.
All of the programs (.exes) and dynamic link libraries (.dlls) are stored locally on client machines, so when repgen is run, it uses the exes and dlls from the machine on which it is run.
When service packs are applied they should run in both primary and client machines.
Resolution
Upgrade the client workstation to the same service pack as the primary server.
If possible, apply the latest service pack in both computers.
Workaround
Copy the files from the primary to the client (pmlrepcfg.dll, pmlrepgen.dll, repgen.exe). Note that the dlls should be registered.