on 02-01-2023 11:39 PM
I have a vb.net (windows desktop) program I started with VS2010. I’m trying to finish it in VS2022. When I publish to make the setup and try to install it on another computer everything works after the install but CR will not. I’ve tried a lot of things with the great help at SAP but nothing works yet. Now I’m wondering if I’m just missing any dll’s in my program??
CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared.dll
CrystalDecisions.Windows.Forms.dll
You CANNOT just copy over the assemblies used by your application when deploying it to a new computer. You MUST install one of the runtimes. Internally, the SDK is based on some COM objects and there are many non-obvious interdependencies betweens assemblies. Because of the COM objects, there are many registry settings that are required for the SDK to work correctly. You can find the runtime installs through a link in the wiki.
-Dell
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also note when adding CR Assemblies you must set the Copy Local to false.
And depending on the platform, x86 or x64, be sure to set that in the project as well, don't use AnyCPU, CR runtime matches your project and not the OS.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
78 | |
10 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.