Connect to the database using oracle forms
Hello experts,I have installed on my computer, Oracle Developer Suite 10 g (10.1.2.0.2) (including the forms and Designer) and after that I installed Oracle Database 11 g Express Edition (11.2) Beta.
both facilities are on the same (local) computer.
When I chose to connect to the database, he wonder about the data connection to the database:
username, password and database.
I'm sure that the user name and password are correct, because I have no problem to connect directly to the database (via sql * more).
could you please tell me what I should write in the field database? I trid XE but it dose not help.
Can I need to make some changes manully so that it works?
Please note that the operating system is Windows XP service pack 3.
Thank you for your help.
Published by: user1818173 on 28/08/2011 01:43
Hello
Have you changed the TNSNAMES file. File of the ORA for DS? You must add the TNS for DS TNSNAMES. ORA file.
Go to $DB_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Copy the entry tns where you connect from SQL * more.
Go to $DS_Default_Home$ \netword\admin and open the TNSNAMES file. ORA file in Notepad. Paste the tns entry that you copied.
Now try to connect generator of form.
Kind regards
Qasim Jules
Tags: Oracle Development
Similar Questions
-
Unable to connect to the database from Oracle Forms server
Hello
I installed Oracle Forms on top of Weblogic server. When I try to connect to an Oracle Forms home by TNS naming database, it returns error "ORA-12504". It works fine when I use EZConnect.
D:\Oracle\Middleware\FRHome\BIN >. \sqlplus myuser/mypass@auhdb2
SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:34 2014
Copyright (c) 1982, 2008, Oracle. All rights reserved.
ERROR:
ORA-12504: TNS:listener did not have the SERVICE_NAME in CONNECT_DATA
D:\Oracle\Middleware\FRHome\BIN > @//auhdb2/auhdb2 mypass/myuser mypasssqlplus
SQL * more: version 11.1.0.7.0 - Production on Sun Sep 28 10:28:55 2014
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL >
Here are the specifications of the environment:
Server operating system: Windows 2008 R2 64-bit EA
WebLogic: Weblogic Version 10.3.6
Forms and reports: 11.1.2.2
Database, I am trying to connect to: Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 on Windows 2003 Server
Tnsnames configuration in D:\Oracle\Middleware\FRHome\network\admin:
AUHDB2 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = auhdb2) (PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = auhdb2)
)
)
Thanks in advance.
I want to update this post because I understood what was the matter.
The TNSNAMES file. ORA file must be created in ORACLE_INSTANCE/config, not in %ORACLE_HOME%\FRHome\network\admin
It was interesting for me!
-
Take the backup of the user database using oracle forms 6i
I need backup user database using oracle forms 6i. Is this possible?
Yes.
Try
When press the button trigger
DECLARE un VARCHAR2(30); pw VARCHAR2(30); db VARCHAR2(30); con_str VARCHAR2(100); -- data_file VARCHAR2(100); log_file VARCHAR2(100); cmd_line VARCHAR2(200); ALT NUMBER; BEGIN IF :CONTROL.file_name IS NULL THEN --- take a file location IF SHOW_ALERT('FILE_NAME') = ALERT_BUTTON1 THEN RAISE FORM_TRIGGER_FAILURE; END IF; END IF; -- un := GET_APPLICATION_PROPERTY(USERNAME); pw := GET_APPLICATION_PROPERTY(PASSWORD); db := GET_APPLICATION_PROPERTY(CONNECT_STRING); con_str := un||'/'||pw||'@'||db; -- data_file := :CONTROL.file_name||'\'||un|| TO_CHAR(SYSDATE, 'DDMMYYYY')||'.dmp'; cmd_line := 'exp userid='||con_str||' file='||data_file; HOST(cmd_line); -- ALT:=SHOW_ALERT('MULTI_BACKUP'); IF ALT=ALERT_BUTTON1 THEN RAISE FORM_TRIGGER_FAILURE; ELSE EXIT_FORM; END IF; END;
-
not able to connect to the database using the oracle instant client
Hello
I am not able to connect to the database using the instant oracle from my local PC client. They use to connect to the database files and sqlnet.ora files LDAP.ora. If I want to test the connection, I found this executable tns wasn't there, so not able to tnsping. So I'm not able to solve this problem.
Please let me know if a solution for everything
Client Oracle: oracle 10.2bFAT client 32-bit
Platform: windows 7 64-bit
Thank you
VeeraThere is little that tnsping can do sqlplus can't.
Instead of
tnsping mydb.myorg.com
Try
sqlplus-s-L /@mydb.myorg.com
or
sqlplus-s-L user/[email protected]If you get
ORA-12154: TNS: could not resolve the connect identifier specified
you know that the customer could not resolve 'mydb.myorg.com '.If you get
ORA-12541: TNS:no listener
then "mydb.myorg.com" could be resolved, but there is no listener it running.If you get
ORA-12514: TNS:listener is not currently of service requested in connect descriptor
then "mydb.myorg.com" could be solved, the listener is in place, and the database is out of service.If you get
ORA-01017: name of user and password invalid. connection refused
you know that 'mydb.myorg.com' has been successfully resolved, and the database is running.If you want more details, such as how and what "mydb.myorg.com" is resolved, turn the tracking by adding the following to "sqlnet.ora:
TRACE_LEVEL_CLIENT = ADMIN
TRACE_DIRECTORY_CLIENT = C:\TEMP (a writable directory)Then you will find lines like this in the trace file:
-THE INFORMATION SOURCE PARAMETER FOLLOWS-
Attempt to load system pfile source C:\oracle\network\admin\sqlnet.ora
Source of the setting successfully loadedAttempt to load the local pfile source C:\Dokumente und Einstellungen\lanadvall\sqlnet.ora
The parameter source has not been loaded.This shows you which configuration files are read, followed by the settings real read.
nnfgrne: will read if path adapters
nnfgrne: switching adapter LDAPHe's now looking for LDAP name resolution.
nnfloidinfocache: Info: insert the value DIRECTORY_SERVSSL = oid.host.myorg.com:389 at index 0 in NLPA_CACHE
These are LDAP servers, he is trying.
nnflilc: conn sync opening of oid.host.myorg.com:389
nnflfdn: turning simplified mydb.myorg.com name to a unique name.
nnflfdn: using the administrative context: dc = prod
nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = comnnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)nnfgrne: query fails, the leap to the next map
Did not work. Try the other adapters:
nnfgrne: switching adapter EZCONNECT
snlinGetAddrInfo: name resolution failed for test64.test
No luck.
If the resolution is approved, it will look like this:
nnfloidinfocache: Info: insert the value DIRECTORY_SERVERS = oid.host.myorg.com:389 at index 0 in NLPA_CACHE
nnflilc: conn sync opening of oid.host.myorg.com:389
nnflfdn: turning simplified mydb.myorg.com name to a unique name.
nnflfdn: using the administrative context: dc = prod
nnflfdn: the domain name resulting is cn = mydb, cn = OracleContext, dc is myorg, dc = comnnflrne1: runs the directory for dn: cn = mydb, cn = OracleContext, dc is myorg, dc = com
nnflqbf: search: Base: cn = mydb, cn = OracleContext, dc is myorg, dc = com, range: 0, filter: (objectclass = *)niotns: the call to address: (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST=dbserver.host.myorg.com) (PORT = 1521)) (CONNECT_DATA = (SID = DBNAME) (CID = (PROGRAM = C:\Oracle\ora1020\bin\sqlplus.exe)(HOST=pc247596)(USER=lanadvall)))
Yours,
Laurenz Albe -
Inserting a new record in the database using a form empty ADF
Hello
I'm trying to insert a new record into the database using a form.
I have an Employee table and its corresponding entity object and the view object. The table has an id that is used as the primary key and is filled using a sequence in the comic book.
Data controls, I dragged and dropped at the sight of the employee as a form of ADF and checked the submit button include. Then I dragged and dropped the validation on submit button operation.
When I connect to the app and go to the page used to create, I have 2 problems:
1 - the form is filled with the logged in user info.
2. If I try to change the news and validation, the user info is changed in the database and no new record is created.
It makes a little sense to me, but I would like to know if there is a way around it (get an empty form and insert a new record).
NB: the employee id is not part of the form, I want to be filled using the sequence.
Kind regards
MBUser, please tell us your jdev version!
To do this, you must create a new record before going to the display of the form page. In a stubborn workflow (btf), you drag the operation createInsert of the VO on the btf and it will generate a link method, add a view to the btf and put a navigation of the binding of the method of the page. Mark the method as 'Activity by default'. Now, ren, you call the workflow, you create a new record that will show your blank form.
Timo
-
Not able to connect to the database using OS othenticated user.
Hi team,
We use HP UX servers, recently we pass the passive node to active (cluster OS) after that we are not able to connect to the database using OS authenticated the user, but I am able to conenct by user oracle sunig... !
Please suggest me.
Thank you
Maurel.Please copy - paste the screen indicating the connection attempt with the authentication of the BONE and the error message.
-
RCU error: unable to connect to the database using the contact information provided
Hello
I am not able to connect to the database using the remote control 11.1.1.10.1 to create patterns. I ran the UCR even a week ago and I managed to connect. My database and listener are up and running and the host and the credentials are correct. I don't know where is the problem. Any help will be appreciated. Attaching the screenshot for reference.
Concerning
Oumaima
Hi Handal
Thanks for the reply. Looks like someone had blocked the firewall settings, so I was unable to connect to the database using the port.
Thank you
Oumaima
-
Connection to the database to Oracle using Oracle Apex 5.0.1
Hi all
Is it possible to connect to the Oracle (Oracle SQL Developer 4.1.1) database using Oracle Apex 5.0.1 instead of using the object browser. As he was more workspace after you have downloaded the data we have on CSV Excel.
For example: regardless of the tables I've created in the Application Builder is created in the object browser. We have limited the workspace of 500 MB. This is the reason why we cannot use this method to load the data and retrieve it. (Note: can I ask 2 GB of space to work on the approval of the Director, who is still not sufficient)
Is it possible that I will create an apex.oracle.com application by using the application builder and I will create in the database tables. When I load the file in application, data will be stored in the database Oracle instead of the object browser.
Well let me know is possible, if yes, how can I proceed.
If this isn't the case, please let me know how I can get more workspace.
According to my understanding, other possibilities are: 1) taking backup of old files and free up space, 2) create another workspace and get extra work space.
Thanks for your help!
Kind regards
Vinod
Hello
When you load data using APEX SQL Workshop utilities for example, the data is stored in your database tables.
Object browser is just seen tool your schema as the table objects and the data in the tables, just as SQL Developer.
If you have no good reason to keep these files that you downloaded in the workspace, delete those. Data is stored in database tables.
Kind regards
Jari
-
problem connecting to the database using dbclient
Can someone help to solve the following question
The following error occurred when connecting to the database when connecting dbclient to the database on linux from windows
. TNS dbclient names has been configured with the SID and IP address of the machine from database
ERROR:
ORA-12560: TNS:protocol adapter errorCould you share your tnsnames.ora file
And refer to this topic
http://forums.Oracle.com/forums/thread.jspa?MessageID=9142058
-
Not able to connect to the database using SQLPLUS.
Hello
in the connection to the oracle in linux machine using sqlplus utility database I got following error.
does anyone have an idea about this error?
[oracle@LOM-NEYTR-RHEL-NEW1 dbhome_1] $ sqlplus
SQL * more: Production of release 11.2.0.1.0 game may 15 10:22:50 2014
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter the user name:
Enter the password:
ERROR:
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-01653: unable to extend the table SYS. AUD$ 8 in the SYSTEM tablespace
ORA-02002: error writing to the audit trail
ORA-00604: an error has occurred at the SQL level 1 recursive
ORA-01653: unable to extend the table SYS. AUD$ 8 in the SYSTEM tablespace
7144389e-3944-4D5C-830e-46539d2d9971 wrote:
I found the temporary solution. You can go through the following link where I got the idea.
So has what "temporary" solution applied?
And especially, what is the permanent solution will you.
The most common solution, which goes back at least to when I started with v7.3, is to move the aud$ table out of the SYSTEM tables. And with 11g, there is even a new package for the management of the audit trail, including a method for moving the table. See DBMS_AUDIT_MGMT
-
Connect to the database using the BEAK
Hello
I get the following error message when you use the function OCILogon() calls
i.e.
= OCILogon stat (p_env, p_err, & p_svcCtx, (const OraText *) username, (ub4) 3,)
(Const OraText *) password, (ub4) 3,.
(const OraText *) ('smad', (ub4) 4);
ORA-0002: Message not found 2; product = RDBMS. facility = ORA
I use the Oracle 11 GR 1 material on SLES 10 SP2 on the 64-bit computer.
I connect to a database and a default host. Do I need to use OCIServerAttach()? Help, please
THXMessage not found error is usually incorrect Oracle home settings. Have you checked this already?
-
Unable to connect to the database using SQL * more
Hi, I have Oracle 10 g XE installed in my labtop, and I can't connect using SQL * more.
I can connect using the User Interface of navig however, I could do after the following procedure to change the password for the sys account:
-Open a command prompt
-type sqlplus
-On the line "Enter user name", enter the sysdba virtue
-On the SQL > prompt, type alter user sys identified by NewPassword;
But the thing is that even if I am able to connect using sys/NewPassword from my browser UI, I don't get the same result when do this using the SQL prompt.
What I try to do is the following:
SQL > connect sys/NewPassword
Can I get first a warming of the planet by saying I should use sysdba or sysoper to connect to the system account, but none of those who work.
Can anyone advice me on this subject?
Thanks in advanceDoes make sense at all?
You really need to Read The Fine Manual
http://download.Oracle.com/docs/CD/E11882_01/server.112/e16508/TOC.htmWhen you log in as USER "SYS" DB must be described as 'AS SYSDBA'
sqlplus
/ as sysdba
SHOW USER;
-line above indicates that you are now connected to the DB as "SYS"!SQL > CONNECT SYS / AS SYSDBA
-
Forms 5. Unable to connect to the database
Hello
I would like to change an old application forms 5. I added the tnsnames.ora entries, however when I tried to connect to the database of 5 forms, I am getting TNS could not resolve service name.
If I use the same tnsnames.ora to Forms6, I could connect. So am I missing something?
ConcerningI think, because of several facilities on developer, forms not looking in the correct tnsnames file.
Try something... All this tnanames entry in your tnsnames (for the continuation of different developer) file installed on your pc and check if it works.
Also check to see what the value of the TNS_ADMIN variable. If it is not the path of your installation on the developer, add the path to this variable. It should then work.
It will be useful.
Check the answer as useful / OK, if this can help you
Carole
-
Unable to connect to the database homepage OracleXE 10.2.0.1.0
Hi Oracle Experts,
I installed OracleXE 10 g on an application server and has worked for 3 years. The installation is based on the default configuration where:
Destination folder: C:\oraclexe\
Oracle database listener port: 1521
Port for the Oracle Services Microsoft Transaction Server: 2030
HTTP listener port: 8080
The installation work well and be able to view the home page of the database. The problem arises when local desire to ICT to change the listening port of Oracle database to another port instead of 1521 to comply with their security policies.
I changed the port using method below:
(1) update the port number in listener.ora desired port
(2) make sure SID_name (XE) is registered in listener.ora by adding this line to SID_LIST
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
)
)
(3) recharge the listener and restart the service.
I am able to connect to the database using SQL Plus by using the port assigned port, but when I tried to view the home page of the database, I can't load the page with Internet Explorer connection problem error.
I changed the default to 8089 but still cannot connect HTTP port. But when I went to the port (1521) default listening port, I am able to view the home page of the database.
Anyone know how to fix this?
Thank you in advance.
You have followed all the steps documented? 4 general network connections
HTH
Srini -
sqlplus error connecting to the database
Hello
After the connection to the database using the username and passwd, I get the error message below
connection is established and able to work asusal,
$$$$$$$$$$$$$$$$$$$
can u help me how to remove in decline and error below...
$$$$$$$$$$$$$$$$$$$$$$$$$$$
Enter the password:
Connected to:
Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production
With partitioning, OLAP, Data Mining and Real Application Testing options
Select "Welcome to the database: ' | '. name of database v$
*
ERROR on line 1:
ORA-00942: table or view does not existThe user name who logged has not the right to select on the sys.v_$ database view that is exposed through the database of v$.
HTH - Mark D Powell.
Maybe you are looking for
-
How can I remove senior citizen reduction?
I have installed a 'profile' that supposedly would give me discount coupons for seniors. Now, I want to remove it. He shows up with my other email accounts, but there is no way to delete this specific account. Thank you!
-
We are unable to type in the address bar and change the homepage
Hello, after I accidentally installed snapdo, we can not type in the address bar or the search bar. I managed to remove snapdo now of the laptop. Export my bookmarks, reset firefox, nothing has changed - still does not. Uninstalled firefox, reinstall
-
Cannot install Windows 2000 on SatPro 4600
Hello I have a SatPro 4600, earlier, I got ACPI Bios error when you try to start Windows. Is it possible to disable ACPI in the Bios, I couldn't find any option in ACPI Bios 2.60 to turn it off. The I formatted the hard drive and try to install Windo
-
HP Pavilion 15-n270ea repeat: short hard drive DST Check: failure
Message on the screen says: Hard Drive short check failed Failure ID: UAPD4J - 6T 7818 - MFPWWK - 60VD03 Product ID: F7S47EA #ABU I belive the hard drive failed, it currently has 750 GB mounted, if it must replace can I put the hard drive? It's an ea
-
Hello I'm using a PXI-5105 with LV SignalExpress. I want to measure the tension of the card system with power supply of 5V. I want to set the offset, but when I put a value, I got the error: «Requested invalid baseline shift.» Is the range of voltage