Skip to Content
0
Former Member
Jul 06, 2012 at 08:55 PM

cxlibw-5-0.dll was not found

515 Views

Hi All,

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

Inherits ProjectBaseForm

Public Sub New()
MyBase.New()

'This call is required by the Windows Form Designer.
InitializeComponent()

Dim t As New Thread(AddressOf LoadCrystalFrameworkBackground)
t.Start()
End Sub

Private Sub LoadCrystalFrameworkBackground()
Dim crv As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rpt As New CrystalDecisions.CrystalReports.Engine.ReportDocument()

Thread.CurrentThread.Abort()

End Sub

End Class

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.