Skip to Content
Jun 21, 2019 at 01:42 PM

Issue with PELogOnSQLServerWithPrivate after Crystal Runtime Upgrade

194 Views Last edit Jun 21, 2019 at 07:58 AM 2 rev


I am trying to upgrade Crystal runtime from CR 2008 to CR 2013. I had a previous installation of SAP Crystal reports 2013 (Developer SDK) and Crystal Runtime 2008. Steps Done on dev box:

Uninstalled Runtime 2008 and installed runtime engine 13

Now the issue is when I run the report from .Net code I receive following error:

PELogOnSQLServerWithPrivateInfo' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature.

on statement: PELogOnSQLServerWithPrivateInfo("PDSODBC.DLL", m_RdoConn.hDbc)

Can you please advise why I am receiving this error, what should be done to fix this?

is this an installation problem or has some thing changed with crpe32.dll / PELogOnSQLServerWithPrivateInfo usage with new version?

Also new crystal runtime was missing 2 assemblies in GAC, I removed their references from project


PS: I am new to crystal, and this is a legacy application, Let me know if I should provide more information.


installed.png (6.3 kB)