Unable to connect to database from D2K

Hi,
GoodDay, This is Ramesh. I have loaded both Oracle 9i & D2K in my PC. But i am getting some error message while trying to connect to database from d2k forms. I entered Usename, Password. The message is..
ORA-12203: TNS: Unable to connect to destination
The second time i entered both Username, Password & Database.
User Name: Scott
Passwors : tiger
Database: ORCL9i (SID name)
please let me know where i am lacking..?
Regards,
Ramesh.

Do you connect when you set username , passwd , database....????
If you can via another tool , for example sql*plus then simply , copy the particular setting tns alias , you use to connect to this db, from [ORACLE_HOME]\network\admin\tnesanames.ora and paste it to [DEV2000_HOME]\network\admin\tnsnames.ora
Greetings,
Sim

Similar Messages

  • Unable to connect to database from forms or reports

    hi friends
    i installed oracle9i database and oracle 9i D2K in 2 different drives with different homes
    i am able to start database and the forms interface but i am unable to connect to the database from forms
    what might be the error please clarify it
    Bye
    Srikumar

    Thanks Farahd!
    <br><br>
    Interesting Info!
    <br><br>
    Raj<br><br>
    <b>www.oraclebrains.com<a>
    <br><font color="#FF0000" size="1">POWERED by the people, to the people and for the people WHERE ORACLE IS PASSION.</font></b>

  • Unable to connect to database from Unifier9.1 configurator

    After installing Unifier on Windows 2008 R2 64bit server , invoked Unifier Configurator while configuring database, i am unable to connect to oracle 11g database and connection test failed.
    I have ensure database, listner, telnet, ping are working fine from Unifier server to database server.
    Please let me know any pre-requisites required to make connection successful. I have invoked Configurator as Administrator as stated in installation doc.

    Hi Sachin,
    Thanks for the reply. I have created the user and granted connect,resource,create view roles as suggested in installation doc.
    do we need Oracle client software installed on Unifier system? i can say that i can telnet and ping the server on 1521 port.
    -Sreekanth

  • Unable to connect to database from windows command prompt

    Hi All,
    Im trying to connect to Oracle database from my windows command prompt, these are the steps I followed:
    1) cd C:\oracle\product\11.2.0\client_1\sqlplus
    2) sqlplus username\password@hostname:1521\service_name
    I do get the error ORA-06401: NETCMN: invalid driver designator
    I did try using the SQLPLUS \NOLOG
    Connect username\password@hostname:1521\service_name
    I still get the same error.
    I did manually type all the commands to make sure no additional charaters coming and etc...How shall I overcome this...

    user9103174 wrote:
    Hi All,
    Im trying to connect to Oracle database from my windows command prompt, these are the steps I followed:
    1) cd C:\oracle\product\11.2.0\client_1\sqlplus
    2) sqlplus username\password@hostname:1521\service_name
    I do get the error ORA-06401: NETCMN: invalid driver designator
    I did try using the SQLPLUS \NOLOG
    Connect username\password@hostname:1521\service_name
    I still get the same error.
    I did manually type all the commands to make sure no additional charaters coming and etc...How shall I overcome this...do you desire/plan on using EZCONNECT or tnsnames.ora entry?
    EZCONNECT sample is below
    sqlplus user1/pass1@'dbserver:1521/orcl_sid'

  • Unable to connect to database from forms6i

    i have installed form61 and PO8i on my machine and was working perfectly till yesterday.
    but today i was able to log into the database but not through the forms.it give an ORA-12203unable to connect to the destination.
    Please help in this issue.
    I have installed a VC++ compiler today, will that be a problem for this issue...
    Thanks in advance
    VJ

    Since you had installed f6i and o8i in the same m/c so obviously with different homes. It had been earlier working fine with both forms and oracle. And now you can connect from oracle db, But not forms. So the main reason can be that the listener is not started. So check if it is running. If not start the listener and check. If it works fine, if not then check if the tnsnames.ora file is there at the correct location in forms home dirctory. if yes then see, if the network protocal, address and port addresses in listener.ora in oracle home and tnsnames.ora entries in forms home net8 are correct. If not make the correct entries.
    Check this, as there shall be a problem with it only as it was working earlier otherwise there can be an error in the network protocols. See if it helps

  • 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

  • Server Error in '/' Application. [COMException (0x81020024): Unable to connect to database]

    Hi,
    My team and I are trying to resolve this issue. some of our users are having trouble uploading data into the database. this is the error that they are getting.
    I would really appreciate it if you could help me get ridd fo this issue.
    Server Error in '/' Application.
    Unable to connect to database. Check database connection information and make sure the database server is running.
    Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details:
    System.Runtime.InteropServices.COMException: Unable to connect to database. Check database connection information and make sure the database server is running.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace
    below.
    Stack Trace:
    [COMException (0x81020024): Unable to connect to database.  Check database connection information and make sure the database server is running.]
       Microsoft.SharePoint.Library.SPRequestInternalClass.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId,
    String bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +0
       Microsoft.SharePoint.Library.SPRequest.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId, String
    bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +359
    [SPException: Unable to connect to database.  Check database connection information and make sure the database server is running.]
       Microsoft.SharePoint.Library.SPRequest.PreInitServer(String bstrAbsoluteRequestUrl, String bstrServerRelativeUrl, Int32 lZone, Guid gApplicationId, Guid gSiteId, Guid gDatabaseId, String
    bstrDatabaseServer, String bstrDatabaseName, String bstrDatabaseUsername, String bstrDatabasePassword, Boolean fHostHeaderIsSiteName) +479
       Microsoft.SharePoint.SPSite.PreinitializeServer(SPRequest request) +666
       Microsoft.SharePoint.SPWeb.InitializeSPRequest() +548
       Microsoft.SharePoint.SPWeb.EnsureSPRequest() +75
       Microsoft.SharePoint.SPWeb.get_Request() +74
       Microsoft.SharePoint.WebControls.SPControl.SPWebEnsureSPControl(HttpContext context) +613
       Microsoft.SharePoint.WebControls.SPControl.GetContextWeb(HttpContext context) +41
       Microsoft.SharePoint.SPContext.get_Current() +123
       CKS.EBE.BlogContext.get_BlogEnabledSite() +37
       CKS.EBE.BlogHttpModule._app_PostAuthorizeRequest(Object sender, EventArgs e) +113
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +80
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171
    the description of the error on the server is as follows:
    The description for Event ID ( 27745 ) in Source ( Windows SharePoint Services 3 ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use
    the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: #50071: Unable to connect to the database MOSS_Content_RBI on BartDB\Bart.  Check the database connection information
    and make sure that the database server is running..

    are you using the Aliases for the SQL Server, make sure your account having the correct permission.
    If it is your QA farm, you can run the config wizard to fix his problem...
    check this post having the similar issue.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/478d6b3a-a51e-48c5-832b-5afb51c69734/unable-to-connect-to-the-sql-content-database-from-sharepoint-web-front-server?forum=sharepointadminlegacy
    http://hammad1.wordpress.com/2008/06/04/unable-to-connect-to-database-in-event-logs/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Unable to connect to database server : MDM 7.1

    Hello All,
    I installed MDM 7.1 and I am unable to create/mount/unarchieve repository : Error message I am getting is :
    Unable to connect to Database
    I installed MSDE : Light version of SQL server... On command prompt I used: setup.exe sapwd=abcd SECURITYMODE=SQL
    Its an mixed mode..
    Dont know MSDE is okey to use for MDM 7.1? Any one faced such issue?
    Thanks in advance
    Rajeev

    Hi,
    Did you install Oracle client on MDM server.  If not please install it and revert with the result..
    Please check SAP Note 1350635 - "Problem connecting to database from MDM console" & Note 1363797 -" Oracle connection problem".. Kindly also check the log in MDM console and revert with the result.
    Also, Please check Configurations Settings as mention in [MDM installation Document|https://websmp209.sap-ag.de/~sapidb/011000358700001668492008E] from Page no 42 to 45.
    Check it and revert with your findings.
    Regards,
    Shiv

  • Unable to Connect to Database (after server has been re-started)

    Hi,<BR><BR>I use Essbase Admin Services 7.1.3 and the server was not responding, therefore our IT guys re-started it. Since then I am unable to connect to one of the applications. I have tried to start/Stop the application but it just says "Application did not start". <BR><BR>There are 6 databases in this application altogether (3 data and 2 Currency). The application has been there for about 3 years (it holds historic sales data) and there has never been any problems with it.<BR><BR>When I tried to Start the application, in the message panel at the bottom it says "Error: 1013015 Unable to Connect to Database (2003)". It's as if there is a problem with this 2003 database but the 2002 and 2004 database are OK.<BR><BR>Has anyone ever had this problem and knows how to rectify it??<BR><BR>Thanks in advance.<BR><BR>Sarah

    It may be that the server restart corrupted the database. Go into database properties and uncheck the box start database with application and then try to restart the application.<BR><BR>You can try database validation, or simply reload the database from backup. But you can get the application up and the rest of the databases up by decoupling the database restart from the application start.<BR><BR>There will be a .xcp log file in your application directory (and possibly your database directory.) These might help Hyperion Support in identifying the cause of the problem. But the quickest solution would be to reload the database from backup. The serer and application logs can also provide help in identifying the problem.<BR><BR>One of the keys is to determine why the server is not responding before restarting the server. It may be that a single application is the source of problem. Typical causes are unscheduled free space restructures, application loads of large databases, and an occasional rogue process. Rather than rebooting the entire box, or even restarting the Essbase server, the safest approach is to only kill the job that is soaking up the cpu cycles, causing the server to be unresponsive. This requires identifying the offending process (esssvr.exe) and killingit. Often that restores the rest of the system to operations, giving you time to focus onthe offending application.<BR><BR>You learn thses things when you are pushing the server to its limits (or beyond). If it happens often, you need to do a serious performance audit of teh server and determine whether you need more power and/or memory. <BR><BR>And in any case, you are less likely to encounter this sort of problem in the future if you try to limit applications to a single database. This will allow a better utilization of system resources. And also, it's a good idea to shut down applications that you are not going to be using for a while. Every loaded app takes system resources whether or not it is doing anything. So review your list of apps that start on startup and consider unloading apps after completing batch processing. <BR><BR>Sorry about the long lecture, but I speak from somewhat painful experience. I hope that this will help you.

  • Problem in connecting to database from webdynpro for java

    Hi
    I have a problem in connecting to database from webdynpro application
    I am using oracle 10 express edition as database and was able to connect to database from a java application.But  was unable to connect from a webdynpro for java.
    <b>I guess webdynpro for java uses open sql instead of vendor sql(I looked in the visual admin ,DB is using open sql) so unable to connect to database.Am i right.?</b>
    Do i need to make any settings in the visual admin to make it work?
    How to solve this problem.Please give me pointers
    Thanks
    Bala

    Hi,
    For connecting to Oracle, either you can use the normal JDBC connectivty code directly which is given below :
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    In case you want to fetch data through ejbs, these are the steps to be followed :
    1) Open the J2EE perspective
    2) Create an EJB Module project
    3) Right click on ejbModule, create a new EJB (select your EJB type)
    4) While creating the ejb itself, you can add business methods by clicking ‘Next’ in the UI. Another option is after creating the ejb, write the method in the bean, then select the method from ejb-jar.xml -> <bean name> ->method. Right click and select ‘propogate to local & remote’.
    5) Double click on ejb-j2ee-engine.xml. select your bean and specify a Jndi name for eg: “MyJndi”.
    6) Right click on the EJB project and add ‘classes12.zip’ file (provided by Oracle) to it’s build path. (under libraries tab). Also check the same file under ‘Order & Export’.
    7) Create an Enterprise Application project.
    8) Right click on the EJB module project and select add to EAR project, then select the created EAR project.
    9) Right click on the EJB project, select ‘Build EJB Archive’
    10) Right click on the EAR project, select ‘Build Application Archive’
    11) Open the WebDynpro perspective, open a new project, right click on the project ->properties. Do the following configurations :-
    • Java Build path - select the EJB project from ‘projects’ , check the selected project under ‘Order & Export’
    • Project references – select the EAR project
    • WebDynpro references – select ‘sharing references’ tab, click add & make an entry as : <vendor>/<EAR project name without .ear extension>
    You can find the vendor name under ‘application-j2ee-engine.xml’ file of the EAR project. By default it is ‘sap.com’. So if my EAR project’s name is ABC, my entry would look like ‘sap.com/ABC’
    12) Now the configurations are over and the EJB can be invoked by writing the client code inside the webdynpro component. Like:
    InitialContext context = new InitialContext();
    Object obj = context.lookup("MyJndi");
    MyEJBHome home = MyEJBHome)PortableRemoteObject.narrow(obj,MyEJBHome.class);
    MyEJB mybean = home.create();
    int a = 0;
    a= mybean.add(10,15);
    wdContext.currentContextElement().setSum(a);
    where ‘MyEJB’ is my EJB name and ‘MyJndi’ is my JNDI name
    To connect to Oracle , you can write the usual Java code (given below) as a business methos of the ejb (similar to add() method in the example). And access it like mybean.<businessMethodName>().
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection("jdbc:oracle:thin:@Oracle_server_ip:Oracle port:SID of the Database","user_name","password");
    Statement stmt = conn.createStatement();
    ResultSet rs = stmt.executeQuery("your query");
    Extracted from Re: Webdynpro and Oracle
    http://help.sap.com/saphelp_webas630/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm
    May be of use to understand the VA Conf /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    Regards
    Ayyapparaj

  • RC-40201: Unable to connect to Database

    I am trying to run
    perl adclonectx.pl migrate
    on new linux server, I am getting error, I tried with some action metalink notes, but no luck,
    DB is up and runnin and listener is up and running,
    what else i need to check, i am not sure, i have created SR, but i have not got good action plan,
    Initializing the Apps Service Context variable Hash
    DEBUG: Apps Service Status context variable extracted from the given Apps context file
    s_apcstatus
    s_apc_restrict_status
    s_apcstatus_pls
    s_tnsstatus
    s_tcfstatus
    s_concstatus
    s_formsstatus
    s_reptstatus
    s_metcstatus
    s_metsstatus
    s_icsmstatus
    s_jtffsstatus
    s_icxblkstatus
    s_discostatus
    s_mwastatus
    PROMPT :
    Does the target system have more than one application tier server node (y/n) [y] ?
    ANSWER :
    y
    PROMPT :
    Does the target system application tier utilize multiple domain names (y/n) [n] ?
    ANSWER :
    n
    PROMPT :
    Default value found for s_tools_oh : /tmp/
    Default value found for s_weboh_oh : /tmp/
    PROMPT :
    Do you want to preserve the Display set to dbora12:1.0 (y/n) [y] ?
    ANSWER :
    n
    PROMPT :
    Location of the JDK on the target system [opt/java1.5]
    ANSWER :
    /usr/java/jdk1.5.0_21
    StackTrace:
    java.lang.Exception: Cant connect to database using DBUtil
    at oracle.apps.ad.context.CloneContext.checkDatabaseConnection(CloneContext.java:5694)
    at oracle.apps.ad.context.CloneContext.promptForPortPool(CloneContext.java:5376)
    at oracle.apps.ad.context.CloneContext.doClone(CloneContext.java:637)
    at oracle.apps.ad.context.CloneContext.main(CloneContext.java:6228)
    RC-40201: Unable to connect to Database OFMSREGT.

    Danny,
    Please mention the application release and the OS.
    Do you have proper entry in the hosts file? Can you connect to the database remotely?
    Do you have the latest AutoConfig (Rapid Clone) patches applied?
    Please see if these docs help.
    Note: 273477.1 - Running Perl Adcfgclone.Pl Appstier Gives Error
    Note: 421148.1 - Jdbc Errors Cloning Apps Tier
    Note: 271250.1 - Adcfgclone.pl tier apps Errors with RC-40201: Unable to connect to Database
    Note: 392989.1 - Oam Cloning Preclone while Failed trying to connect to the target DB
    Regards,
    Hussein

  • Upgrade SBO-COMMOM SQL -  unable to connect to database

    Dear Experts,
    I'm trying to upgarde from SAP 2007 A PL-42  to  PL-49.
    I have currently got SQL2000 (for legend system) running under the instance name SERVER and i have installed SQL2005 (SAP uses this) with the instance name SERVER\SQL2005, both running on the same machine called SERVER.
    When i try to upgrade the SBO-COMMON database, it installs the DI and reaches a point where it asks for:-
    Database Server:-              (I input SERVER\SQL2005)
    Database Name:-              (SBO-COMMON)
    User Name:-                     (sa)
    Password:-                      (password)
    When i click the NEXT button, i get the error "unable to connect to database; verify that database TCP/IP port serice is started."
    I have verified that the TCP/IP ie enabled,and running on port 1433.
    Addidtional Information:
    During installation, it tries to access c:\windows\system32\sqljdbc_auth.dll file, when i click the NEXT button, just before i get the TCP/IP error.
    Would highly appreciate the help.
    Regards,
    Asif

    Dear Asif,
    You may check these threads first:
    Re: Unable to connect after migrating from SQL Server 2000 to SQL Server 2005
    Re: Installing SBO 2007 Error Unable to connect to database
    Thanks,
    Gordon

  • Unable to connect to database which uses custom NLS charset

    Hello,
    I have custom character set installed on my database. I'm trying to connect to DB using OCI driver. On the client machine (Linux), I have Oracle 10g Release 2 installed. Custom character set is installed on the client side too and SQL*Plus connection works fine. Both NLS_LANG and ORA_NLS10 environment variables are set correctly.
    When I'm trying to connect via JDBC, I'm getting the following error:
    java.sql.SQLException: Character Set Not Supported !!
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.sql.converter.CharacterSetMetaData.isFixedWidth(CharacterSetMetaData.java:924)
         at oracle.jdbc.driver.DBConversion.<init>(DBConversion.java:164)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:878)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at java.sql.DriverManager.getConnection(DriverManager.java:525)
         at java.sql.DriverManager.getConnection(DriverManager.java:171)
    and so on...
    The same code works fine on my computer (I have 9i client here). As I have read from various sources across the internet, Oracle 10g JDBC driver uses own character set conversation methods, encoded in orai18n.jar, it does not pay attention to NLS_LANG, etc.
    So, my question is: do I need to create own character set for JDBC? And if so, is there a chance to generate it from existing .nlt files or I need to build them from scratch?

    Sorry, I think it will be better if I move this post to "Globalization Support" forum : Unable to connect to database which uses custom NLS charset
    This thread can be closed

  • Error Message: Unable to connect to Database Contact IT Dept.

    Hi Everyone, there is a problem in login.
    The software is working fine from long time,
    Today all of a sudden while I logged into the software [which was created using oracle/reports 6i] (Version - Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production)],
    I got the error saying Unable to connect to Database Contact IT Dept.
    The same software is working fine in all the systems.
    In only 1 system, that error message is displayed.
    Thank You.

    From this  message,  it is understood that  your  database connectivity credentials is not correct.
    What makes you think that ? Do you know the Oracle error that caused the message ? (which is evidently generated by the application)
    Recently did you changed any password - which may be  hardcoded on form.
    On one client only ?

  • Unable to connect to database; verify that database TCP/IP port service is

    Hi i have a problem with a few servers when i'm trying to upgrade from SAP 2007 SP00 PL47 to SAP 2007 SP1 PL06, i run the upgrade for SBO-COMMON and gives me the message Unable to connect to database; verify that database TCP/IP port service is  started, and i don't know why, i hope you can help me.
    Julieta

    Hi,
    Ensure that the connection to the database is configured properly.
       1. Check that the TCP/IP port is not being blocked by a Firewall.
       2. Set the Server's Remote Connection to accept TCP/IP connections.
    Microsoft SQL Server 2005 -> Configuration Tools -> SQL Server Surface Area Configuration -> Server Surface Area Configuration for Services and Connections -> MSSQLSERVER -> Database Engine -> Remote Connections
    Restart the 'SQL Server (MSSQLSERVER)', and run the upgrade again.
    Hope this will resolve your issue !

Maybe you are looking for