I'm not terribly familiar with using CR in VS, so I apologize if any of this is inaccurate. I have a VB.NET application that uses Crystal Reports 2013 report viewer. I inherited a development machine from another developer that has everything installed and was working under his account. When I debug this application and get to the following line:
Dim crReportDocument As New ReportDocument
I get an error:
The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
With the InnerException:
Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=14.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I do see CrystalDecisions.ReportAppServer.CommLayer.dll in C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\dotnet\iPoint along with all the other dlls.
I've been Googling and trying things for two days now, any help is appreciated.