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.FileNotFoundExc eption' 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.d ll' 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\dotnet 1\' 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
'FileNotFoundException was unhandled
An unhandled exception of type 'System.IO.FileNotFoundExc
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
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\dotnet
Please help
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/Refe rence 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\cr db_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
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/Refe
Please help
ASKER
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.d ll' or one of its dependencies. The system cannot find the file specified.'
'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
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
I'll add the .Net topic to see if anyone can help with that.
mlmcc
ASKER
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It works,! Thanks to both of you, CodeCruiser and mlmcc.
mlmcc