How do I connect from  forms 6i  and SQL Plus to Oracle XE?

I have successfully installed Oracle database XE on my work labtop. This machine has already oracle forms,reports,sqlplus installed locally. I have tnsnames.ora file in orant/net80/admin directory. I have created an entry in this tnsnames.ora file copied from the tnsnames.ora file created during the installation of XE in the directory where xe is installed.
I can connect to XE from dos promt by typing sqlplus system/password@xe. But if I go to sqlplus 8.0 (Windows) and try to connect , I get a tnsnames error. Same as when connecting from forms.
Someone please advice. Also If i create an application using Oracle Database Xe
and Oracle forms 6i , Is there any way that I can embedd the database in the forms to distribute as a package.?
Thanks
George

George,
please give us a bit more details:
1) You are on Windows XP SP2, right?
2) please post the result of your tnsping80
D:\Oracle>tnsping80 xe
TNS Ping Utility for 32-bit Windows: Version 8.0.6.3.0 - Production on 12-JAN-2006
08:24:27
(c) Copyright 1997 Oracle Corporation.  All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))
OK (360 msec)3) In which order did you install the oracle software, XE was last, right?
4) Can you still connect using Forms to your other databases? Is everything else still working, just the connect to XE doesn't work?
5) please post your PATH variable:
echo %PATH%
6) please post the XE entry from your tnsnames.ora
7) please post the result of your "normal" tnsping:
tnsping xe
Also If i create an
application using Oracle Database Xe
and Oracle forms 6i , Is there any way that I can
embedd the database in the forms to distribute as a
package.?Sure, XE is meant to be embedded by other solutions. I guess Oracle will have detailed documentation on how to create a package, preinstall the necessary schemas and objects and distribute it together with your forms and reports.
~Dietmar.

