cancel
Showing results for 
Search instead for 
Did you mean: 

Am I using the proper dll's for my vb.net program

keysoft
Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor
0 Kudos

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

Answers (1)

Answers (1)

DonWilliams
Active Contributor

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.