Re: Key 'DatabaseOracleODP' is not found!
Posted: Sat Feb 09, 2013 4:24 pm
• Product name and its version;
Stimulsoft Report.NET version 2012.3
Visual Studio 2010 (C#)
• Detailed description of the problem and how to reproduce it;
Extract the zip-file: C:\Program Files (x86)\Stimulsoft Reports.Net\Adapters\OracleODPDatabase.zip
Open in VS2010 and convert the project
Add reference to all Stimulsoft .dll's
Add reference to Oracle.DataAccess.dll (v. 4.112.3.0)
Build the .dll for Framework 4.0
Copy both Oracle.DataAccess.dll and Stimulsoft.Report.OracleODP.dll to C:\Program Files (x86)\Stimulsoft Reports.Net\Bin\
Run C:\Program Files (x86)\Stimulsoft Reports.Net\Bin\Designer.exe
Add connection, Oracle ODP, press Build-button and get the error:
System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. Ett försök att läsa in ett program med ogiltigt format gjordes.
File name: 'Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342'
• Your operational system (98, ME, 2000, XP, Vista or 7), its version and localization, installed service-packs;
Windows 7 Professional, x64, Service Pack 1
• Version the of Microsoft .Net Framework package installed and its localization;
All frameworks up to v4.0.30319 installed
• Version of Oracle ODP.NET provider
11.2.0.3
• Additional information that can help us to solve your problem.
I've attached the .dll files I'm using
Thanks!
Stimulsoft Report.NET version 2012.3
Visual Studio 2010 (C#)
• Detailed description of the problem and how to reproduce it;
Extract the zip-file: C:\Program Files (x86)\Stimulsoft Reports.Net\Adapters\OracleODPDatabase.zip
Open in VS2010 and convert the project
Add reference to all Stimulsoft .dll's
Add reference to Oracle.DataAccess.dll (v. 4.112.3.0)
Build the .dll for Framework 4.0
Copy both Oracle.DataAccess.dll and Stimulsoft.Report.OracleODP.dll to C:\Program Files (x86)\Stimulsoft Reports.Net\Bin\
Run C:\Program Files (x86)\Stimulsoft Reports.Net\Bin\Designer.exe
Add connection, Oracle ODP, press Build-button and get the error:
System.BadImageFormatException: Could not load file or assembly 'Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. Ett försök att läsa in ett program med ogiltigt format gjordes.
File name: 'Oracle.DataAccess, Version=4.112.3.0, Culture=neutral, PublicKeyToken=89b483f429c47342'
• Your operational system (98, ME, 2000, XP, Vista or 7), its version and localization, installed service-packs;
Windows 7 Professional, x64, Service Pack 1
• Version the of Microsoft .Net Framework package installed and its localization;
All frameworks up to v4.0.30319 installed
• Version of Oracle ODP.NET provider
11.2.0.3
• Additional information that can help us to solve your problem.
I've attached the .dll files I'm using
Thanks!