I was recently required to take over a project which was built on Oracle Forms 11g.
I checked out the source code and tried to compile fmb files, but I received a large number of comile errors, below are some typical errors for examples
identifier 'TO_MESSAGES.MODULE' must be declared
identifiter 'TO_MESSAGES.MESSAGE' must be declared
Oralce developer in my company suggest these errors maybe related into incorrect Oracle Forms installation and some missing core libraries. I tried to re-install all required software, but the errors are still there. I am new to Oracle Forms development, could anyone point me to right direction ?
Here is information about my local environment and tools
Windows 7 Enterprise 64 -bit
Oracle Portal, Forms, Reports and Discoverer 11g (11.1.1.2.0) for Microsoft Windows x86 (64-bit)
Oracle Portal, Forms, Reports and Discoverer 11g Patch Set 3 (11.1.1.4.0) for Microsoft Windows x86 (64-bit)
Oracle Form Builder 11.2.0.4.0
Java version "1.6.0_45"
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0
By looking the above errors it does not seems to related to Oracle forms installation. I think these are functions and procedures which have been declared in plsql libraries created by developers and these libraries are not attached to the form.
Check for the .pll files in your source code and try to attach to the form and compile after that and then it should be compiled.
Related
I'm using Oracle Database 11g Enterprise edition Release 11.2.0.1.0 64bit, I want to use warehouse builder which is included in it, but the problem is that I can't open Design center, it gives me the following error.
application could not start correctly (0xc0000018)
could anyone help me with this, I can't find a solution
I finally find a solution to this problem, when you download oracle database 64bit, the warehouse builder is included with it, but the design center is working only with 32bit computers, i don't know why oracle would do that, so i downloaded oracle warehouse builder standalone, and configure it following the steps in the oracle official tutorial, and now it works prefectly.
I'm so new to oracle
and I have been ordered to execute .net clr in oracle
but I'm confused now with these concepts
oracle data access components
oracle data .net extensions
please any help to put me on the right way
how I'm going to execute clr written in .net in oracle environment
I'm using oracle 12c and visual studio 2013
i have installed this oracle data access components
in this link
http://www.oracle.com/technetwork/topics/dotnet/utilsoft-086879.html
for oracle 12 release1
and then
download oracle developer tools for visual studio
http://www.oracle.com/technetwork/topics/dotnet/downloads/odacmsidownloadvs2013-2756823.html
and i'm getting errors when making new oracle project
is installation order wrong?
thanks for your replies
,but
i have discovered that each release of oracle has specific corresponding ODAC (oracle Data Access Components) ,and if you install un correct one you will get a lot of problems when deploying .net stored procedure (clr)
for me with oracle 12c release 1
the suitable odac were Release 4 (12.1.0.2.4) For windows x 64 found in this link
http://www.oracle.com/technetwork/database/windows/downloads/index-090165.html
when i installed these components i was able to have visual c# oracle project and then i followed this link tutorial
https://docs.oracle.com/cd/E63277_01/win.121/e63386/demo.htm#CLRNT154
and every thing in clr was ok
I have installed crystal reports studio 2008 on win server 2012. when i try to run a report in crystal, i get following error:
The database connector crdb_oracle.dll could not be loaded. The correct version of the database client for this database type might not be installed.
I don't even see Oracle in the list of possible data sources in crystal reports. And Oracle driver was selected during crystal reports installation.
Oracle 11.2.0 client is installed. TNSping is working, all DLL's are in place. The same set of products (except on win-7 x86) is working just fine, so oracle and crystal should match.
Please see attahced screens. Advices i found on the Internet didn't help at all. Please advise.
screens-1
screens-2
I have figured out what was the issue.
As CrystalReports was 32-bit app, and windows server was 64-bit, i was missing 32-bit oracle client (just 64-bit version was installed). After i have installed 32-but oracle client, crystal worked fine.
Are there any places where I could download Oracle 10g Express Edition for CentOS 6.2 64bit environment? I have searched in Oracle official website but I couldn't find a distro. Also I have googled for answers but couldn't find an appropriate one. So, it is much appreciated if anyone could assist me on this please.
According to the Oracle download website, 10g is no longer available, but you can request it using My Oracle Support if you own a valid database license. Unless you explicitly need 10g (e.g. to setup a test environment for supporting a legacy installation), I'd go for 12c instead.
In summary, you have two options:
use 12c Express Edition / 11g Express Edition instead
contact Oracle support to get 10g Express Edition
I may be asking the wrong question here, I'm willing to change it if so.
I have a project that is using the Microsoft.NET Oracle provider (our plan is to change to ODP but we haven't done so yet).
I am trying to get this project to build on a windows 2008 (x64) build server. It builds just fine but our unit tests fail when they hit stuff on the Oracle database.
I had initially installed the 32bit oracle 9i client which is what we currently use on our winxp dev boxes and the previous 2003 build server. But now this gets a message like: Attempt to load Oracle client libraries threw BadImageFormatException. This problem will occur when running in 64 bit mode with the 32 bit Oracle client components installed.
We tried compiling to the x86 platform but that didn't change the error message.
I now have the 11g 64 bit client installed but I am getting a message saying System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
So what Oracle install should I be using?
Edit:
I was able to get this to work. Turned out it was the testing causing the problem, by forcing NUnit to run in 32bit mode: Link I was able to get the tests to work using the old 32 bit driver. This would be a crappy answer to the question so I am not using it but will gladly award the correct answer to anyone putting in some good info on transitioning to Oracle 64bit drivers.
When it comes to Oracle, I like to use Oracle Instant Client :
You don't have to install anything on the target machines (including dev boxes !).
You can make sure that your application will run with the specific client you picked.
You could even easily have multiple applications work with different client versions on the same computer.
As a downside, it adds a significant weight to your application (~19Mb minimum).
Check What is the minimum client footprint required to connect C# to an Oracle database? for more information. To know how to set up a Visual Studio project that will work on x86 as well as x64 machines, check my blog post Oracle Instant Client in Visual Studio.
I'm adding a new answer since as of this fall (2012) the ODP Managed Code Beta is available. See this link for more information. It is for us highly stable and we are using it in production, mainly because of these reasons:
No installation (except for entity framework where a simple registration is needed)
It is smaller than the unmanaged version, the footprint is approx 6 MB.
It is NOT "bit sensitive", ie Any CPU will finally work with ODP :)
More intuitive mapping C# types <-> Oracle types (and it solved some problems with EF and model generation from database)
Supports EZCONNECT (all versions of the unmanaged ODP did not), ie no more tnsnames.ora hassles.
But for transitioning to 64 bit, download the managed ODP driver and change the Oracle.DataAccess reference to Oracle.ManagedDataAccess and recompile :)
I think the message "System.Data.OracleClient requires Oracle client software version 8.1.7 or greater" it's similar to "Oracle client not installed, installed but not found or installed but it's needed 8.1.7 or greater".
Check on regedit if the values are right under the key:
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\KEY_OraOdac11g_home1
Where OraOdac11g_home1 depends on the Oracle Home name for your installation.
Also, try to connect through Visual Studio to see if its possible.
I have had an issue which could relate to what you are seeing.
I initially had the just the Oracle 10g client installed on my machine and the .Net Oracle.DataAccess component version number was 10.2.0.100 - this was for .Net runtime v1.0.3705
I installed ODP.Net and the Oracle.DataAccess component version is now v2.102.2.20 and runs on .Net runtime v2.0.50727 - I cant find the reference as to why Oracle did this - it was something to do with bringing version numbers in line with the runtime version
It took me a day to work this out. We dont use the 11g client yet and I havent used the 8i client for ages so I dont know what the version numbers would be for those clients, but I'd check it if I were you what.
In short, Oracle back-tracked the component version numbers which could be making your 11g component appear out-of-date as opposed to Oracle 8i components
I have found many times that the error "requires Oracle client software version 8.1.7 or greater" is a notoriously misleading error. From distant memory I seem to remember that this usually indicates a file IO permissions problem. I think it may be that the ASP.NET worker process (or whichever identity an application is running under) requires some sort of read or write permission to a folder in the oracle client folder hierarchy...
This can be a cause of multiple oracle homes in the environment. Remove the older version oracle home in your build system. try generating the build again with the single home. There are some issues with 9i version ODP.NET and 10G/11G connectivity