I'm trying to run a Crystal Report on Visual Studio 2012, my code is the following:
m_da = New SqlDataAdapter("Select * from YearBudget", g_cn)
Dim myReport As New CrystalDecisions.CrystalReports.Engine.ReportDocument
ViewerForm.CrystalReportViewer1.ReportSource = myReport
I do not receive any error on design, the problem is when I'm running the application, I got the following error:
Could not load file or assembly 'file:///C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win64_x64\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.
The subfolder "....\dotnet1" does not exist on my PC, only exists on C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86. I'm afraid it is a 32/64 plataform problem, but I don't know how to fix it.
I'm running Visual Studio 2012 on a Windows 8 machine (64 bit).
Any help will be welcome.