Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

CrystalReportViewer and Crystal Reports XI Release 2 -> vshost32.exe doesn't work anymore

We have Crystal Reports XI Release 2 installed for showing and designing Crystal Reports. Now in our VB.NET Winforms application (.NET Framework 4.0) we open a form with a listview containg all the *rpt files in a certain directory. When we doubleclick one of the listitems we show a new form. While loading this new form a CrystalDecisions.Windows.Forms.CrystalReportViewer is initialized as follows: 

    

myCrystalReportViewer = New CrystalDecisions.Windows.Forms.CrystalReportViewer      

myCrystalReportViewer.ActiveViewIndex = -1

... more settings ...        

Me.Controls.Add(myCrystalReportViewer)      

myCrystalReportViewer.ReportSource = RapportPad

The directory with the *rpt.files is a shared directory where a certain windows usergroup has full control. All clients using our applicatins are a member of this Windows usergroup. Now when one of our customers tries to open a report (as described above) from their client machine they get the error 'vshost32.exe werkt niet meer' (eng: 'vshost32.exe doesn't work anymore'). But when our customer opens the application on the server, it works fine. Another customer seemingly having the same infrastructure ,has no problems with their clients. When I try this on my local machine while debugging in Visual Studio I get the same error, even while the reports direcory is on my own local drive. But the error doesn't occur after initializing the CrystalReportViewer, but later after the last vb code line ('end sub') of the double click event (in the referrer form). What could be wrong? Maybe missing or wrong version of Crystal Reports dll's? Don't hesitate to answer. I'm willing to give any extra information needed.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question