Similar Messages

  • How to db connect from SAP to SYBASE SQL anywhere 16 remotely

    Hi All,
    May i know can i connect to SYBASE SQL Anywhere16 from SAP running on kernel 7.42 via dbacockpit (dbco)?
    I've followed note 1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ &  1532253 - SYB: Remote DB Monitoring for SAP Sybase ASE
    but failed.
    Where can i find the dbsl and its client for sybase sql anywhere? I only can find SAP ASE and SAP IQ on SMP. Is those compatible with SQL anywhere 16?
    Thanks.
    Nicholas

    Hi Jason,
    the error message is it complains minimun version for SAP IQ is 15.6, however our SQL anywhere is on version 16, above the support version as per note1737415 - Sybase IQ: Enable remote/secondary connect to SAP Sybase IQ
    fyi, i'm using the latest sybase dbsl and SAPIQ 16 client.
    Any idea or will it works to remotely connect SQL anywhere via dbacockpit?
    Thanks,
    Nicholas.

  • How do I connect both a Mac and PC to Apple TV Home Sharing?

    Goal
    - I am trying to share both my PC and Mac through my Apple TV2 on the "Computers" home sharing menu.
    - These are 2 seperate iTunes accounts as they are 2 different owners of the PC and Macbook.
    - However, home sharing only allows me to have one at a time, can I not have 2 computers connected?
      (The menu is in fact plural and says "Computers" not "Computer")
    Attempt
    -I turn on home sharing on my PC with my PC iTunes account, it then shows up on the "Computers" list as PC
    -I turn on home sharing on my Mac with my Mac iTunes account, it then shows up on the "Computers" list as Mac, but it deletes the PC share
    Troubleshoot
    -So I started from scatch and connected the PC share with my PC itunes account, it shows up,
    -Then I connect the Mac home sharing with the same iTunes login as my PC, but it also erases my PC from the "Computers" list and just displays the Mac.
    Question
    -How do I connect both a Mac and PC to Apple TV Home Sharing?
    -I want them both to show up in the "Computers" list.
    -So the final result will look like this on my Apple TV menu:
    Computers
    -PC
    -Mac
    whew... I'm out of breath... I hope there is an Apple Genius out there that can help.
    Thanks!

    After retrying the home share with the SAME ITUNES ACCOUNT ON HOME SHARING I finally got it to work.

  • How can i connect a Wireless Keyboard and a Trust mouse with a brand new Mac mini?

    How can i connect a Wireless Keyboard and a Trust mouse to a brand new Mac mini?

    Go to the Bluetooth icon on the menu bar and select "Set Up Bluetooth Device". Follow the wizard.
    Alternatively, if you haven't yet unboxed and setup the Mini, you can pair the keyboard to the Mini (and possibly the mouse). However, I would set up with a USB keyboard and mouse and pair the Bluetooth devices afterwards.

  • How to remove Seperator from check-in and profile check in pages

    How to remove Seperator from check-in and profile check in pages
    The seperator is included on the checkin pages, which is present in the std_page with name "std_namevalue_separator", this is called by td_document_checkin_fields and std_document_file_fields.
    Defination of include:
    <@dynamichtml std_namevalue_separator@>
    <$if not isUploadFieldScript$>
    <tr>
         <td width="<$captionFieldWidth$>"><hr /></td>
         <td width="<$captionEntryWidth$>"><hr /></td>
    </tr>
    <$endif$>
    <@end@>
    I have to remove the following include from some of the profile check in page.
    Please suggest if anyone have some idea, how to proceed.
    Thanks,
    Sumit

    791848 wrote:I have to remove the following include from some of the profile check in page.The key here is that you want to do this in some profiles, not all profiles or globally, if I'm reading this right.
    Without writing a component, you can put this code in the "side effects" box in the desired profile(s). This code removes the horizontal rule, and inserts a non breaking space in its place.
    <$setResourceInclude("std_namevalue_separator","<$if not isUploadFieldScript$>
    <tr>
    <td width=\"<$captionFieldWidth$>\"> </td>
    <td width=\"<$captionEntryWidth$>\"> </td>
    </tr>
    <$endif$>")$>YMMV. The non-breaking space may get stripped out in the forum.

  • I need a doc link to connect 11g forms report and ODI ODQ software

    hi
    i need a doc link to connect and install 11g forms report and ODI ODQ software with 11gR2.
    oracle forms/report 11g server is need to be installed on oel 5.6 64b box and My DB is on different home PC with OEL 5.6.
    The ODI DQ sofware need to be installed on local client win xp PC.
    ofm_odidq_win_11.1.1.3.0_32_disk1_1of1
    ofm_odi_win_11.1.1.3.0_32_disk1_1of1_2
    ofm_pfrd_linux_11.1.1.2.0_64_disk3_1of1.zip
    ofm_pfrd_linux_11.1.1.2.0_64_disk2_1of1.zip
    ofm_pfrd_linux_11.1.1.2.0_64_disk4_1of1.zip
    please also suggest if anything to download.
    kind regards
    may be SWINM may think it may be appropriate forum.but my primary requirement is doc link.

    schavali wrote:
    SQLPL/SQLSYSAPPSDBATE0-121(EBZ11,R12)HPEVA1152046c wrote:
    cjmurray wrote:
    I asked one of the Oracle Data Quality (ODQ) writers, who provided this information:
    The documentation can be found here:
    * http://www.oracle.com/technetwork/middleware/data-integration/index-082810.html (Products page with Getting Started docs and sample files)
    * http://download.oracle.com/docs/cd/E15985_01/doc.10136/tutorial/ODQTG.pdf (Oracle Data Quality Tutorial)
    * http://download.oracle.com/docs/cd/E14571_01/integrate.1111/e12643/orcl_data_qual.htm#CHDHAADF (Chapter "Working with ODQ Products" of the ODI Dev guide)
    thx but i am finding hard to find frms report developer guide too.Which version of forms ?check the dled files.its 11.1 hopefully.
    >
    Forms 11g and 10g - http://www.oracle.com/technetwork/developer-tools/forms/documentation/10g-forms-091309.html
    Srini

  • How to remove item from my iPhone and iPad on my reading list?

    How to remove item from my iPhone and iPad on my reading list?

    Swipe across its name in the list and it should get a Delete button on it - tap that and it should be removed from the list

  • HT4528 How to I switHch from German iTunes and App Store back to US?

    How to I switHch from German iTunes and App Store back to US?

    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region...change here.

  • How to download songs from ITunes Japan and France?

    How to download songs from ITunes Japan and France with a credit card and address based in the US? The system appears to not allow downloads in that fashion. Please let me know if you have any details

    This question is asked literally dozens of time a week in these forums, & I will answer, again. In order to purchase from any specific country's store, you will have to meet one of the following criteria:
    1) Have a credit card from that country with a billing address in that country.
    2) You may use an iTunes gift card purchased in that country, but the billing address rule still applies.
    This rules are mandated by the record companies not Apple. The record companies do not care for cross-border sales.
    As a new poster, just a suggestion, it might save you a little time if you use the "search" function in the upper right corner to see if your question has been asked previously. That way you don't have to wait on someone to come along to help you.

  • How to retrieve data from catsdb table and convert into xml using BAPI

    How to retrieve data from catsdb table and convert into xml using BAPI
    Points will be rewarded,
    Thank you,
    Regards,
    Jagrut BharatKumar Shukla

    Hi,
    This is not your requirment but u can try this :
    CREATE OR REPLACE DIRECTORY text_file AS 'D:\TEXT_FILE\';
    GRANT READ ON DIRECTORY text_file TO fah;
    GRANT WRITE ON DIRECTORY text_file TO fah;
    DROP TABLE load_a;
    CREATE TABLE load_a
    (a1 varchar2(20),
    a2 varchar2(200))
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY text_file
    ACCESS PARAMETERS
    (FIELDS TERMINATED BY ','
    LOCATION ('data.txt')
    select * from load_a;
    CREATE TABLE A AS select * from load_a;
    SELECT * FROM A
    Regards
    Faheem Latif

  • How can I downgrade from 11.0 and re-install 10.7

    How can I downgrade from 11.0 and re-install 10.7

    First, reconsider your decision. 11.x isn't quite as user-friendly as 10.x, but it has pretty much the same functions are before (albeit in different places). Give it a few more days, and you might grow to like it. Future releases will only get better.
    If you've made your decision, tap on this link:
    http://www.emacconsulting.com/apple/itunes/downgrade-itunes-11-to-itunes-10-7/

  • How to eliminate google from my computer. and what do i replace it with?

    How to eliminate google from my computer. and what do i replace it with.

    llfrog wrote:
    How to eliminate google from my computer. and what do i replace it with.
    Well first off you'll need another browser, Firefox allows many other search engine choices, Chrome is made by Google so that's no help really.
    https://www.mozilla.org/en-US/plugincheck/
    Once you have Firefox installed (and check the status of your plug-ins) you can search online for alternate search engines, there are hundreds.
    Duck Duck Go is very privacy oriented.
    https://duckduckgo.com/html/
    You can find more here
    https://www.readwriteweb.com/archives/top_10_alternative_search_engi.php
    Once you find one you like and visit the site you can add it to the Firefox search selection like this
    You also can remove Google if you wish totally or just not use it.
    Firefox also has Ad Block Plus, Ghostery, BetterPrivacy add-ons which combined and enabled will stop the trackers of Google and others.

  • Please Help with Forms and SQL Plus Connection Issues in XE

    I am not able to connect with the Forms Builder or SQL Plus with the following errors:
    When attempting to connect with the supplied website.edu:port/orcl
         ORA-06401: NETCMN: invalid driver designator
    When leaving the connection information blank and using my local login and password
    for my copy of Oracle XE
         ORA-12560: TNS:protocol adapter error
    Based on some reading, I set the TNS_ADMIN user environmental variable, trying each of the tnsnames.ora locations but I'm still receiving the same errors
    Location 1: DevSuiteHome\...\tnsnames.ora
    Location 2: oraclexe\...\tnsnames.ora

    Thanks, Vikas!
    But I did a search for 6iServer.conf and did NOT locate any such file
    Please help
    TIA
    SHANKAR
    Shankar,
    It would have helped if you had indicated what is the full version of 9iAS that you have installed. By default the portnumber that is used is 7778.
    As per the entries, they should have already been made in the config files. But check that the 6iServer.Conf file and it should contain the entries that you are being told to update. If not, then add the entries in the 6iServer.conf file and that is all you need.
    HTH.
    Vikash

  • How can I connect NetBeans 6.1 with SQL Server 2005?

    Hello guys...
    how can i connect NetBeans 6.1 with SQL Server 2005?
    there is no SQL Server in Server list when we create a new Web Project and choose Server.
    I'm new to NetBeans and this is my first time of posting.
    If has some errors and unwanted disturbing,pls understand me. Thanks.
    (If you have references or some snippets, i'll be glad if u can share.)
    scsfdev

    The JDBC-ODBC bridge wasn't recognizing any of the primary keys I had set up in SQL Server. After lots of head banging, here's the solution I came up with:
    1. Download the appropriate driver. SQL Server 2000 requires the SQL Server 2000 JDBC driver (http://www.microsoft.com/downloads/details.aspx?FamilyId=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=en).
    SQL Server 2005 download: (http://www.microsoft.com/downloads/details.aspx?familyid=C47053EB-3B64-4794-950D-81E1EC91C1BA&displaylang=en)
    3. After installing, right-click on "Libraries" in your project, and choose "Add Library...". Next, give it a name (i.e. SQLServer2000), and select "Class Libraries".
    4. On the next screen, find the JAR files (should be in C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib\), and add them under the "Classpath" tab. It will now be available under "Libraries" for future projects.
    5. You can now create a connection to a specific database under the "Services" tab (next to "Projects" and "Files" in the top left of the screen). Select "Microsoft Sql Server 2000 (Microsoft Driver)" and format the "Database URL" like this:
    jdbc:microsoft:sqlserver//YOURSERVER:1433;DatabaseName=YOURDATABASE
    1433 is the default port, though your DBA may have changed it.
    I posted a simpler version of this on the NetBeans.org FAQ page - they had the following title with no content on the answer page:
    "Cannot Select Tables From MsSql 2000 Because It Says No Primary Key Next To Each Table But The Tables DO Have A Primary Key. What Do I Do?"

  • Remote Connection from SAP to MS-SQL server

    Hello Experts,
    We have been following 2 options so far and we have come across some issues
    The first Option is to call a stored procedure (this is our preferred method) which does the data transfer for us
    We have been able to test this scenario successfully from SQL Server side
    However, while calling the stored proc via native SQL from ABAP we have come across an issue which is due to SQL 2005 changes (Schema implementation and difference in the security context)
    While calling the stored procedure from the ABAP Code we have an error
                The program short dumps with runtime error DBIF_DSQL2_SQL_ERROR, exception CX_SY_NATIVE_SQL_ERROR. The database error code is 15274, and the error text is
                 "Access to the remote server     is denied because the current security context is not trusted."
    This issue is new after the SQL Server 2005.
    We are trying to resolve that.
    Secondly we have been trying the DBCON option as well as per OSS Note 323151
    We have a few things thatu2019s impacting our scenario:
    The remote servers are in a different domain
    The remote servers are located  in DIZ
    Remote server is a named instance
    Remote server has been configured with a different port than standard (1565) u2013 All Connection strings will need port in there
    The Database name starts with a numeric value
    Due a combination of factors as mentioned above the standard approach does not work
    Have any of you used this approach while connecting from SAP to MS-SQL server? Do you know of any successful methods to connect to SQL using ABAP (or not) from SAP.
    Thanks in advance,

    Yes,
    DBConnect & UDConnect.
    Works like a charm.
    We write data into a MS-SQL database via DBConnect & an ABAP program (using open sql).

Maybe you are looking for