Skip to Content
author's profile photo Former Member
Former Member

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.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Sep 08, 2015 at 09:39 PM

    What version of VS .NET?

    What is the Server OS?

    Browser?

    - Ludek

    Senior Support Engineer AGS Product Support, Global Support Center Canada

    Follow me on Twitter

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.