Connect to Database through FORM builder
I have configured 2 listeners to my database, both connect to the database ok but when I try to connect through my form builder I keep getting the error message
"cannot resolve service_name" even though it's already connected through my net configuration assistant. Is there a seperate connect properties file for my form builder?
You need to add an entry in the tnsnames.ora file that is in the Oracle_home that Forms is in.
Similar Messages
-
How I connect remote database in forms builder
username myname
password mypass
database test
database server 192.165.21.32
port 1521
how can I connect in oracle 11g forms builder ??using 192.165.21.32:1521:test in the connect string ? ( or 192.165.21.32:1521/test ) or set it up using TNSNAMES.ORA
-
Not able to connect to database from Form builder
Hi ,
I installed oracle 10 g in my machine and is accessable from SQLPLUS & TOAD.
In the same drive i installed Form builder, i am getting the below error when i tried to connect DB from form builder.
ORA- 12154 : TNS : could not resolve service name.
Kindly do the needfull.i am getting the below error when i tried to connect DB from form builder.
ORA- 12154 : TNS : could not resolve service name.Please post the exact syntax you use to connect. -
Trouble with running form on web through form builder
Can anyone help me? I have research every document, talked with metalink and have checked everything. I cannot find the problem.
While running form on web through form builder, receive error FRM-92100 Connection to server was interrupted. I have checked details and receive java exception java.lang.ArrayIndexOutofBoundsException:256. Not sure this means anything but adding it just in case.
I am running Forms 6i, version 6.0.8.20.1 Loaded forms from CD which did not include the WEBDB listener, so loaded listener seperately. Loaded database version 8.1.7 with apache server.
Information in my httpd.conf file shows servername myserver.domain, port 80 and listen 80.
Information in my formsweb.cgf file shows serverport 9000 connectmode:socket
What else should I check? What is set wrong? All services up and running.
Can anyone help?Toni,
try the following
from the orant/bin directory type the following
ifweb60 <modulename> <userid>
make sure that the Forms module to start is in the Forms60_Path and can be found.
If all works well then this should start teh Appletviewer showing the Forms you request
to run.
Hope that I am not misunderstanding you and you are looking for starting Forms from the Forms developer by clicking on the preview button in the toolbar. If you are looking for Web deploying Forms applications, requesting it from a Browser, then the configuration is different.
Frank -
Not able to connect to database from Form builer
Hi ,
I installed oracle 10 g in my machine and is accessable from SQLPLUS & TOAD.
In the same drive i installed Form builder, i am getting the below error when i tried to connect DB from form builder.
ORA- 12154 : TNS : could not resolve service name.
Kindly do the needfull.not able to connect to database from Form builder
-
Unable to Connect to Database from Forms/Reports 6i
I can't find anything wrong with my TNSNAMES.ORA file, yet I can't connect to my database through forms or reports.
The errors I keep getting is TNS-12154 and TNS-12203. Please advise. Thanks in advance.
E<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Mrs. Houser:
I can't find anything wrong with my TNSNAMES.ORA file, yet I can't connect to my database through forms or reports.
The errors I keep getting is TNS-12154 and TNS-12203. Please advise. Thanks in advance.
E<HR></BLOCKQUOTE>
Did you literally go into your tns file and put all of your specific envirnmental specifications?
Is the listener up and running?
Are you using the right alias?
Hope this helps.
null -
Problem accessing database from form builder
I have been trying to access my database using form builder (
developer 6.0). Everytime, I try to connect, it displays message
saying, no "tns listener", "incorrect driver designation". But I
have already configured tns listener using 8i enterprise
edition.
I also tried to configure TNS listener using in Developer 6.0,
but it says, "port is already in use".
Can any one please help me with me this.
nulldinesh (guest) wrote:
: I have been trying to access my database using form builder (
: developer 6.0). Everytime, I try to connect, it displays
message
: saying, no "tns listener", "incorrect driver designation". But
I
: have already configured tns listener using 8i enterprise
: edition.
: I also tried to configure TNS listener using in Developer 6.0,
: but it says, "port is already in use".
: Can any one please help me with me this.
Check your TNSNAMES.ORA file that located in ORACLE HOME
FOR DEVELOPER and make sure it has right configuration
information, otherwise configure manually.Also if DB located
not on your machine check HOSTS file.(this file doesn't have any
extention)
null -
Form does not appear when run through Form Builder
Hello,
We are trying to get a new installation of Form Builder 10g to work. When we try to run the form, the Forms Service browser comes up, but the form does not. We are likely missing a setting in some config file. Can anyone help us?
Thank you,Thanks for your efforts.
I have searched the forum, but maybe have not hit the correct key words yet. If you can suggest better search parameters than I have used, I will try again.
The popup blocker settings are the same as on other PCs that work correctly.
Our tnsnames is also good, as we are connecting through Form Builder.
I tried researching the error message that was requested, but the error code and message did not match up.
I would appreciate any other suggestions. -
Store and display word document in database through forms
how can i store a word document in database through forms 6i or 10g, and display it through forms from database.
i know how to store a binary file in database through DBMS_LOB package, but i want to do it throug forms. is it possible?
regardsHi Alex
"Create a datablock and specify the item datatype as blob"
BUT: How to bring the document to the blob?
Hi user 611..
Warning: It is easy if you use an OLE-Object - but OLE is a special format. The result will not be the same as with dbms_LOB.
We have a application with documents stored via OLE - terrible!
OLE is no longer supported by forms 10. But webutil would help.
I asked a similar question and got a good answer:
OLE-Container and migration to the web
Wolfram -
How to connect 10g database through Enterprise manager???
Hi All,
I want to connect the database through Enterprise manager.
My database is on 10g. Version is 10.1
Please tell me the procedure to connect the database through E.M.
Thanks and Regards,
Prathamesh.Are you thinking of the Enterprise Manager supplied with Oracle9i? If yes - it doesn't work quite that way ... and the 9i java OEM is not compatible.
Use the enterprise manager supplied with the 10g database, called the dbconsole (look for a service or start it using 'emctl start dbconsole') and access it using http://{localhost}:5500/em
If that doesn't satisfy you, load the updated version of the OEM 9i java standalone from the 10g client disk. -
How to Connect MySQL Database Through JTable?
Hi,
How to Connect MySQL Database Through JTable? anyone of u knows these concept please send me coding of that Part..
Thanks,
Guru..Start by reading the tutorials. There's a section on Swing which shows you how to use tables and a section on JDBC which shows you how to use SQL.
And you can always search the forum as well since there are working examples of both posted on the forum.
If you need further help with a specific problem then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting. -
How to connect .odb database using forms 6i`
Hai
I need to connect .odb database with forms 6i. Tell me the steps and settings i need to setup for running forms 6i in .odb database.Hi,
.odb is openoffice.org database file or open source database file. Anybody has any knowledge on how to use Form 6i with this database file.. -
Connecting to database through Captivate?
Hello all...
I am using captivate4.
My question description: I have a requirement to connect to database through captivate(any version) & retrieve the data & . I have "N" number of categories in my course where the user will be given an option to select the category according to his preference. I would like to place the questions(category wise) in the data base (so that adding the additional questions would be more flexible) & would like to call it into Captivate quiz accordingly based on the user selection.
How is this possible?
Thanks & regards,
Pullela.Have a look at Jim Leichliter's blog, if someone can do it it will be him:
http://captivatedev.com/
Lilybiri -
Connecting to database through jsp
i want to connect to database through jsp actually my requirement is i want to populate data in one list box in accordance with the selected option in another list box this must done in the same jsp and i must manupulate every thing java script can i found any solution to this with example
just write ur code in scriplets if it is jdbc code & if it is html then write it out side scriplet.
-
Open word file, stored in database through Forms.
Assalam-o-Alikum
to Genius of Oracle's
I have stored the Word file name "MY_FILE.DOC" in oracle database. Now i want to open the file through Forms, remember i am using forms 6i. is there any body who help me to open the file.
Best Regards
Farrukh ShaikhAssalam-o-Alikum
My in tension was not to hurt any body. if it did then sorry for that.
here is the code through which i stored the file in database
first create the DIRECTORY CREATE DIRECTORY generic AS 'C:\temp';---- --directory path where your files will be searched for storing.
THEN
create table my_blob_table
pk_name varchar2(20) primary key,
pk_value varchar2(20),
col_document blob
INSERT INTO MY_BLOB_TABLE
(PK_NAME,PK_VALUE)
('A','A');
COMMIT;
CREATE OR REPLACE PROCEDURE load_blob_from_file
( src_file_name IN VARCHAR2
, table_name IN VARCHAR2
, column_name IN VARCHAR2
, primary_key_name IN VARCHAR2
, primary_key_value IN VARCHAR2 ) IS
-- Define local variables for DBMS_LOB.LOADBLOBFROMFILE procedure.
des_blob BLOB;
src_blob BFILE := BFILENAME('GENERIC',src_file_name);
des_offset NUMBER := 1;
src_offset NUMBER := 1;
-- Define a pre-reading size.
src_blob_size NUMBER;
-- Define local variable for Native Dynamic SQL.
stmt VARCHAR2(2000);
BEGIN
-- Opening source file is a mandatory operation.
IF dbms_lob.fileexists(src_blob) = 1 AND NOT dbms_lob.isopen(src_blob) = 1 THEN
src_blob_size := dbms_lob.getlength(src_blob);
dbms_lob.open(src_blob,DBMS_LOB.LOB_READONLY);
278 Oracle Database 11g PL/SQL Programming
END IF;
-- Assign dynamic string to statement.
stmt := 'UPDATE '||table_name||' '
|| 'SET '||column_name||' = empty_blob() '
|| 'WHERE '||primary_key_name||' = '||''''||primary_key_value||''' '
|| 'RETURNING '||column_name||' INTO :locator';
-- Run dynamic statement.
EXECUTE IMMEDIATE stmt USING OUT des_blob;
-- Read and write file to BLOB.
dbms_lob.loadblobfromfile( dest_lob => des_blob
, src_bfile => src_blob
, amount => dbms_lob.getlength(src_blob)
, dest_offset => des_offset
, src_offset => src_offset );
-- Close open source file.
dbms_lob.close(src_blob);
-- Commit write.
IF src_blob_size = dbms_lob.getlength(des_blob) THEN
$IF $$DEBUG = 1 $THEN
dbms_output.put_line('Success!');
$END
COMMIT;
ELSE
$IF $$DEBUG = 1 $THEN
dbms_output.put_line('Failure.');
$END
RAISE dbms_lob.operation_failed;
END IF;
END load_blob_from_file;
after create the PROCEDURE run the procedure
begin
load_blob_from_file('FILE_NAME.DOC',' my_blob_table','col_document','PK_NAME','A');
end;
Maybe you are looking for
-
Retrieving Username of Windows login of a remote machine
I want to implement Zero Sign On in my application,for that my server needs to retrieve the Windows login information of a client machine whenever a client machine is trying to access a particular url. System.getProperty("user.name") returns Username
-
How to: Send out e-mails through a 3rd party mail host?
Hi, We would like to send out e-mail campaign from our CRM system. But we would not like to risc being blacklisted as spammer, so we would like to send out the e-mails using a 3rd party mail host provider. Our sales department already use our CRM sys
-
can not open the i pad manual on my lap top mac os x 10.5.8 since i sync with itunes acct. Safari just crashes. Is there any thing I can do Have the manual on IPAD2 Do I need My i pad to be connected to my laptop? Howard
-
FCC in reciever File Adapter to supress a field output
Hi All , I am doing IDOC to File interface , and i also doinf variable substitution , so in target file structure i have a field called FileName , which is also coming in my output , even though i am not giving the name of the field in
-
Can I buy Leopard retail second hand?
I lost my Mac OS X Retail Leopard install disc that I bought years ago. My friend is willing to sell me his Retail Leopard install disc however I thought I'd check with you to see if this is okay. He no longer uses Leopard as he sold his old iMac and