Link to home
Start Free TrialLog in
Avatar of lschwabe
lschwabe

asked on

FileNotFoundException was unhandled, file 'crdb_adoplus.dll' or one of its dependencies was not found

I am using Visual Studio 2013 Professional on a computer running Windows 8.1 . I downloaded the SAP Crystal Reports, developer version for Visual Studio 'Install Executable' CRforVS_13_0_13.exe and installed it. I ran my Visual Basic 2013 application in Visual Studio 2013, tried to produce a Crystal Report and got the following error;

'FileNotFoundException was unhandled
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll
Additional information: 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\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.'

In Windows Explorer I found that the file 'crdb_adoplus.dll' had been installed in directorys 'c:\ProgramFiles (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinesnsObjects Enterprise XI 4.0\win32_x86\'
and
in directory'c:\ProgramFiles (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinesnsObjects Enterprise XI 4.0\win64_64\'

Why would my Visual Basic 2013 application be looking for the file 'crdb_adoplus.dll'  in 'c:\program files (x86)\...\win32_x86\dotnet1\' when the file was installed in directory  'c:\program files (x86)\...\win32_x86\' by the SAP Crystal Reports, developer version for Visual Studio 'Install Executable' CRforVS_13_0_13.exe?

Please help
Avatar of Mike McCracken
Mike McCracken

Something in the application has the dll referenced in that place.  Check your references and update that one to the correct location.

mlmcc
Avatar of lschwabe

ASKER

Thanks for your input. It put me in the right direction but the problem still exists. I have some further test observations.

For clearity let 'c:\...'  refer to 'C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0'

I opened my project in VS 2013, selected the project properties/References/Reference Paths. There was a reference to '...\win32_x86\dotnet\' but none to the path shown in the runtime error message (''...\win32_x86\dotnet1\'). I created a test project, added a new blank Windows form and a new blank Crystal report. I checked the test projects reference paths and a reference was created to '...\win32_x86\dotnet\'. The file that could not be found at runtime was ''...\win32_x86\dotnet1\crdb_adoplus.dll'. The file was installed on my computer by the SAP Crystal Reports, developer version for Visual Studio 'Install Executable' CRforVS_13_0_13.exe as '...\win32_x86\'

Please help
I forgot to mention that I did update the reference to 'c:\ProgramFiles (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinesnsObjects Enterprise XI 4.0\win64_64\' but I still got the same error message

'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\win32_x86\dotnet1\crdb_adoplus.dll' or one of its dependencies. The system cannot find the file specified.'
Unfortunately I am not a .Net programmer but a report developer.  SO I don't know what is needed.

I'll add the .Net topic to see if anyone can help with that.

mlmcc
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It works,! Thanks to both of you, CodeCruiser and mlmcc.