We are using Crystal for 2010 SP3. To optimize performance, we are loading the crystal framework in the background by using the following code:
Public Class frmMain
Public Sub New()
'This call is required by the Windows Form Designer.
Dim t As New Thread(AddressOf LoadCrystalFrameworkBackground)
Private Sub LoadCrystalFrameworkBackground()
Dim crv As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
However every once in a while we are getting the following error message:
"This application has failed to start because cxlibw-5-0.dll was not found. Re-installing the application may fix this problem."
The error message is not consistently reproducable. We'll run the program the first 20 times and everything will be fine. Then run it and this error message shows up. Looking for any causes or anything we can do to avoid this. Note we are experiencing this from workstations where we have had the plug in for visual studios installed and also from workstations where we've had just the redistributable installed.
Any advice greatly appreciated.