TOAD and PL SQL Error

Hi all, I'm using TOAD 9.5.0.31 (commercial!) and TNSNAMES for my connection is
SOFTWARE\ORACLE\KEY_ORACLIENT10G_HOME1
ORACLE_HOME_NAME: OraClient10g_home1
ORACLE_HOME: C:\oracle\product\10.2.0\client_1
ORACLE_SID:
NLS_LANG: ITALIAN_ITALY.WE8MSWIN1252
SQLPATH: C:\oracle\product\10.2.0\client_1\dbs
LOCAL:
C:\oracle\product\10.2.0\client_1\Bin exists.
C:\oracle\product\10.2.0\client_1\Bin is in PATH.
Client DLL: C:\oracle\product\10.2.0\client_1\Bin\oci.dll
Client Version: 10.2.0.1.0
Home is valid.
----------------------------------------------------------If I try to compile a package with a cursor declared as
PROCEDURE xxxxx
AS
c_native_sys_ref_cur sys_refcursor;
BEGIN
OPEN c_native_sys_ref_cur FOR
WITH yyyy AS
----------------------------------------------------------TOAD doesn't accept the select format. It prefers
PROCEDURE xxxxx
AS
c_native_sys_ref_cur sys_refcursor;
BEGIN
OPEN c_native_sys_ref_cur FOR
SELECT *
from (WITH yyyy AS
----------------------------------------------------------However If I try to compile the package in the first format using the SQL Editor (C:\oracle\product\10.2.0\client_1\BIN\sqlplusw.exe), the packages works and it is compiled!
SQL*Plus: Release 10.2.0.1.0 - Production on Mer Nov 11 08:29:38 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connesso a:
Oracle Database 10g Enterprise Edition Release 10.1.0.5.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
----------------------------------------------------------How to set TOAD options?
Thanks, Riccardo

You should post this on a Toad forum; however, my bet is that you've got a buggy version and that you should upgrade to the latest version, since I happen to know that there are at least 3 versions after that 9.5 version *{;-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Designer 6.0 Repository Reports and PL/SQL Error ORA 6505

    Trying to run some Repository reports give error
    REP-1401 'cf_desc_textformula'. Fatal PL/SQL error occurred.
    ORA-06505: PL/SQL: variable requires more than 32767 bytes
    of contiguous memory
    Occurs at e.g. ckentdef Seems to be that Reports has Problems
    with the Entity Descriptions and Notes in the repository...
    The Database Characterset is US7-ASCII
    Any Ideas?
    Michael
    null

    Hi, I4m not sure, but maybe it works,in WHEN OTHERS zone, to make commit after the insert in the table where you want the errors to log. You can make commit in a trigger if you specify in the declaration zone of the trigger:
    PRAGMA AUTONOMOUS_TRANSACTION;

  • Install error and PL/SQL error

    Hello,
    I'm new to Oracle. I installed Oracle8iR2 on Redhat Linux 6.2. During installation (more precisely during "Linking Oracle8i Enterprise Edition 8.1.6.1.0") I got this error :
    Oracle: Error in invoking target ioracle of makefile /home/oracle/OraHome/rdbms/lib/ins-rdbms.
    mk
    ORA-124547: TNS: lost contact
    ORA-03114: not connected to Oracle
    I clicked "Ignore" and the installation continued without any other errors.
    After the installation was finished I performed the initial configurations described in the manual as user root and user oracle. After that as user oracle I tried to start plsql like this :
    Enter user-name : system
    Enter password : *******(manager )
    oraclebogdan: error in loading shared libraries libdsbtsh8.so : cannot opeb shared object
    file : No such file or directory
    ERROR : ORA -12547 : TNS : lost contact
    Can you help me to fix the problems?
    Thank you,
    Bogdan Paduraru

    Bidyut Kumar (guest) wrote:
    : Jason Howk (guest) wrote:
    : : Jack Lauman (guest) wrote:
    : : : During the linking process of "./orainst /c", I got the
    : : following
    : : : error on the RDBMS, SQL*PLUS and PL/SQL install:
    : : : /usr/i386-linux/bin/ld: cannot open -lnsl: No such file or
    : : : directory
    : : : make: *** [u01/app/oracle/product/8.0.5/rdbms/lib/oracle]
    : : Error
    : : : 1
    : : : Status: 2
    : : : ((OIERR-SYSTEM: make -f ins_rdbms.mk
    : : : ORACLE_HOME=/u01/app/oracle/product/8.0.5 install))
    : : : --------[ rdbms.ins 2631---------------
    : : : The file in question is nowhere on the disk. Anyone have
    : any
    : : : clues?
    : : : Thanking you in advance for your cooperation,
    : : : Jack Lauman
    : : : nwcascades.com
    : : I get the same error using Slackware 3.6. Anyone have any
    : : clues? FYI, I receive the same error on the standard
    edition
    : as
    : : well.
    : : --Jason
    : Even I have the same problem and unable to find the solution.
    : Why is happening. I have no clue at all.can anybosy anywhere
    : could help?
    : Thanks
    : --Bidyut
    I have a similar problem on Red Hat 5.2. In my case, the
    failing command is:
    Command: make -f ins_plsql.mk install <<!
    The failing portion of that make file is:
    `cat /raid/u01/app/oracle/8.0.5/lib/sysliblist`
    It seems that file (sysliblist) contains the following:
    -lnsl -lm
    So, it appears to be looking for
    /raid/u01/app/oracle/8.0.5/lib/libnsl.a and
    /raid/u01/app/oracle/8.0.5/lib/libm.a
    Neither of those files exist anywhere on my hard disk. This
    appears to be the same problem originally reported, above.
    So far, no clues.....
    ============================================
    By the way, I had an earlier failure during a different make
    where it was trying to compile something and include a header
    file of "sys/types.h" and I fixed it by creating a "sys"
    subdirectory in /usr/include that only had in it a symbolic
    link to the regular "types.h" file.
    null

  • Kff.where returns 'null'  and causes sql error - looking for a work around

    Hello,
    I am using BI 5.6.3 in EBS (11.5.10.2)
    I have created a kff.where as follows:
    <lexical
    type="oracle.apps.fnd.flex.kff.where"
    name="lp_location_where_clause"
    comment="Comment"
    application_short_name="OFA"
    id_flex_code="LOC#"
    id_flex_num=":lp_location_flex_structure"
    code_combination_table_alias="loc"
    segments="ALL"
    operator="BETWEEN"
    operand1=":p_location_low"
    operand2=":p_location_high"/>
    </lexicals>
    Everything works fine, as long as I have a values for the p_location_low and p_location_high. However, this is a parameter that comes in from a concurrent program and is optional. When the user doesn't pick a value, :p_location_low is the concatenated delimiters for the location '..'.
    When this runs, the kff.where is returning null which causes 'Invalid Relational Operation error' because 'AND null' is not valid.
    Warning in the log is :[091910_025232517][][STATEMENT] !!Warning: FlexAPI returns null for 'x_where_expression' lexical definition...
    Does anyone have a workaround for this since making the parameter required is not an option for my users?
    Thanks for reading.

    In your SQL*Plus session, make sure you
    SQL> set define offbefore trying to create the Java stored procedure. SQL*Plus assumes that any string that begins with an & is a substitution variable unless you tell it that you have no substitution variables (via set define off).
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (p

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that
    the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)(Microsoft SQL Server, Error: 2)
    The system cannot find the file specified
    Cannot connect to COWBOYS.
    Here are the technical details===================================
    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
    Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=2&LinkId=20476
    Error Number: 2
    Severity: 20
    State: 0
    Program Location:
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer
    timeout)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance,
    SqlConnectionString userConnectionOptions, SessionData reconnectSessionData)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
       at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
       at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
       at System.Data.SqlClient.SqlConnection.Open()
       at Microsoft.SqlServer.Management.SqlStudio.Explorer.ObjectExplorerService.ValidateConnection(UIConnectionInfo ci, IServerType server)
       at Microsoft.SqlServer.Management.UI.ConnectionDlg.Connector.ConnectionThreadUser()
    ===================================
    The system cannot find the file specified
    I have tried from so many forms. This is so frustrating. Thank for everyone/anyone who wants to help. So this is what happened: I had to uninstall my previous sqlserver 2012(which worked great) for some reason, and I uninstalled everything from that download.
    Then I installed the trial edition of sql server 2012 (64 Bit) and It wouldn't connect to the database. (Error mentioned above.) My local DB is COWBOYS. (COWBOYS is also my computer name.) After this, I have tried downloading sqlexpress and sqlserver 64bit
    many times and cannot connect to my local DB. 
    How do I connect to my Local DB? 
    Also, I think this might help: (When I run sqlserve.exe, which I was able to find in C:\Program Files\Microsoft SQL Server\110\LocalDB\Binn, I get an error: Your SQL server installation is either corrupt or has been tampered with(Error getting
    instance ID from name). Please uninstall then re-run setup to correct this problem.
    I would happily re install it, if it wasn't my 20th time.
    I don't have any remote connections, I don't use username/password, only window authentication. I work mostly on visual studio, but without able to store /retrieve data, I don't know how to survive.
    May be the solution is very simple, but I am too frustrated. 
    Some of the things I have tried:
    From a command prompt, enter one of the following commands:
    net start "SQL Server Agent (MSSQLSERVER)" OR 
    net start "SQL Server Agent(instancename)"(for instance)
    on my sql configuration, I cannot start anything because there is nothing there to start. I can post more details, if that would help. Also, some more details about the error:
    Details
    Product:
    SQL Server
    ID:
    2
    Source:
    MSSQLServer
    Version:
    10.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Version:
    9.0
    Component:
    SQLEngine
    Message:
    An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error:
    40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)
    Explanation
    SQL Server did not respond to the client request because the server is probably not started.
    User Action
    Make sure that the server is started.
    Any one that can help me, I will be greatful. Thank you so much. p.s. please ask me anything if you have any questions.

    It sounds like there are a couple things going on here.  First check if you have a successful install of SQL Server, then we'll figure out the connection issues.
    Can you launch SQL Server Configuration Manager and check for SQL Server (MSSQLSERVER) if default instance or SQL Server (other name) if you've configured your instance as a named instance.  Once you find this, make sure the service is started. 
    If not started, try to start it and see if it throws an error.  If you get an error, post the error message your hitting.  If the service starts, you can then launch SSMS and try to connect.  If you have a default instance, you can use the machine
    name in the connection dialog.  Ex:  "COWBOYS" where Cowboys is the machine name.  However, if you named the SQL Server instance during install, you'll need to connect using the machine\instance format.  Ex:  COWBOYS\Romo (where Romo
    is the instance name you set during install).
    You can also look at the summary.txt file in the SQL Server setup error logs to see what happened on the most recent install.  Past install history is archived in the log folder if you need to dig those up to help troubleshoot, but the most
    recent one may help get to the bottom of it if there is an issue with setup detecting a prior instance that needs to be repaired.
    Thanks,
    Sam Lester (MSFT)
    http://blogs.msdn.com/b/samlester
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember to click
    "Mark as Answer" and
    "Vote as Helpful" on posts that help you. This can be beneficial to other community members reading the thread.

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • SQL error while activating DSO and loading Mater Data

    Hello Experts,
    we are having process chains which include process activating DSO and loading to Master data,
    while executing achai, we are getting error:
    An error occurred during confirmation of process 000008. See long text
    Message no. RSODSO_PROCESSING024
    Diagnosis
    Note the detailed system message:
    An SQL error occurred when executing Native SQL.
    when i go to T-Code: ST22
    the diagnosis is below:
    Runtime Errors         DBIF_RSQL_SQL_ERROR
    Exception              CX_SY_OPEN_SQL_DB
    Date and Time          20.05.2010 22:18:02
    What happened?
         The database system detected a deadlock and avoided it by rolling back
         your transaction.
    What can you do?
         If possible (and necessary), repeat the last database transaction in the
          hope that locking the object will not result in another deadlock.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
         Note which actions and input led to the error.
         For further help in handling the problem, contact your SAP administrator
         You can use the ABAP dump analysis transaction ST22 to view and manage
         termination messages, in particular for long term reference.
    Could you please help me out how can i deal with this issue, .
    Regards
    Sinu Reddy

    it seems that the target you're loading to is already locked by another load...if it concerns a master data is also possible that the master data is locked by a change run. check your scheduling and make sure you don't load the same target at the same moment...
    M.

  • SQL Server Agent Log showing errors [298] SQLServer Error: 10061, A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL

    Hi All,
    I have started receiving this error in the logs for the last 10 days and the Schedules Jobs for the database have stopped running. My MS CRM application is working fine.
    Can anyone guide me what could be the problem.
    Date                      17/4/2014 2:04:20 PM
    Log                         SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
    Message
    [298] SQLServer Error: 10061,
    A network-related or instance-specific error has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct
    and if SQL Server is configured to allow remote connections. For more information see SQL Server Books Online. [SQLSTATE 08001]
    Date                      17/4/2014 2:11:55 PM
    Log                         SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
    Message
    [298] SQLServer Error: 10061,
    A network-related or instance-specific error
    has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online. [SQLSTATE 08001]
    Date                      7/4/2014 11:00:31 AM
    Log                         SQL Server Agent (Current - 17/4/2014 2:01:00 PM)
    Message
    [298] SQLServer Error: 10061,
    A network-related or instance-specific error
    has occurred while establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information
    see SQL Server Books Online. [SQLSTATE 08001]

    Check this link
    http://social.msdn.microsoft.com/Forums/en-US/906da9b5-2482-468c-a424-ae099da2d96b/sql-server-agent-service-account-error?forum=sqlsetupandupgrade
    Regards, RSingh

  • Connecting to the LOB system has failed. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is

    hi ,
    when generate the schema , i  got the below error, please any one put your inputs:
    Connecting to the LOB system has failed.  A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server
    is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server).

    thaks shanky,
    but facing another , after generate schema from  WCF_SQL, im unable get elements in my schema.
    this is schema generate from storeprocduer , but thru WCF-sql im unable get the elements like
    id, name
    <xsd:schema targetNamespace="urn:schemas-microsoft-com:sql:SqlRowSet2" xmlns:schema="urn:schemas-microsoft-com:sql:SqlRowSet2" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sqltypes="http://schemas.microsoft.com/sqlserver/2004/sqltypes" elementFormDefault="qualified">
      <xsd:import namespace="http://schemas.microsoft.com/sqlserver/2004/sqltypes" schemaLocation="http://schemas.microsoft.com/sqlserver/2004/sqltypes/sqltypes.xsd" />
      <xsd:element name="Test.dbo.sample">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="id" type="sqltypes:int" minOccurs="0" />
            <xsd:element name="name" minOccurs="0">
              <xsd:simpleType>
                <xsd:restriction base="sqltypes:nvarchar" sqltypes:localeId="1033" sqltypes:sqlCompareOptions="IgnoreCase IgnoreKanaType IgnoreWidth" sqltypes:sqlSortId="52">
                  <xsd:maxLength value="1000" />
                </xsd:restriction>
              </xsd:simpleType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>19</id>
      <name>sw</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>18</id>
      <name>BIRADAR</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>14</id>
      <name>swe</name>
    </Test.dbo.sample>
    <Test.dbo.sample xmlns="urn:schemas-microsoft-com:sql:SqlRowSet2">
      <id>13</id>
      <name>se</name>
    </Test.dbo.sample>

  • A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.

    A network-related or instance-specific error occurred while establishing a connection to SQL Server. The
    server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26- Error:Locating Server\instance Specified)
    How Can i solve this?

    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

  • SQL error forced rollback and connection loss with OLE item in forms 6i

    We are running forms 6i client server on a Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - 64bit. We have a form that has 1 base table block that contains an OLE item where the user can create or edit a Microsoft Word document then save that document in a long raw column in the table. The OLE item is using the Word.Document.8 OLE class.
    We are having intermittant problems where the user presses commit in the form and gets a FRM-40508 error: unable to Insert record. The message displayed at the bottom of the screen is FRM-40655: SQL error forced rollback: clear form and re-enter transaction. When I press Shift-F1 to view the error I see ORA-03113: end-of-file on communication channel.
    DBA says that there are no errors being generated in the database. Does anyone have any experience with kind of problem? Any suggestions would be most welcome.

    The Ora-3113 error means that the connection has been lost.
    These issues normally are database or networking related and have little to do with ole objects.
    You need to determine if a server-side error is causing the disconnect.
    To start diagnosing this issue you first need to turn on sqlnet tracing to see what other ora-XXXX error is occuring. That will start to help diagnosing this issue.
    You may also want to check the database alert log for any RDBMS errors that may have caused the disconnect.
    If there aren't any RDBMS errors logged, you should generate a Net8 trace for the session to see if you can get more detailed errors.
    About sql tracing:
    To obtain a trace, you have to place the following entries in the SQLNet.ORA file. Make sure before you start your application that the C:\Trace directory exist.
    TRACE_FILE_CLIENT = net817
    TRACE_DIRECTORY_CLIENT = C:\trace
    TRACE_UNIQUE_CLIENT = ON
    TRACE_LEVEL_CLIENT = 16
    TRACE_TIMESTAMP_CLIENT = ON
    When finished obtaining both traces, set the TRACE_LEVEL_CLIENT = 0 from 16 to turn off tracing.
    Monica

  • Using TOAD and SQL Developer to compare db objects in schemas in databases

    Hi All,
    My primary objective was to compare objects in schemas in two different databases and find out the differences,
    Execute DDL's in the database where objects are missing and syn schemas in two different databases.
    So I need to compare schemas in databases. Which tool would be helpful and will be user friendly to make a comparison of database objects existing in schemas in two different databases.
    I'd like to see if I can get a list of pro and cons between Toad and SQL Developer for comparing schemas pros and cons.
    Could you please also help me on navigation in SQL Developer to compare schemas.
    Connect to Source
    Connect to Target
    Compare schemas with different object types
    Find out differences
    Generate DDL's for the missing objects or for the objects in difference report
    Run them in missing instace(Source/Target)
    Make sure both are in sync.
    Thanks All

    Hi,
    Most dba type tools have this kind of functionality - personally i use plsqldeveloper but this is very similar to most other tools on the market. SQL Developer seems to rely on you needing the change management pack licence which you likely dont have and would be quite a large cost to roll out.
    I'd compare plsqldeveloper/toad/sqlnavigator etc and maybe the tools from redgate which look pretty good though i haven't used them.
    Regards,
    Harry

  • Differences between TOAD for Oracle and Oracle SQL Developer?

    Does someone know the advantages and disadvantages of using TOAD for Oracle and Oracle SQL Developer?
    I work making reports with TOAD, but in a few days I will have to use the SQL Developer (because it´s free) unless I justify the necessity of using TOAD.
    Could some that used both compare them?
    Thanks,
    Facundo.

    Hello Facundo,
    since we are rolling out new client PCs we switch from Toad to SQL Developer. Therefore I'm doing some training for the "normal" users and our developers.
    Most users simply want to have access to the data in tables and views. For those there are 2 main issues:
    - Filters get lost when exiting table while sorting is still applied. Since there is no way to apply filtering before entering the data tab this can become a great performance issue because sorting is applied to many many rows. For views it is sometimes impossible to open the data tab.
    - Exporting date values to Excel needs some know how if you want to sort by this column in Excel, because the date is formatted as "Standard" meaning that the sorting is done as for a text column: 01.01.2009 is less than 02.01.2008. Here you have to use a workaround column with a formula (=1*<datecolumn>)
    The greatest Pro is the easy sharing of connections and reports by XML files.
    Our developers like the easy debugging in SQL Developer. Though they miss the feature that the source is compiled for debug automatically as in Toad. For this we have distributed a script that compiles any PL/SQL object for debugging.
    There are only some Toads installed for DBAs and for users that need access to tables protected by policies that require authentification by OS user since this information is not passed under every circumstance.
    Regards
    Marcus

  • SQL Error 3113 and 3114

    Hi all
    I am getting Sql error 3113, system logs are below:
    i checked tablespaces are having enough space.
    can anybody tell what is this prob
    SQL error 3114 . Work processes in reconnect status       
    SQL error 3113 . Work processes in reconnect status       
    SQL error 3113 . Work processes in reconnect status       
    SQL error 3113 . Work processes in reconnect status       
    Operating system call recv failed (error no. 73 )         
    Perform rollback                                          
    Perform rollback                                          
    Program RM07DOCS manually terminated by user LINFIN       
    Call of function NiRead failed, RC: -006                  
    Work process has left reconnect status                    
    Work process has left reconnect status                    
    Terminal 00046 in status DISC                             
    Perform rollback                                          
    Delete session 003 after error 004                        
    Error calling the central lock handler                    
    Request (type DIA) cannot be processed                    
    > Unable to reach central lock handler                    
    Request (type DIA) cannot be processed                    
    Request (type DIA) cannot be processed                    
    Request (type DIA) cannot be processed                    
    Request (type DIA) cannot be processed                    
    Request (type DIA) cannot be processed

    Hello,
    Well, Is the above error is happening during the offline backup? What is the impact on the system because of the above error? Is any transaction fails?
    The above error could be because of the following
    1. Network issue
    2. wrong client version. If you are SAP Kernel which  is compatible with client 9i, then i suggest to install the latest version of the client. Ofcourse client version shouldn't be more than the version of the oracle server software.
    3. and there could be other possible reasons like some error in the alert log, resource issue.
    Regards,
    Madhukar

  • How to show PL/SQL package  output and fix below error(please help)

    --PACKAGE SPECIFICATION AND BODY complied successfully but I can not see output some error are also there..  please help ;how to fix this problem
    -- with code
    CREATE OR REPLACE PACKAGE package_variables IS
    -- Declare package components.
    PROCEDURE set(value VARCHAR2);
    FUNCTION get RETURN VARCHAR2;
    END package_variables;
    CREATE OR REPLACE PACKAGE BODY package_variables IS
    -- Declare package scope variable.
    variable VARCHAR2(20) := 'Initial Value';
    -- Define function
    FUNCTION get RETURN VARCHAR2 IS
    BEGIN
    RETURN variable;
    END get;
    -- Define procedure.
    PROCEDURE set(value VARCHAR2) IS
    BEGIN
    variable := value;
    END set;
    END package_variables;
    VARIABLE outcome VARCHAR2(20)
    CALL package_variables.get() INTO :outcome;
    SELECT :outcome AS outcome FROM dual;
    EXECUTE package_variables.set('New Value');
    CALL package_variables.get() INTO :outcome;
    SELECT :outcome AS outcome FROM dual;
    OUTPUT
    PACKAGE package_variables Compiled.
    PACKAGE BODY package_variables Compiled.
    Error starting at line 2 in command:
    CALL package_variables.get() INTO :outcome
    Error report:
    SQL Error: ORA-01008: not all variables bound
    01008. 00000 - "not all variables bound"
    *Cause:   
    *Action:
    OUTCOME
    1 rows selected
    anonymous block completed
    Error starting at line 2 in command:
    CALL package_variables.get() INTO :outcome
    Error report:
    SQL Error: ORA-01008: not all variables bound
    01008. 00000 - "not all variables bound"
    *Cause:   
    *Action:
    OUTCOME
    1 rows selected
    */

    EXECUTE package_variables.set('New Value');
    CALL package_variables.get INTO :outcome;
    SELECT :outcome AS outcome FROM dual;
    OUTPUT
    anonymous block completed
    Error starting at line 2 in command:
    CALL package_variables.get INTO :outcome
    Error report:
    SQL Error: ORA-06576: not a valid function or procedure name
    06576. 00000 - "not a valid function or procedure name"
    *Cause:    Could not find a function (if an INTO clause was present) or
    a procedure (if the statement did not have an INTO clause) to
    call.
    *Action:   Change the statement to invoke a function or procedure
    OUTCOME
    1 rows selected

