Search code examples
.netvisual-studiocrystal-reports

My published CrystalReports desktop app (VB.NET) wont run without installed CRforVS on the clients computer


The published program run correctly on my developer computer, but wont run on the client computer without the CrystalReports SDK (CRforVS). The CR runtime is installed, but dont solved the problem.

The CR SDK needs an installed Visual Studio (VS) on the target computer, but I dont want setup theese programs (VS, CRforVS) on the clients computer.

Any idea?


Solution

  • I checked the Windows Event Log, and find a FileNotFoundException. After debugged the code in developer environment (VS) on the client computer, I found the concrete message: "log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"

    The solution is for the problem, that I set the Target CPU from "AnyCPU" to "x64" on Compile tab in the Project Properties in the VS.

    Now it works fine!

    enter image description here