Restric the connection with database

Hi friends,
My oracle server is 9i. can i restrict the connection with database using application type.
Eg MSACCESS.EXE
Regrds
upul Indika.

Create this trigger under the sys user. note a user with DBA privilege can still login with msaccess.
CREATE OR REPLACE TRIGGER trg_logon AFTER logon ON DATABASE
DECLARE
tool_name VARCHAR(50);
BEGIN
  SELECT MAX(PROGRAM)
  INTO tool_name
  FROM sys.v_$session
  WHERE audsid = sys_context('USERENV',   'SESSIONID');
  IF(tool_name = 'MSACCESS.EXE') THEN
    raise_application_error(-20003,   'Login with MSACCESS.EXE is not allowed!');
  END IF;
END;Regards

Similar Messages

  • Run report cause "The page cannot be displayed"  OR The connection with the

    Hello,
    1. Database oracle 10g R2 on windows 2003 server enterprise edition with SP2
    2. Application Server Oracle 10g R2 on Windows 2003 Server with SP2.
    Problem explanation
    one of our branch which is connected via leased line is unable to run some of the reports if the report have a little more
    data,
    one report i tried its size is almost 900k ( they are using the same line since last three month and they are
    able to run all reports before, bandwidth is 128k), if you run report browser search a little while
    for output then displayed "The page cannot be displayed" if you look at the report log it's finished successfully.
    I try to download the report rather opening in browser it reach to end of in downloading window at the end it display
    this message
    Internet explorer can not download getjobidxxx.xls from oracleaps.domain.com
    The connection with the server was reset.
    I want to mention one more thing there is a ISA server and firewall in between client and Server but its the same condition
    for
    head office client but they are able to run all report with out any error.
    any one have idea??
    Thanks and Regards,
    Khawar

    Hello,
    Thanks for reply, I have posted Service Request to Oracle Metalink and finally resolve the issue, they suggested me the following solution( a note has also been posted in Knowledge Base no. 871016.1 )
    Webcache KeepAlive timeout is reached. (The default value for KeepAlive timeout is 5 seconds)
    Increase the Keepalive time in webcache to a higher value
    **************EOF******************
    Thanks and Regards,
    Khawar

  • Datareader is not able to connect with database-Urgent

    Hi All,
    All of a sudden the Datareader component in my ML experiment is not able to connect with database with the following error:
    [ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0000: Internal error ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: The value's length for key 'password' exceeds it's limit of '128'.
    Module finished after a runtime of 00:00:00.2031339 with exit code -2
    Module failed due to negative exit code of -2
    It complains about the password being long-but the same credentials I have been using for the last 2 months and still able to use it to run sql queries on that same database using the management portal.
    It appears that Azure encrypts the password and that encrypted password is too long...just my guess after looking that the output.Inside Ml it just says as internal error
    Would appreciate if someone can point to the issue at the earliest...(There is a demo early next week)
    Subscription:Enterprise,
    LOCATION: East Asia
    Regards,
    Biswajit

    Hi,
    Please check this url:
    https://studio.azureml.net/Home/ViewWorkspace/bc85d4f81d2246c4b1430eb395229a3a?&hashSeg=#Workspaces/Experiments/Experiment/bc85d4f81d2246c4b1430eb395229a3a.f-id.11776ae4400f4c1aa9f58308c30810fa/ViewExperiment
    which is an experiment which I created doing save as of the experiment in which the data reader works.
    I stripped everything except the data reader and setup the rest of the components...I finally have to write the results back ,so also pulled a Writer component.
    Now,the data reader works fine..but the Writer fails:
    Error 0071: Incorrect username "acnadmin" or password is passed
    Strangely,its the same credentials set in the DataReader.
    Looks like all the DataInput/Output components created recently only have the problem.
    Once again,while the datareader in this case passes the password in plain text,the writer encrypts,hence fails.

  • How to connect with database in JBuilder?

    Hi,
    I try to connect with database in JBuilder7, but the connection is failed. please tell me what is wrong? thanks!
    In connection tab:
    Driver: sun.jdbc.odbc.jdbcodbcDriver
    URL: jdbc:odbc:MS Access Database:h:\onlinestore\database\book.mdb
    Error:
    com.borland.dx.dataset.DataSetException: [Microsoft][ODBC Driver Manager] Data source name too long
    Jun

    URL: jdbc:odbc:MS Access Database:h:\onlinestore\database\book.mdbshould be jdbc:odbc:DBname:book.mdb

  • Problem connecting with database when Flex Builder closed

    Hello,
    I developed a web page that connects to a database, reads some data and shows it on the screen. I use HTTPService to connect to a php server that takes the data from MySQL. Everything is OK when I run the web page from the Flex Builder, but when I run the page doing double click on the released .html file the connection fails and the program throws this error:
    [RPC Fault faultString="Error #2028: Local-with-filesystem SWF file file:///Q:/2009-08-05-1330FinalFrontEnd/bin-release/FrontEnd.swf cannot access Internet URL http://localhost/Test2/Test2.php." faultCode="InvokeFailed" faultDetail="null"]
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()
        at mx.rpc.http.mxml::HTTPService/http://www.adobe.com/2006/flex/mx/internal::invoke()
        at mx.rpc.http::HTTPService/send()
        at mx.rpc.http.mxml::HTTPService/send()
        at FrontEnd/submitLabelsQuery()
        at FrontEnd/updateLabels()
        at FrontEnd/___FrontEnd_SetEventHandler5_handler()
    Does anyone know how can I run the web page without using Flex Builder?
    More info:
    I'm using Flex Builder 3 for developing the web page and WampServer 2.0 for the connection with the database.
    Thank you,
    Onditz

    You need to add a crossdomain.xml  file at the root directory of your php server.
    Thanks,
    Nith
    See the piece of information copied from the flex documentation:
    To make a data service or asset available to SWF files in different domains or on different computers, use a crossdomain policy file on the server that hosts the data service or asset.
    A crossdomain policy file is an XML file that provides a way for the server to indicate that its data services and assets are available to SWF files served from certain domains, or from all domains.
    Any SWF file that is served from a domain specified by the server's policy file is permitted to access a data service or asset from that server.
    By default, place the crossdomain.xml at the root directory of the server that is serving the data.

  • Listener refused the connection with the following error: ORA-12500

    Hi,
    We had had some difficulties with our portal lately. All of a sudden portlets failed and started givin error messages all over our webpages.
    I tried to login to EM Console to try and restart Portal OC4J and got this error
    An error was encountered while loading page. An error occurred when attempting to connect to the Database.
    Resolution:
    Make sure that the database and listener are up.
    If the database is up, make sure that the OracleAS Repository API files ias.properties and iasschema.xml are correctly configured.
    If necessary, use the EM Console to reconfigure the host, user name and password associated with the database
    Base Exception:
    java.sql.SQLException
    Listener refused the connection with the following error:
    ORA-12500, TNS:listener failed to start a dedicated server process
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PORTAL.MSS.EDUS.SI)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ASDB.MSS.EDUS.SI)))
    . Listener refused the connection with the following error:
    ORA-12500, TNS:listener failed to start a dedicated server process
    The Connection descriptor used by the client was:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=PORTAL.MSS.EDUS.SI)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=ASDB.MSS.EDUS.SI)))
    In ..INF/network/sqlnet.log
    Fatal NI connect error 12500, connecting to:
    (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=portal.mss.edus.si)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=asdb.mss.edus.si)(CID=(PROGRAM=I:\Oracle\INF\Apache\Apache\Apache.exe)(HOST=CLUSTER1)(USER=SYSTEM))))
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 10.1.0.4.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 10.1.0.4.0 - Production
    Time: 11-JUN-2007 13:00:24
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12564
    TNS-12564: TNS:connection refused
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    After restart everything works as normal. Any ideas what went wrong, or where to look for some additional answers?

    Ora12500 means your OS has run out of resources, so you cannot start a process on the Server Side. Post the complete error stack, the last lines show further information to troubleshoot this error.

  • Listener refused the connection with the following error: ORA-12505

    Hello,
    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor The Connection descriptor used by the client was: 127.0.0.1:1521:XE Windows XP + Oracle 10.1.0.20
    I checked my *.ora files and found the host 127.0.0.1 but I noted by running netstat command on dos prompt that most of my ports are captured by www.360.cn including 1521
    when am trying to shutdown then the following message appears:
    ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not existsThanks & best regards

    Hi,
    [oracle@myoramachine ~]$ oerr ora 12505
    12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"
    // *Cause:  The listener received a request to establish a connection to a
    // database or other service. The connect descriptor received by the listener
    // specified a SID for an instance (usually a database instance) that either
    // has not yet dynamically registered with the listener or has not been
    // statically configured for the listener. This may be a temporary condition
    // such as after the listener has started, but before the database instance
    // has registered with the listener.
    // *Action:
    //  - Wait a moment and try to connect a second time.
    //  - Check which instances are currently known by the listener by executing:
    //    lsnrctl services <listener name>
    //  - Check that the SID parameter in the connect descriptor specifies
    //    an instance known by the listener.
    //  - Check for an event in the listener.log file.
    [oracle@myoramachine ~]$1. Check lsnrctl services <listener name>
    2. Check tnsping output:
    tnsping MYORACLE
    3. Check connectivity to the machine where your Oracle Server resides to port ( I assume 1521):
    telnet <your_machine> 1521
    4. In case you're not able to connect to the Oracle Server - I'd investigate it in a few directions:
         - network infrastructure problem
         - some disturbing process(es) / virus(es) on Oracle Server itself
         - firewall issue
    Good luck!
    http://dba-star.blogspot.com/

  • An error was encountered performing the requested operation:  Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor    Vendor code 12505

    From sql developer I am trying to connect to database in my local machine. It shows the following below error. Any suggestions?
    An error was encountered performing the requested operation:
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    Vendor code 12505

    lsnrctl results are as shown below
    C:\Users\ndodd_000>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:40
    :25
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                18-AUG-2013 15:29:41
    Uptime                    0 days 2 hr. 10 min. 50 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   C:\app\ndodd_000\product\11.2.0\dbhome_1\network\admin
    \listener.ora
    Listener Log File         c:\app\ndodd_000\diag\tnslsnr\Vamsi\listener\alert\log
    .xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "sysdba" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
    Service "sysdbaXDB" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
    The command completed successfully
    lsnrctl service results
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:
    :20
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    Service "sysdba" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:186 refused:0 state:ready
             LOCAL SERVER
    Service "sysdbaXDB" has 1 instance(s).
      Instance "sysdba", status READY, has 1 handler(s) for this service...
        Handler(s):
          "D000" established:0 refused:0 current:0 max:1022 state:ready
             DISPATCHER <machine: VAMSI, pid: 904>
             (ADDRESS=(PROTOCOL=tcp)(HOST=Vamsi)(PORT=49237))
    The command completed successfully

  • TNS Listener refused the connection with the -OracleXE Struts

    I m using OracleXE as my back end. My Applicaiton Server is on Local Machine, while Database is on another machine. many a time
    Caused by: java.sql.SQLException: Listener refused the connection with the following error: ORA-12516, TNS:listener could not find available handler with matching protocol stack
    The Connection descriptor used by the client was:
    192.168.1.8:1521
    I m using the following datasource in struts.config.xml file:\
    <data-source type="org.apache.commons.dbcp.BasicDataSource" key="msgds">
    and I m using a DatasourcePlugin class which implements Plugin :
    In this I m writing like this:
    public void init(ActionServlet actionServlet, ApplicationConfig config) throws ServletException {
    ServletContext context = actionServlet.getServletContext();
    DataSource datasource = actionServlet.findDataSource("msgds");
    ontext.setAttribute("ds", datasource);
    And in each Action i m using like this:
    ServletContext context = getServlet().getServletContext();
    DataSource ds= (DataSource) context.getAttribute("ds");
    Connection con = ds.getConnection();
    and in finally i m closing the connection. Now Can somebody tell what could be the possible error. How can I use Connection Pooling Using JNDI, Commons dbcp.
    If Somebody have the code snippet, plz send it,
    Thanks in Advance...

    Hello,
    OC4J is the core component of the OracleAS, the J2EE/WebService container where you deploy your J2EE applications
    So you are using OC4J when deploying your application.
    Do you know what release and the type pf topology that you are using when deploying your application? (stand alone OC4J -run from java command- or a managed OracleAS run from an opmnctl command...)
    Regards
    Tugdual Grall

  • Java.sql.SQLException:listener refused the connection with the  error

    hi my problem is in repository assistant IN 2ND STEP
    After i enter the
    Repository User name sindhu
    Repository User Password tiger (As i kept the password of Oracle 10g)
    SYSDBA User name SYS
    SYSDBA Password tiger (As i kept the password of Oracle 10g)
    Host name Local Host
    Port number 1521 (default)
    Oracle Service name OracleServiceXE
    and i am not clicking the SQL* Plus
    and clicking on " Next "
    then my prob is
    INS0009:Unable to connect to the database with the user SYS
    java.sql.SQLException : Listener refused the connection with the following error
    ORA-12514, TNS: listener dosenot currently know of service requested in connect descriptor
    The Connection Descriptor used by the client was
    (DESCRIPTION=(ADDRESS=(HOST=LOCALHOST)(PROTOCOL=tcp)(PORT=1521))(CONNECT_DATA=
    (SERVICE_NAME=ORACLESERVICEXE)))
    hope some one will give me a gud solution
    Waiting for ur reply
    Sindhu

    ...OWB repository cannot be installed into Oracle XE.
    Cheers
    David

  • Listener refused the connection with the following erro

    Hi to all,
    I have face this probelm. So after searching in the forum i found the most important command for this issues as follwoing but untill now i didn't find the solution to this problem
    Error: Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    i have execute the follwoing commands
    lsnrctl start
    lsnrctl service
    lsnrctl statusthe results as follwoing
    C:\Windows\system32>lsnrctl start
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28
    :01
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    TNS-01106: Listener using listener name LISTENER has already been started
    C:\Windows\system32>lsnrctl service
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28
    :06
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0
             LOCAL SERVER
    The command completed successfully
    C:\Windows\system32>lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:28
    :08
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                07-JAN-2013 00:24:39
    Uptime                    0 days 0 hr. 3 min. 28 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File         d:\app\dell2\diag\tnslsnr\DELL2-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Windows\system32>
    This is the
    listener.ora  file
    # listener.ora Network Configuration File: d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = d:\app\DELL2\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:d:\app\DELL2\product\11.2.0\dbhome_1\bin\oraclr11.dll")
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
    ADR_BASE_LISTENER = d:\app\DELL2this is tnsnames.ora
    # tnsnames.ora Network Configuration File: d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    ORACLR_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
        (CONNECT_DATA =
          (SID = CLRExtProc)
          (PRESENTATION = RO)
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
      )

    C:\Users\DELL2>Sqlplus / as sysdba
    SQL*Plus: Release 11.2.0.1.0 Production on Mon Jan 7 00:59:07 2013
    Copyright (c) 1982, 2010, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> Alter system register
      2  ;
    System altered.
    SQL> exit
    Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64
    bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    C:\Users\DELL2>Lsnrctl status
    LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2013 00:59
    :43
    Copyright (c) 1991, 2010, Oracle.  All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
    STATUS of the LISTENER
    Alias                     LISTENER
    Version                   TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
    ction
    Start Date                07-JAN-2013 00:43:52
    Uptime                    0 days 0 hr. 15 min. 51 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\lis
    tener.ora
    Listener Log File         d:\app\dell2\diag\tnslsnr\DELL2-PC\listener\alert\log.
    xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
    Services Summary...
    Service "CLRExtProc" has 1 instance(s).
      Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
    The command completed successfully
    C:\Users\DELL2>Tnsping orcl
    TNS Ping Utility for 64-bit Windows: Version 11.2.0.1.0 - Production on 07-JAN-2
    013 00:59:58
    Copyright (c) 1997, 2010, Oracle.  All rights reserved.
    Used parameter files:
    d:\app\DELL2\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = localhos
    t)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (0 msec)
    C:\Users\DELL2>

  • Listener refused the connection with the following error:

    Hi a has installed XE 10g ang i has to oracle jdevelopment and i try to do a conection and this is my problems:
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    localhost:1521:ORCL

    well the database name is XE not ORCL
    so change that

  • Problem regarding to connection with database

    while opening the SQL server 2008,it is unable to connect with database, showing as error 2

    1. Make sure SQL Server Service is running
    2. If a named instance, make sure SQL Server browser service is running
    3. Make sure SQL Server is configured to allow remote connections
    4. Examine the SQL Server error log for messages confirming that SQL is listening on the expected network interfaces and ports
    5. Test server connectivity with PING from the client machine
    6. Test port connectivity using TELNET or PowerShell to the server and port (from step 4) from the client machine.  For example
    a. TELNET <server-name> 1433
    b. PowerShell: 1433 | % { echo ((new-object Net.Sockets.TcpClient).Connect("YourServerName",$_)) "server listening on TCP port $_" }
    7. Check firewall settings if step 5 or 6 connectivity test fails
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • [b]How can i connect with database(oracle 9i) from form developer at runtim

    Hi Friends,
    My problem is as follows, please show me a way.
    Let's asume, I have form (developed in 6i) which has database data block. Now, at form level a have assigned on_logon trigger and I have written the following PL/SQL statement in that trigger:
    begin
    null;
    end;
    So, when I run this form without connecting to database It does not prompt for a connection. Now I have button lebeled as "Connect" in this form, when user will click on it it will display a window having text boxes to enter user name, password and database name; once the user fill those text boxes and click on a button lebeled as "Ok" then the form runtime environment should be connected with database as per information provided by user. Here to mention that the user already been created, only the connection will be stablished. For example: I want to connect the form with database as "scott/tiger@oradata9i".
    To do this, what PL/SQL command statement should i write in that "OK" button's "when_button_pressed" trigger?
    If any of you know about this please help me.

    Hi
    I've answered this question already. If I understand you right, you can use 'LOGON' built-in of Forms. Take a look into documentation.

  • Hyper-V could not replicate changes for virtual machine 'machinename': The connection with the server was terminated abnormally (0x00002EFE).

    I have a 3 node cluster that has replica setup to replicate to another cluster off-site.
    Suddenly one of the servers is not replicating with the error:
    Hyper-V could not replicate changes for virtual machine 'machinename': The connection with the server was terminated abnormally (0x00002EFE). (Virtual Machine ID CC0FD4CC-F9B7-4C68-ABE8-B7D52A87899F)
    All other servers are replicating fine so there cannot be a permissions or connectivity issue between the 2 clusters.
    This server has 2TB of data so I'd rather not have to start the replication again.
    Does anyone have any pointers?
    Thanks.

    Hi drensta,
    Based on my knowledge , "hyper-v replica broker " is needed for failover cluster replica .
    Here is a link for "Why is the "Hyper-V Replica Broker" required?"
    http://blogs.technet.com/b/virtualization/archive/2012/03/27/why-is-the-quot-hyper-v-replica-broker-quot-required.aspx
    Hope this hleps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • Batch reduce page size?

    We have been given a large number of pdf files for OCR.  One large set consists of nothing but pages that exceed the 45" dimension limit in 8.1 Pro, so none can be OCRd. Is there a way to select batches of files and then run a command to reduce their

  • Jdev 11g AD / View Objects - update and populate web service data contro

    Hi Experts.... Looking for the best approach here. I am hoping that someone can provide me some thoughts / guidance around the best way to achieve populating a webservice data control from a view object. Basically I have created an application pullin

  • WSImport - Jdeveloper and WSImport generating different code

    Hi, I am using ANT to generate the stubs of a WSDL via WSImport. I m finding that for certain WSDLs the port code is not getting generated and its giving me warnings as [WARNING] SOAP port "XYZDetailsPort": uses a non-standard SOAP 1.2 binding. [clie

  • Office Jet 6500 E710n-z won't print black even just replace the ink cartridge with a new one.

    It is the 3rd time to have problem on printing "black" even the ink is not empty (but the level is low, like a quarter left).  In the previous cases, I replaced the cartridge and the problem solved.   The 2nd time was last week.  After I changed the

  • My ovi account is locked... Please unlock it !!!

    Hello, When I try to log in nokia ovi e-mail, I always get this error : "Your account is locked." It's not a matter of time as written in this webpage : http://support.ovi.com/osc/en_GB/service/get_a_nokia_account/faq/FA135206_en_US?no_session=true I