Maybe you are looking for

  • JDBC- XI- File Mapping Problem

    Hi everyone, I have the mapping problem.  atried a lot of possibilities, but unfortunately nothing helps... JDBC adapter returns (in my case - I'm just selecting SYSDATE from dual) this structure <resultset> <row>    <SYSDATE>....</SYSDATE> </row> </

  • TS3276 One person does not get my email

    I am able to send and recieve email from everyone in my address book except one. I have checked the email address.; delted and re-entered still no dice. Any ideas why this person can bot recieve my emais. Thanks dc

  • Trigger outbound idoc whenever PO is CHANGED and then saved

    hi guru's i am trying to trigger outbound idoc whenever PO is CHANGED and then saved . i have created partner profile PARTNER TYPE : LI MESSAGE TYPE : ORDERS BASIC TYPE : ORDERS05 APPLICATION  : EF PROCESS CODE : ME11 BUT, NOT ABLE TO CREATE CONDITIO

  • Bex Query Multiprovider: restrict same characteristic for different Infoproviders

    HI SAP Guru's I have scenario here where the multiprovider is made up of 3 DSO .....i have a infoobject 0CRM_OBJ_ID(transaction Number) in two DSO and i want to display both values in separate rows as AMC Number and Service order Number in the query

  • FCKeditor not working in IE10

    At first the editor wasn't appearing at all on pages where it should have been.  After modifying the fckconfig.js file by changing var sBrowserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ; to var sBrowserVersion = navigator.appVersion.matc