Unable to connect to database via other software.

I have narrowed down all the problems i am having to Oracle XE. I have written a bit of software which uses Crystal Reports. The crystal reports work in the software and attach to the database and get the results when the software is installed on a machine which has Oracle XE installed (full database not just the client) even if the database the crystal report actually attaches to is not on this machine.
If the software is installed on a machine with only the Oracle XE client installed on i get connection errors every time i try and get the Crystal Reports to run in the software.
What files do i need to have on these client machines to get rid of these connection errors?

Please ... don't make us guess.
At the least, give us a hint what the messages are. Cutting and pasting from the actual session would be best.
Right now, I am guessing you use Windows and that you have only tried connecting to an Oracle database that runs on Windows. But that is a guess.
I'm also guessing that you have not set up the Oracle 'tnsnames.ora' file (or used any other naming resolution mechanism) on the machine with crytstal reports and XE.
I have about 93 other guesses I could make as well. Many of which are not useful.

Similar Messages

  • Unable to connect to databases via SQLPlus or SQLDeveloper

    Hi,
    Current Setup: Linux Enterprise 5.8 64 bit/ Oracle 11g/ SQL Developer 3.1
    I recently created a new Linux VM from scratch and installed Oracle 11g on it. Was able to successfully create databases via DBCA, how ever am not able to connect to these databases.
    You'll find this very interesting. I recently discovered different scenarios, where it works and does not works.
    Below scenarios are executed in sequence. After Scenario C, I can successfully create connections via SQLPlus and SQLDeveloper
    Scenario A :
    STEP 1) Start Linux Box
    STEP 2) Try to extablish connection via SQLPlus and SQLDeveloper
    SQLPlus Error: ERROR: ORA-12541: TNS:no listener
    SQLDeveloper Error: Network Adaptor could not establish the resource
    Scenario B :
    STEP 1)Run: lsnrctl start
    ==========
    OUTPUT START
    ==========
    [admin@localhost ~]$ lsnrctl start
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 10-AUG-2012 23:53:53
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Starting /home/admin/app/admin/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - ProductionSystem parameter file is /home/admin/app/admin/product/11.2.0/dbhome_1/network/admin/listener.oraLog messages written to /home/admin/app/admin/diag/tnslsnr/localhost/listener/alert/log.xmlListening on:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))Listening on:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))STATUS of the LISTENER------------------------
    Alias LISTENERVersion TNSLSNR for Linux: Version 11.2.0.1.0 - ProductionStart Date 10-AUG-2012 23:53:56Uptime 0 days 0 hr. 0 min. 2 secTrace Level offSecurity ON: Local OS AuthenticationSNMP OFFListener Parameter File /home/admin/app/admin/product/11.2.0/dbhome_1/network/admin/listener.oraListener
    Log File /home/admin/app/admin/diag/tnslsnr/localhost/listener/alert/log.xmlListening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))The listener supports no servicesThe command completed successfully[admin@localhost ~]$
    =========
    OUTPUT END
    =========
    STEP 2) Try to extablish connection via SQLPlus and SQLDeveloper
    SQLPlus Error: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    SQLDeveloper Error: TNS: listner does not currently know of SID given in connect descriptor
    Scenario C :
    STEP 1) Open DBCA > Configure all database one by one database > Go to till STEP 3 of DBCA configuration wizard
    STEP 2) Close DBCA
    STEP 3)Run: lsnrctl status
    ==========
    OUTPUT START
    ==========
    [admin@localhost ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 11-AUG-2012 12:04:11
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 11-AUG-2012 11:48:51
    Uptime 0 days 0 hr. 15 min. 19 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /home/admin/app/admin/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /home/admin/app/admin/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "agent" has 1 instance(s).
    Instance "agent", status READY, has 1 handler(s) for this service...
    Service "agentXDB" has 1 instance(s).
    Instance "agent", status READY, has 1 handler(s) for this service...
    Service "orcl.localdomain" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "orclXDB.localdomain" has 1 instance(s).
    Instance "orcl", status READY, has 1 handler(s) for this service...
    Service "productionXDB" has 1 instance(s).
    Instance "production", status READY, has 1 handler(s) for this service...
    Service "production_core" has 1 instance(s).
    Instance "production", status READY, has 1 handler(s) for this service...
    Service "publishing" has 1 instance(s).
    Instance "publishing", status READY, has 1 handler(s) for this service...
    Service "publishingXDB" has 1 instance(s).
    Instance "publishing", status READY, has 1 handler(s) for this service...
    Service "switchinga" has 1 instance(s).
    Instance "switchinga", status READY, has 1 handler(s) for this service...
    Service "switchingaXDB" has 1 instance(s).
    Instance "switchinga", status READY, has 1 handler(s) for this service...
    Service "switchingb" has 1 instance(s).
    Instance "switchingb", status READY, has 1 handler(s) for this service...
    Service "switchingbXDB" has 1 instance(s).
    Instance "switchingb", status READY, has 1 handler(s) for this service...
    The command completed successfully
    [admin@localhost ~]$
    ==========
    OUTPUT END
    ==========
    What can I do to connect to databases and not start dbca and configure each database on system start?
    Any help would be highly appreciated.
    Cheers,
    Sandeep
    Edited by: Sandeep.R on Aug 11, 2012 12:06 PM

    You need a service to auto start/stop instances. Pls See
    Re: Oracle instance is going to idle when i restart/start the machineRgds,
    Ahmer

  • MDM 71 - mdm console and clix - unable to connect to database server

    Hi,
    environment, MDM 7.1, AIX 6, Oracle 10.2.0.4 (installed as part of a standalone java AS)
    i've an issue. I have installed MDM 71 via sapinst, before that I installed a standalone java application server. During the installation, i gave the 'oracle client', 'oracle home' and 'oracle sqlplus utility' to be those of the oracle database installed for the java AS.
    After sapinst completed I tested my connection to the database via
    tnsping <SID> = OK
    sqlplus system/passwd@<SID> = OK
    When i start up the mdm console (7.1.02.90) i can mount the MDM server, BUT when I try to configure the database settings i get
    error  'unable to connect to database server'
    I get the same error when i use clix dblist
    Error: 0x84020004, Unable to connect with Database Server
    Has anybody got any ideas.

    To see why the MDM is not able to connect to database, do the following:
    % cd /usr/sap/<SID>/MDSxx/log
    % ls -ltr
    You will find last updated log file with name like MDS_LogXXUX101224X164953.csv
    % tail -100 MDS_LogXXUX101224X164953.csv
    You will see the reason for not being able to connect. If the reason is:
    ",MDSAdminServerXGetAvailableReps,Oracle_DBConnection.cpp,205,,,,server_user,server_global,,,
    2011-09-23T06:10:48.933,6       ,24,"Service 'SID', Schema 'system', ERROR CODE=12154 ||| ORA-12154: TNS:could not resolve the connect identifier specified
    OCI Attach, try again ...
    Then edit the /oracle/SID/112_64/network/admin/tnsnames.ora with entry like following:
    SID.WORLD =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS =
            (COMMUNITY = SAP.WORLD)
            (PROTOCOL = TCP)
            (HOST = hostname)
            (PORT = PORT_NO)
        (CONNECT_DATA =
          (SID = SID)
          (GLOBAL_NAME = SID.WORLD)
    then issue:
    tnsping SID
    If result is like
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (COMMUNITY = SAP.WORLD) (PROTOCOL = TCP) (HOST = hostname) (PORT = PORT_NO))) (CONNECT_DATA = (SID = SID) (GLOBAL_NAME = SID.WORLD)))
    OK (0 msec)

  • 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

  • Unable to connect to internet via the proxy - Proxy set up OEM 12c

    Windows server 2008 64 bit
    OEM 12.1
    I have to get agent software for Windows server 2003, and as far as I know the only way is through self update in OEM, is this the only way?
    But when I input my Oracle support credentials I get an error :
    Unable to complete network operation against My Oracle Support. Please check network connectivity to Oracle Support Site.
    Proxy settings in EOM are set for https, but not sure about the realm, I input our damain address "company.corp"
    test successful :
    https://updates.oracle.com was tested successfully using the Proxy.
    Go to set oracle support credentials error :
    Unable to complete network operation against My Oracle Support. Please check network connectivity to Oracle Support Site.
    In the emoms.log file :
    2012-07-22 18:28:50,753 [EMUI_18_28_49_/console/admin/rep/proxy/server] ERROR core.patch logp.251 - [EM-01942] Unable to connect to internet via the proxy. Http Proxy - company:80. Destination URL - https://server:proxy/emd/main/. Protocol - https. Error Message - Cannot establish proxy connection: 502 Proxy Error ( The specified Secure Sockets Layer (SSL) port is not allowed. Forefront TMG is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests.  ).
    java.io.IOException: Cannot establish proxy connection: 502 Proxy Error ( The specified Secure Sockets Layer (SSL) port is not allowed. Forefront TMG is not configured to allow SSL requests from this port. Most Web browsers use port 443 for SSL requests.  )

    Please check the following section in
    http://docs.oracle.com/cd/E24628_01/install.121/e24089/firewalls.htm#EMADV626
    Enabling Oracle Management Service to Access My Oracle Support
    Unless online access to the Internet is strictly forbidden in your environment, Oracle Management Service should be enabled to access My Oracle Support. This access is necessary to enable updates and patches to be downloaded, for example.
    At minimum, the following URLs should be made available through the firewall:
    aru-akam.oracle.com
    ccr.oracle.com
    login.oracle.com
    support.oracle.com
    updates.oracle.com
    About the dontProxyfor Property
    When you configure the Oracle Management Service or a Management Agent to use a proxy server, it is important to understand the purpose of the dontProxyFor property, which identifies specific URL domains for which the proxy will not be used.
    For example, suppose the following were true:
    You have installed the Oracle Management Service and several Management Agents on hosts that are inside the company firewall. These hosts are in the internal .example.com and .example.us.com domains.
    You have installed several additional Management Agents on hosts that are outside the firewall. These hosts are installed in the .example.uk domain.
    You have configured Enterprise Manager to automatically check for critical software patches on My Oracle Support.
    In this scenario, you want the Oracle Management Service to connect directly to the Management Agents inside the firewall without using the proxy server. On the other hand, you want the Oracle Management Service to use the proxy server to contact the Management Agents outside the firewall, as well as the My Oracle Support site, which resides at the following URL:
    http://support.oracle.com
    The following properties will prevent the Oracle Management Service from using the proxy server for connections to the Management Agents inside the firewall. Connections to My Oracle Support and to Management Agents outside the firewall will be routed through the proxy server:
    proxyHost=proxy42.example.com
    proxyHost=80
    dontProxyFor=.example.com, .example.us.com
    PS: Cygwin has nothing to do with My Oracle Support connection. Cygwin is ONLY required for agent deployment using agent push from OMS.

  • 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 ?

  • 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.

  • Unable to connect to database  in ofline mode

    Hi ,
    i have server OBIEE server installed in Linux and client installed on windows7
    the issue is
    when i log in to admin tool on client it opens and show all tables but..
    ..... when i right click a table and click on view data .. it through an error 'UNABLE TO CONNECT TO DATABASE"
    I HAD CHECKED THE TNS NAME S EVERY THING IS FINE
    can any help in this regard

    Hi,
    which DB are you using? if u r using Oracle DB refer the below steps and make sure u r end
    There are 3 options to work around this
    1. Copy your tnsnames.ora to {Oracle_BI1}\network\admin directory & {oracle_common}\network\admin directory (only the former is needed as that is the ORACLE_HOME)
    2. Or instead of tnsnames.ora source entry, use the full expanded tnsnames as shown below
    (DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.66.173)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = orcl)))
    3) easy to connect u r DB
    To configure OCI, you have to provide in the connection pool of the physical layer three parameters:
    the call interface. You must choose OCI.
    The data source name
    The user name and password
    In the data source name, you have to enter a connect identifier that can be one of the following naming methods.
    //database_host[:port]/service_name
    for more :
    http://gerardnico.com/wiki/dat/obiee/oci
    Thanks
    Deva

  • I'm unable to connect to database thru cold fusion

    I'm unable to connect to database thru cold fusion. it
    sometiems give me an error that your uname is undefined , soemtimes
    it gives ur index page not found so i created index page also but
    still im unable to connect to database n update my records..plz
    help me out..im a fresher in cold fusion

    I am having a similar problem having CFMX 7.02 verify my SQL
    Server 2005 Data Sources.
    I am using the sa account for CF to access the db's. But i
    get the following error:
    Connection verification failed for data source: myDatabase
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    Every role in SQL Server has the sa grantor Grant enabled. I
    can also login to SQL Server with the sa account w/o a hitch.
    I don't know what else to do. The server information is set
    to the ServerName port 1433, datasource name and database name are
    the same as the database name in sql server, and the username and
    password are set for the sa account.
    Thanks!

  • 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

  • Cannot connect to database via TNS

    Hello!
    I installed XE with default settings and have some trouble. I cannot connect to database via TNS. Two symptoms:
    1. I can connect with SQLPLUS system/pwd (locally, without tns name input), but CANNOT connect with SQLPLUS system/pwd@EX (WITH TNS NAME input).
    2. I cannot start Database Home Page.
    How to avoid this problem? Any ideas?
    DETAILS:
    PC configuration: Win2k+SP4, 512Mb, Outpost Firewall (disabled!), No another Oracle products being installed.
    TNSNAMES.ORA file:
    ************* BEGIN TNSNAMES *****************************************
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = pz)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    ORACLR_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
    (CONNECT_DATA =
    (SID = CLRExtProc)
    (PRESENTATION = RO)
    ************* END OF TNSNAMES *****************************************
    Listener status:
    ************* BEGIN STATUS *****************************************
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
    ction
    Start Date 22-MAR-2006 17:27:15
    Uptime 0 days 1 hr. 8 min. 53 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Default Service XE
    Listener Parameter File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\admin\listener.ora
    Listener Log File D:\oracle\ora10xe\app\oracle\product\10.2.0\server\ne
    work\log\listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pz)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
    HTTP)(Session=RAW))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
    Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "XEXDB" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "XE_XPT" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    Service "xe" has 1 instance(s).
    Instance "xe", status READY, has 1 handler(s) for this service...
    The command completed successfully
    ************* END OF STATUS *****************************************
    NETSTAT -an results:
    ************* BEGIN NETSTAT *****************************************
    Proto Local Address Foreign Address State
    TCP 0.0.0.0:1521 0.0.0.0:0 LISTENING
    TCP 0.0.0.0:2298 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:2455 127.0.0.1:8080 ESTABLISHED
    TCP 127.0.0.1:8080 0.0.0.0:0 LISTENING
    TCP 127.0.0.1:8080 127.0.0.1:2382 CLOSE_WAIT
    TCP 127.0.0.1:8080 127.0.0.1:2455 ESTABLISHED
    TCP 192.168.200.49:1521 192.168.200.49:2298 ESTABLISHED
    TCP 192.168.200.49:2298 192.168.200.49:1521 ESTABLISHED
    <truncated>
    ************* END OF NETSTAT *****************************************
    I found following error in SQLNET.LOG:
    *************** START LOG *********************************************
    Fatal NI connect error 12570, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.2.0.1.0 - Production
    Time: 22-MAR-2006 17:28:59
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12570
    TNS-12570: TNS:packet reader failure
    ns secondary err code: 12560
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    *************** END OF LOG *******************************************

    I successfully connect with XE client to another Oracle databases from LAN, including 8i and 9i databases.
    But cannot connect from another machines to my XE.

  • 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

  • Installing SBO 2007 Error Unable to connect to database

    Trying to install SBO 2007. 
    First install server tools, then sever. 
    The SBO -Common database exists as per checking the SQl database.
    The install asked for the database server, database name, user name and password in which I enter this correctly.
    A message states:
    WARNING
    'Unable to connect to database;verify database server name and that database is started'.
    I am unable to proceed further.  Can any on assit please.
    Have also tried un installing SBO 2007, deleting databases and rebooting - without success.

    Dear Lisa,
    You will get this issue when you are using named/non-default instance of MS SQL Server during the installation progress
    of SAP Business One Integration Platform.
    The B1iP installation program uses default port (1433) to connect MS SQL
    Server and to create database. The named instance will use the port
    other than 1433.
    1.  Before the installation of B1iP, change the port of the named
        instance to 1433, which will be used to install B1iP.
    2.  If 1433 is being used by another application, and cannot be changed,
        the steps below is one walk-around way:
        a) Stop the instance of MS SQL Server, which is using the port 1433
        b) Change the named instance, which will be used to install B1iP, to
           1433 temporary, and remember the port to recover
        c) Install B1iP (or SAP Business One with B1iP component)
        d) After installation, stop the B1i service. Under B1i folder, in
           the Xcellerator.cfg, change 1433 to the port that B1iP DB
           instance used.
        e) Change back the ports of SQL Server.
        f) Run the service of SQL Server and B1i again.
    Regards,
    Rakesh Pati
    SAP Business One Forum Team

Maybe you are looking for