When connecting a transaction object to an OData service, the application crashes.

         This only occurs when deploying the application to another computer.

         It works on a development computer with PowerBuilder installed.


         Deployed applicaiton using an ODATA database connection on machine where the PB IDE is not installed PowerBuilder


Due to the limitation of PB runtime package, the command  "regasm" cannot be run automatically.  Please use the following workaround.

1.      To deploy,Sybase.PowerBuilder.ODataWrapper.dll  should be deployed with the PowerBuilder runtime packager by checking the box for OData checkbox under 'Database Interfaces'.

2.      Then run the following command to register the assembly as a COM component:

                   regasm Sybase.PowerBuilder.ODataWrapper.dll /tlb:Sybase.PowerBuilder.ODataWrapper.tlb /codebase

For Windows 7 installations,

use the 32-bit regasm.exe. The default location is :\Windows\Microsoft.NET\Framework\v4.0.30319.

use the 64-bit regasm.exe,  The default location is :\Windows\Microsoft.NET\Framework64\v4.0.30319.