Skip to Content
avatar image
Former Member

C# application logs on to peoplesoft db on 32bit but not on 64bit

A c# command line tool called crexport.exe works well. however, on a 64 bit windows machine is not able to authenticate to the database.

Same code completes without problem on 32 bit.

For more information see: http://stackoverflow.com/questions/43899015/crexport-exe-on-64-bit-system-faile-to-log-on-to-database

All source code is at https://github.com/aaroncalderon/Crystal-Reports-Exporter/tree/issue-logonToDatabase

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 16, 2017 at 11:33 PM

    Hi Aaron,

    The tool is 32 bit so you will need a 32 bit driver for your PeopleSoft database for it to work. It won't work with a 64 bit driver.

    Brian

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      So, basically I installed:

      • .NET Framework 32bit (offline installer has both versions)
      • CR for VS Runtime 32bit

      And I compiled my tools with a target of x86.

      That fixed the issue.

      In other words, the tool was not 32bit. Compiling against a target of x86 made it 32bits, and along with other 32bit tools installed, it worked.