on 04-10-2020 2:38 PM
I installed Crystal reports 13.0.26 64 bits, when trying to print a report with c# desktop application dotnet 4.5 An error :
Void System.Runtime.InteropServices.Marshal.StructureToPtr(!!0, IntPtr, Boolean).
In some hosts ther is no problem..
Who developed the application? Are you installing the same version of runtime as the application was developed with?
Is the application compiled for 32-bit or 64-bit? The bit-ness of the required runtime should match the bit-ness of the application regardless of the OS it's installed on.
When the runtime was installed, were you logged in with Administrator privileges? If not, you need to be because there are a bunch of registry entries that get set.
Finally, this error is not directly from the Crystal SDK - it's a system error. You would need to post the stack trace from the error for us to determine whether it's a Crystal issue or something else.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same issue.
We have two servers with Windows 2008 R2 with same configuration and same applications but only in one of them works fine and the other we get this error. The only difference between them is one has installed framework 4.8 (this one works) and the other have 4.5.
Is it possible the issue be with the .net framework version or with any associated component?
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I am finding the same problem just after updating from runtime for Vs2017 (13_0_22) to Vs2019 (13_0_27)
The exact error message is
Method not found 'Void System.Runtime.InteropServices.Marshal.StructureToPtr(!!0,IntPtr,Boolean)'
Thanks and Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.