[Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error

Hi , i am trying to execute siple SP using JDBC-ODBC Bridge Driver
Here my code :
String dsn="Tritek1";
String user="sa";
String password="imcindia";
Connection con1 = null;
CallableStatement cstmt = null;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
con1=DriverManager.getConnection("jdbc:odbc:"+dsn,user,password);
Statement st=con1.createStatement();
st.execute("use dm0102d");
st.execute("setuser 'dm01012'");
cstmt = conObject.connection(" ?=Call dms_ex_get_folder_info(?,?,?)");
cstmt.setString(1,folderType);
cstmt.registerOutParameter(2,java.sql.Types.VARCHAR);
cstmt.registerOutParameter(3,java.sql.Types.VARCHAR);     bFlag=cstmt.execute();
Here my SP :
     Procedure Name          :     dms_ex_get_folder_info
     Input Parameter(s)          :     a. folder_type char(20)
     Return Parameter(s)     :     a. Recordset consist edit_mask and folder_type_code from folder_reference table / error
     Procedure Type          :     select
     Programmer          :     Prashanth Kumar M.
     Creation Date          :     12/20/2005 (20th Dec, 2005)
     Tables Accessed          :     folder_reference
     Revised               :
          Programmer:     Date:     Description:
          Prashanth Kumar M.      12/21/2005 Modified the script as per the approved program specifications.
     Test Query:
          Declare @edit_mask char(15)
          Declare @folder_type_code char(2)
          execute dms_ex_get_folder_info 'Policy Folder',@edit_mask output,@folder_type_code output
          Print 'Edit Mask : ' + @edit_mask
          Print 'Folder Type Code : ' + @folder_type_code
CREATE PROCEDURE dms_ex_get_folder_info
     @folder_type char(20),
     @edit_mask char(15) output,
     @folder_type_code char(2) output
AS
     BEGIN
          -- Check if the record for @folder_type exists or not.
          BEGIN
               -- return the record from folder_reference
               SELECT
                    @edit_mask= IsNull(edit_mask,''),
                    @folder_type_code = IsNull(folder_type_code,'')
               FROM      folder_reference
               WHERE
                    folder_decode = ltrim(rtrim(@folder_type))
               -- return the error message
               IF @@error <> 0
                    BEGIN
                         RAISERROR 100016 'Error in gettting the record from folder_reference table'
                         RETURN (@@error)
                    END
               IF @edit_mask = '' AND @folder_type_code = ''
                    BEGIN
                         RAISERROR 100017 'No matching details in the folder_reference table'
                    RETURN (@@error)
                    END
          END
     END
GO
Here My Exception:
java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error
     at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
     at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
     at sun.jdbc.odbc.JdbcOdbc.SQLExecute(Unknown Source)
     at sun.jdbc.odbc.JdbcOdbcPreparedStatement.execute(Unknown Source)
     at com.nyl.dms.bl.Folder.createFolder(Folder.java:121)
     at com.nyl.dms.bl.Folder.main(Folder.java:223)
Any one can help me to overcome this problem . Thanks in advance.
venkat

Here's from one of those 10s of books.
Quoted from JDBC 3.0 by Bernard Van Haecke:
Stored procedures can return multiple result types because they can be composed of SQL statements that return diverse result types: resultsets and update counts (this includes special error codes).
Now this doesn't sound very satisfactory. So I use Sybase since I don't have any other database at the moment, and write a simple stored procedure.
CREATE proc testproc AS
BEGIN
-- My return code
return 7
END
goThen a sample patchy buggy code to play around:
import java.sql.*;
public class ProcTesting {
    public static void main(String[] args) {
        String connUrl          = "jdbc:sybase:Tds:myserver:5150/dbinst";
        String userName         = "username";
        String password         = "password";
        Connection con          = null;
        CallableStatement stmt  = null;
        ResultSet rs            = null;
        String sql = "{? = call testproc}";
        try {
            Class.forName("com.sybase.jdbc2.jdbc.SybDriver").newInstance();
            con     = DriverManager.getConnection(connUrl, userName, password);
            stmt    = con.prepareCall(sql);
            stmt.registerOutParameter(1, Types.INTEGER);
            stmt.execute();
            System.out.println(stmt.getInt(1));
        } catch(Exception e) {
            e.printStackTrace();
        } finally {
            closeAll(con, stmt);
    public static void closeAll(Connection con, Statement stmt) {
        try {
            con.close();
        } catch(Exception e) {  }
        try {
            stmt.close();
        } catch(Exception e) {  }
}Followed by:
javac ProcTesting.java
java -cp "%CLASSPATH%;C:\jarutils\jconn2.jar" ProcTesting
Output:
7
Didn't you know this could be done?
Happy new year, grandpa!

Similar Messages

  • Java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]COUNT field incor

    hello
    i am trying to call stored procedure from javabeans to SQL server database.
    my stored procedure is.....
    =========================================
    CREATE PROCEDURE sp_ins_client1_defect
    /* INSERTS defect AFTER GENERATING A NEW defectid
    RETRUN VALUES -
    1) -101 inser failed
    2) 0 Successfull
    @status tinyint,
    @priority tinyint,
    @complexity tinyint,
    @type tinyint,
    @desc varchar(50),
    @sourcefile varchar(25),
    @sourceloc varchar(100),
    @testcasefile varchar(25),
    @testcaseno char(5),
    @step2reproduce text,
    @comments text,
    @prodver char(8),
    @projid int,
    @keyid int OUTPUT
    AS
    BEGIN TRAN
    select @keyid=max(defectid) from defects where projectid=@projid
    if @keyid is null
    set @keyid =1
    else
    set @keyid=@keyid + 1
    insert into defects (PROJECTID,DEFECTID,STATUSID,PRIORITYID,COMPLEXITYID,DEFECTTYPEID,DESCRIPTION,SOURCEFILENAME,SOURCELOCATION,TESTCASEFILENAME,TESTCASENUMBER,STEPS2REPRODUCE,COMMENTS,PRODUCTVERSION,VERSIONID)
    values (@projid,@keyid,@status,@priority ,@complexity ,@type ,@desc ,@sourcefile,@sourceloc,@testcasefile,@testcaseno,@step2reproduce,@comments ,@prodver ,1)
    IF @@error <> 0
    BEGIN
    ROLLBACK
    return -101
    END
    ELSE
    BEGIN
    COMMIT
    return 0
    END
    =========================================
    my javabeans code snippets is as follows.
    Connection con;
    CallableStatement cstmt;
    private static String theaddcall = "{ ? = call sp_ins_client1_defect ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,? )}";
    con = DbUtil.getConnection("dts");
    cstmt = con.prepareCall(theaddcall);
    session.setAttribute("attack","akraman2");
    cstmt.registerOutParameter( 1, java.sql.Types.VARCHAR ); //ret code
    cstmt.setInt ( 2, getDefectstatus());
    session.setAttribute("attack","2");
    cstmt.setInt ( 3, priority );
    cstmt.setInt ( 4, complexity);
    cstmt.setInt ( 5, defecttype);
    cstmt.setString( 6 ,desc);
    cstmt.setString( 7, sourcefile);
    session.setAttribute("attack","3");
    cstmt.setString( 8, sourcefileloc );
    cstmt.setString( 9, testcasefile );
    session.setAttribute("attack","4");
    cstmt.setString( 10, testcaseno );
    cstmt.setString( 11, steps2rep );
    cstmt.setString( 12, comments );
    session.setAttribute("attack","5");
    cstmt.setString( 13, prodver );
    cstmt.setInt ( 14, projids );
    cstmt.registerOutParameter(15, java.sql.Types.VARCHAR );
              session.setAttribute("addd","1");
    boolean result=cstmt.execute();
              session.setAttribute("addd","2");
    while (result=cstmt.getMoreResults()) {};
    /* rest of the code is here */
    if possible please solve there query.
    From ShivNarayan

    "{ ? = call sp_ins_client1_defect ( ?,?,?,?,?,?,?,?,?,?,?,?,?,?,? )}";When I count the about I get 16 '?' (one return and 15 args)
    The stored proc only has 14 args and you only populate 14.

  • Full load failed with  [Microsoft][ODBC SQL Server Driver]Datetime field

    Hi,
    we are doing a full load with RDBMS SQLServer.
    It failed due to the below error.
    [Microsoft][ODBC SQL Server Driver]Datetime field overflow. Can you please help
    thank you

    968651 wrote:
    Hi,
    we are doing a full load with RDBMS SQLServer.
    It failed due to the below error.
    [Microsoft][ODBC SQL Server Driver]Datetime field overflow. Can you please help
    thank youhttp://bit.ly/XUL950
    Thanks,
    Hussein

  • COUNT field incorrect or syntax error

    hi,
    PreparedStatement stmt = con.prepareStatement("Insert into uQuestions values(?,?)");
    stmt.setInt(1,2);
    //stmt.setString(2,s.trim());
    Reader rd=new StringReader(s.trim());
    stmt.setCharacterStream(2, rd );
    System.out.println( stmt.executeUpdate() );
    stmt.close();Result
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error
    In place of setCharacterStream If I use stmt.setString(2,s.trim()) then it works fine.
    Whats the problem there....

    I am using Java 6 already.That's what I said in my last post.
    setClob() and setCharacterStream() are used for
    NVARCHAR and NTEXT tyesLike I said, the API talks about using setCharacterStream for LONGVARCHAR types, are NVARCHAR and NTEXT LONGVARCHAR types?

  • COUNT field incorrect or syntax error while installing BO Xi3

    Hello
    I am trying to install Boxi3. The cms and audit dbs are all in sql database. The dbs and accounts are setup properly. However while installing, after I selected the CMS and Audit DBs, I am getting
    "Database access error. Reason [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error."
    At the details the error is as below.
    Wed Jul 30 03:46:53 2008]     5220     192     trace message: loading libary succeeded
    [Wed Jul 30 03:46:53 2008]     5220     192     trace message: AuditDatabaseSubsystem::Init()
    [Wed Jul 30 03:46:53 2008]     5220     192     trace message: initializing subsystem succeeded
    [Wed Jul 30 03:46:53 2008]     5220     192     trace message: AuditDatabaseSubsystem::Connect()
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\DBConnectionManager.cpp:802): trace message: DBConnectionManager - Setting total target number of connections for pool 0 to 1.
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerStatement.cpp:186): trace message: ExecDirect: SQL: SELECT * FROM APPLICATION_TYPE WHERE 0 = 1
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerStatement.cpp:186): trace message: ExecDirect: SQL: SELECT * FROM AUDIT_EVENT WHERE 0 = 1
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerStatement.cpp:186): trace message: ExecDirect: SQL: SELECT * FROM EVENT_TYPE WHERE 0 = 1
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerStatement.cpp:186): trace message: ExecDirect: SQL: SELECT * FROM SERVER_PROCESS WHERE 0 = 1
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerStatement.cpp:186): trace message: ExecDirect: SQL: SELECT * FROM AUDIT_DETAIL WHERE 0 = 1
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerStatement.cpp:186): trace message: ExecDirect: SQL: SELECT * FROM DETAIL_TYPE WHERE 0 = 1
    [Wed Jul 30 03:46:53 2008]     5220     192     trace message: AuditDatabaseSubsystem::CheckDBCredentials()
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\AuditDatabaseSubsystem_impl.cpp:1197): trace message: AuditDatabaseSubsystem::CheckDBCredentialsOnTable(AUDIT_EVENT)
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\SQLServerDatabase.cpp:515). (0 : Unexpected database column type for Duration type is decimal).
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\SQLServerDatabase.cpp:515). (0 : Unexpected database column type for Event_Type_ID type is decimal).
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\SQLServerDatabase.cpp:515). (0 : Unexpected database column type for Error_Code type is decimal).
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerStatement.cpp:162): trace message: Prepare: SQL: INSERT INTO AUDIT_EVENT (Duration, Error_Code, Event_ID, Event_Type_ID, Object_CUID, Server_CUID, Start_Timestamp, User_Name) VALUES(?, ?, ?, ?, ?, ?, ?, ?)
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\SQLServerStatement.cpp:699). (0 : Unsupported SQL Server data type for binding.).
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\SQLServerStatement.cpp:699). (0 : Unsupported SQL Server data type for binding.).
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\SQLServerStatement.cpp:699). (0 : Unsupported SQL Server data type for binding.).
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\AuditDatabaseSubsystem_impl.cpp:1344). (0 : no message).
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\AuditDatabaseSubsystem_impl.cpp:1344). (0 : no message).
    [Wed Jul 30 03:46:53 2008]     5220     192     assert failure: (.\AuditDatabaseSubsystem_impl.cpp:1344). (0 : no message).
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerStatement.cpp:171): trace message: Prepared statement Execute
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\SQLServerDatabase.cpp:119): trace message: SQLServer error found:  ErrorMessage([Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error), ErrorCode(0)
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\AuditDatabaseSubsystem_impl.cpp:92): trace message: DBConnectionHolder - (AuditDB) - Caught retryable error with Code 0, Msg: [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error  Number of retryable errors on this connection is 1
    [Wed Jul 30 03:46:53 2008]     5220     192     (.\dbutils.cpp:922): trace message: Caught DatabaseSubystem Error: Database access error. Reason [Microsoft][ODBC SQL Server Driver]COUNT field incorrect or syntax error.
    [Wed Jul 30 03:46:53 2008]     5220     192     trace message: AuditDatabaseSubsystem::Shutdown()
    This only happens for audit db and not for cms db. May I know what is the reason for this and how to resolve it?
    Thanks

    I am using Java 6 already.That's what I said in my last post.
    setClob() and setCharacterStream() are used for
    NVARCHAR and NTEXT tyesLike I said, the API talks about using setCharacterStream for LONGVARCHAR types, are NVARCHAR and NTEXT LONGVARCHAR types?

  • Problem: [Microsoft][ODBC SQL Server Driver][SQL Server]The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.

    Hi Gurus,
    I have this problem in my MS SQL Server 2012 that is running in SQL Server 2008 R2 Enterprise 64 bit.. Not sure why... Here is the full details of the error:
    Microsoft OLE DB Provider for ODBC Drivers 80040E14
    [Microsoft][ODBC SQL Server Driver][SQL Server]The Microsoft Distributed Transaction Coordinator (MS DTC) has cancelled the distributed transaction.
    /Libraries/DBA/DBA.asa, line 717
    Line 717 is this:
    rs.open destTableName,,,,adCmdTable
    Full details of the code:
        'Field object used to iterate through each field of the rs
        dim rs, fld
        'call dbInitRS(rs)
        set rs = server.createobject("adodb.recordset")
        'On Error Resume Next
        'Open rs
        set rs.activeConnection = myConnection
        rs.cursorType = adOpenKeyset
        rs.lockType = adLockOptimistic
        'rs.open destTableName
        rs.open destTableName,,,,adCmdTable
        'if err.number <> 0 then
        '    goto HandleError
        'end if
        rs.addNew
    Any ideas how to solve this problem?
    Thanks

    Still does not work. I have allow MSDSTC in my firewall list.
    Hi dudskie,
    Have you try to use DTCTester or DTCPing to verify MSDTC functionality over the network? Please refer to the following article:
    Troubleshooting Problems with MSDTC:
    http://msdn.microsoft.com/en-us/library/aa561924.aspx
    Use the DTCTester utility to verify transaction support between two computers if SQL Server is installed on one of the computers. The DTCTester utility uses ODBC to verify transaction support against a SQL Server database. For more information about
    DTCTester see How to Use DTCTester Tool.
    Use DTCPing to verify transaction support between two computers if SQL Server is not installed on either computer. The DTCPing tool must be run on both the client and server computer and is a good alternative to the DTCTester utility when SQL Server
    is not installed on either computer. For more information about DTCPing, see
    How to troubleshoot MS DTC firewall issues.
    If you have any feedback on our support, please click
    here.
    Hope this helps.
    Regards,
    Elvis Long
    TechNet Community Support

  • Java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Unspecified error

    Hi All,
    I am getting the following error when i am running swing program. I have a large volume of data. My resultset is running upto 2 hours. after 2 hours process is stoped and i got the following error on console.I am using Swing and MS SQL Server 2000.
    Exception :java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Unspecified error occurred on SQL Server. Connection may have been terminated by the server.
    Exception :java.sql.SQLException: General error
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:464)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
    Exception :java.sql.SQLException: General error
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:469)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:474)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:169)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:419)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:424)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    java.lang.Exception: Invalid handle [null] Database error code:0
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:429)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:434)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closedjava.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:439)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:444)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:449)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:454)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'T'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:459)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'T' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:464)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:469)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 4 : select count(*) from tblTransaction where AuditID = 10001720 and     ExcludedFromAudit = 'F' and     SystemPricedFare = 'F'
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.batchTransactions(GenerateAuditBatches.java:966)
         at com.select.auditlink.GenerateAuditBatches.batchAudit(GenerateAuditBatches.java:474)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:172)
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    GenerateAuditBatches.java sql 5 transactions : select tblTransaction.BatchID,          tblTransaction.TransactionNumber,          tblTransaction.PrimeDocumentNumber,          tblTransaction.AgentIATACode,          tblTransaction.NetRemitInd,          tblTransaction.ITBTFare,          tblTransaction.TourCode,          tblTransaction.FareBasis,          tblTransaction.TransactionCode,          tblTransaction.TransactionCategory,          tblTransaction.InternationalOrDomestic,          tblTransaction.NumberOfSectors,          tblTransaction.TransactionStatus,          tblTransaction.TransactionStatusUserID,          tblTransactionCRSCheck.FareCorrect,          tblTransactionCRSCheck.TaxCorrect,          tblTransactionCRSCheck.CommissionCorrect,          tblTransactionCRSCheck.ContractRulesCorrect,          tblTransactionCRSCheck.ContractID from tblTransaction left join tblTransactionCRSCheck on     tblTransactionCRSCheck.AuditID = tblTransaction.AuditID and     tblTransactionCRSCheck.TransactionNumber = tblTransaction.TransactionNumber where tblTransaction.AuditID = 10001720 and     tblTransaction.ExcludedFromAudit = 'F' and     tblTransaction.SystemPricedFare = 'F' order by tblTransaction.FareBasis
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 1 : update tblAudit set     NumberOfBatches = 1078 where AuditID = 10001720
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 12 query2 : select BatchID from     tblAuditBatch where AuditID = 10001720
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.lang.Exception: Invalid handle [null] Database error code:0
    java.lang.Exception: Invalid handle [null] Database error code:0
         at com.select.auditlink.GenerateAuditBatches.updateAuditBatches(GenerateAuditBatches.java:1427)
         at com.select.auditlink.GenerateAuditBatches.run(GenerateAuditBatches.java:217)
    GenerateAuditBatches.java sql 2 : update tblAudit set     NumberOfAuditedBatches = (     select     count(*)     from     tblAuditBatch     where     AuditID = 10001720     and          NumberOfAuditedTransactions = NumberOfTransactions) where     AuditID = 10001720
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    GenerateAuditBatches.java sql 3 : update tblAudit set     NumberOfAuditedTransactions = (     select     count(*)     from     tblTransaction     where     AuditID = 10001720     and          Audited = 'T') where     AuditID = 10001720
    Exception :java.sql.SQLException: Invalid handle
    Exception :java.sql.SQLException: Connection is closed
    Exception :java.sql.SQLException: Connection is closed
    Please give me suitable solution of this issue.
    Thanks
    Rajnish
    Message was edited by:
    rajnishsunjava

    java.sql.SQLException: [Microsoft][ODBC Visual FoxPro Driver]File must be opened exclusively.
    In the Visual Foxpro table, I saw no READ ONLY settings.And also, there are
    no delete permission grants and there is no user database sesssion concept.
    The ODBC DSN for MYTABLE is setup as:
    - Free Tables (not database)
    - Null (checked)
    - Deleted (checked)If you're using Visual Foxpro database(.DBC), you should see "Exclusive" option too. You can try check it, but I don't know whether your issue will disappear.

  • Getting [Microsoft][ODBC SQL Server Driver] Optional feature not implemented

    I am using below mentioned code to insert values in MSAccess 2000 which having table structure as mentioned below:-
    Field Name Data Type
    TodaysDate Date/Time
    Cart ID Number
    Client Name Text
    Campaign Text
    Team & Segment Text
    Duration Number
    Tape ID Text
    Start Date Date/Time
    End Date Date/Time
    Station Text
    Code:-
    private boolean enterDataIntoMSAccessDatabaseusingPreparedStatement()
       try {
      ps = connection.prepareStatement("INSERT INTO Cart ID Details VALUES (?,?,?,?,?,?,?,?,?)");
      System.out.println("After Query");
       catch (SQLException se) {
      generateErrorMessage("Error in Prepared Statement \n " + se.getMessage() );
       return false;
       catch (Exception e)
      generateErrorMessage("Unexpected Error Occured \n " + e.getMessage());
       String todaysDate = cartIDApplicationAddCartIDDatejTextField.getText().trim();
       String cartID = cartIDApplicationAddCartIDCartIDjTextField.getText().trim();
       String clientName = cartIDApplicationAddCartIDClientNamejTextField.getText().trim();
       String campaign = cartIDApplicationAddCartIDCampaignjTextField.getText().trim();
       String teamSegment = cartIDApplicationAddCartIDTeamAndSegmentjTextField.getText().trim();
       String duration = cartIDApplicationAddCartIDDurationjTextField.getText().trim();
       String tapeID = cartIDApplicationAddCartIDTapeIDjTextField.getText().trim();
       String startDate = cartIDApplicationAddCartIDStartDatejTextField.getText().trim();
       String endDate = cartIDApplicationAddCartIDEndDatejTextField.getText().trim();
       String station = cartIDApplicationAddCartIDDELjCheckBox.getText().substring(0, 3);
      System.out.println(station);
       try {
      System.out.println("Before ps.setString()");
      SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-mm-dd", Locale.ENGLISH);
      System.out.println("Simple Date Format");
       /*ps.setString(1, todaysDate);
      ps.setString(2, cartID );
      ps.setString(3, clientName);
      ps.setString(4, teamSegment);
      ps.setString(5, duration);
      ps.setString(6, tapeID);
      ps.setString(7, startDate);
      ps.setString(8, endDate);*/
      System.out.println("1");
      ps.setDate(1, new java.sql.Date(simpleDateFormat.parse(todaysDate).getTime()));
      ps.setString(2, cartID);
      ps.setString(3, clientName);
      ps.setString(4, campaign);
      ps.setString(5, teamSegment);
      ps.setString(6, duration);
      ps.setString(7, tapeID);
      ps.setDate(8, new java.sql.Date(simpleDateFormat.parse(startDate).getTime()));
      ps.setDate(9, new java.sql.Date(simpleDateFormat.parse(endDate).getTime()));
      ps.setString(10, station);
      System.out.println("After ps.setString()");
      ps.executeUpdate();
       catch (SQLException se) {
      generateErrorMessage("Error while inserting data in database \n " + se.getMessage());
       return false;
       catch (Exception e)
      generateErrorMessage("Unexpected Error Occured \n" + e.getMessage() );
       return true;
    I got below error after implementing the above code:-
    [Microsoft][ODBC SQL Server Driver]Optional feature not implemented.
    Kindly help me for the same.

    >>  [Microsoft][ODBC SQL Server Driver]  
    I don't see anything Oracle in your question.   It looks like you're getting an error using Microsoft's SQL Server driver, did you mean to post this to a forum on  Microsoft's site perhaps?

  • Connection failed: SQLState:'01000' SQL Server Error:67 [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen (Connect()). Connection failed: SQLState:'08001' SQL Server Error:17 [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist o

    Help,
    setup a new sql server 2012 on a windows 2012r2 server to replace old sql server 2005 on an old windows server 2003 machine.  When i test the ODBC connection locally on the server it works fine, however when i try to connect via windows 7 client machine
    i get the following error:
    Connection failed:
    SQLState:'01000'
    SQL Server Error:67
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]ConnectionOpen
    (Connect()).
    Connection failed:
    SQLState:'08001'
    SQL Server Error:17
    [Microsoft]ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied
    I think it must be a permissions thing, I've turned off the firewall for now and still no difference, 've also made sure remote connection is enabled.  I can connect to the other sql server in studio manager on the new machine however, i can't go do
    the same in the old server, says:
    cannot connect to hbfsqlpro1\hbfsqlpro1
    Additonal information a network related or instance specifc error occured while establising 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 locationg server/instance specified) (Microsoft SQL server)
    the instance is def correct, as that is what i use to connect locally on the new machine and what it comes up on the studio manager on the new machine.  STarting to pull my hair out somewhat, i'm sure it's something really simple! 

    Hello,
    You are trying to connect to a named instance. Make sure the SQL Server Browser service is started on the SQL Server computer.
    Make sure TCP/IP is enabled.
    http://msdn.microsoft.com/en-us/library/ms191294(v=sql.110).aspx
    Try to disable Windows Firewall or security software on both, SQL Server instance and client computer.
    Test basic connectivity too. Try to ping from the client computer to the SQL Server computer.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) Could not prepa

    BO XI 3.1 in Webi Rich Client, i get this when I use the default Audit Universe to run the Sample Auditing Report.
    A database error occured. The database error text is: [Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) Could not prepared..(WIS 10901)
    In infoview webi i get this,
    A Database error occured. The database error text is: [Microsoft][ODBC driver Manager] Data source name not found and no default driver specified. (WIS 10901)
    We tried checking all the rights and we are trying this using the Administrator user. Also tried logon to Desinger, Import Auditing Universe and Verify the Parameters and then re exported. Still not working

    Hi Prasanth,
       Thanks for your suggestions and I tried all that what I can do along with your suggestion, and still getting the same error, all the connection are working fine, but when I checked for Integrity, Parse Object and Cardinality I was getting some Object error and cardinality error, which am trying to resolve, so I think am having a wrong version of the Activity Universe.
    Thanks for your suggestion.
    Thanks and Regards
    Senthil

  • Error: [Microsoft][ODBC SQL Server Driver]Protocol error in TDS stream

    hello,
    our application vendors are receving the below errors while running their data load job.I spoke to our networking team member and he said everything looks good on the networking side .Can someone please help me with the below errors.we are using
    Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) Enterprise
    Edition: Core-based Licensing (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1).
    Windows OS:windows server 2008 R2 sp1
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    |Data flow DIM_CONTRACT_SWAM_INIT_LOAD_DF|Loader Key_Generation_DIM_CONTRACT
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    ODBC data source <HPWDBOE001> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    Driver][DBNETLIB]ConnectionWrite (send()).
    7280
    6920
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.>.
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    |Data flow DIM_EMPLOYER_GROUP_SWAM_INIT_LOAD_DF|Reader TCRdr_9
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    ODBC data source <serverName> error message for operation <SQLExecute>: <[Microsoft][ODBC SQL Server Driver]Protocol error in
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    TDS stream
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()).
    6760
    6164
     DBS-070401
    6/5/2014 1:17:24 PM
    [Microsoft][ODBC SQL Server Driver][DBNETLIB]General network error. Check your network documentation.>.
    I googled and found the below link the below link which asked me to enable named pipes.I enabled
    namped pipes in the sql server Network configuration.I havent yet restarted the sql services as this is a prod box.I will do it later in the evening today.
     http://social.msdn.microsoft.com/Forums/sqlserver/en-US/69149a71-3c15-4c95-9f95-a30db458abeb/sql-server-2005-communcations-errors-through-odbc?forum=sqldataaccess 
    Can someone help me with these errors.
    Thanks
    lucky

    Thank you Erland.
    I dont see any crash dumps in sql server.I checked the tcp chimney and its set to automatic.I am not knowing what to look at to resolve this issue.
    if its the issue with the client API can i ask our vendor to check the client? 
    Our networking member gave the following report:
    No problems on vlan 14 or your port   the top is from the switch to your server then bottom is from my pc to your server
    SP_DC_CORE_VSS# ping 10.10.12.228
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 10.10.12.228, timeout is 2 seconds:
    Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
    SP_DC_CORE_VSS#
    lucky

  • Could not initialize a collection+[Microsoft][ODBC SQL Server Driver]Invali

    Hi All,
    I am getting the following message, when i try to retreive the child object from the parent..
    Session sess = sessionFactory.openSession();
    Team obj = (Team) sess.load(Team.class, new Long(2457600));
    Set s = obj.getPlayers();
    System.out.println("PLayer -- "+obj.getPlayers());
    Error Message :
    org.hibernate.exception.GenericJDBCException: could not initialize a collection: [com.test.Team.players#2457600]
    org.hibernate.exception.GenericJDBCException: could not initialize a collection: [com.test.Team.players#2457600]
    at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:82)
    at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:70)
    at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
    at org.hibernate.loader.Loader.loadCollection(Loader.java:1351)
    at org.hibernate.loader.collection.OneToManyLoader.initialize(OneToManyLoader.java:106)
    at org.hibernate.persister.collection.AbstractCollectionPersister.initialize(AbstractCollectionPersister.java:484)
    at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onInitializeCollection(DefaultInitializeCollectionEventListener.java:60)
    at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java:1346)
    at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:170)
    at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:47)
    at org.hibernate.collection.PersistentSet.toString(PersistentSet.java:221)
    at java.lang.String.valueOf(String.java:2131)
    at java.lang.StringBuffer.append(StringBuffer.java:370)
    at com.test.TeamPlayer.main(TeamPlayer.java:70)
    Caused by: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
    at sun.jdbc.odbc.JdbcOdbc.SQLGetDataDouble(JdbcOdbc.java:3658)
    at sun.jdbc.odbc.JdbcOdbcResultSet.getDataDouble(JdbcOdbcResultSet.java:5579)
    at sun.jdbc.odbc.JdbcOdbcResultSet.getLong(JdbcOdbcResultSet.java:635)
    at sun.jdbc.odbc.JdbcOdbcResultSet.getLong(JdbcOdbcResultSet.java:653)
    at org.hibernate.type.LongType.get(LongType.java:26)
    at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:77)
    at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:68)
    at org.hibernate.persister.collection.AbstractCollectionPersister.readKey(AbstractCollectionPersister.java:612)
    at org.hibernate.loader.Loader.readCollectionElement(Loader.java:545)
    at org.hibernate.loader.Loader.readCollectionElements(Loader.java:344)
    at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:299)
    at org.hibernate.loader.Loader.doQuery(Loader.java:384)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:203)
    at org.hibernate.loader.Loader.loadCollection(Loader.java:1344)
    ... 10 more
    Team [Parent] <--> Player [Child]
    Team.hbm.xml
    <hibernate-mapping>
    <class name="com.test.Team" table="dbo.teams">
    <id name="id" column="team_id" >
    <generator class="hilo"/>
    </id>
    <property name="name" column="team_name" />
    <property name="city" column="city" />
    <set name="players" cascade="all" inverse="true" lazy="true">
    <key column="team_id"/>
    <one-to-many class="com.test.Player"/>
    </set>
    </class>
    </hibernate-mapping>
    PLayer.hbm.xml:
    <hibernate-mapping>
    <class name="com.test.Player" table="dbo.players">
    <id name="id" column="player_id">
    <generator class="hilo"/>
    </id>
    <property name="firstName" column="first_name" />
    <property name="lastName" column="last_name" />
    <property name="draftDate" column="draft_date" />
    <property name="annualSalary" column="salary" />
    <property name="jerseyNumber" column="jersey_number" />
    <many-to-one name="team" class="com.test.Team" column="team_id" />
    </class>
    </hibernate-mapping>
    Any help would be highly appreciated..
    Thanks,
    /Shridhar..

    http://forums.hibernate.org/viewtopic.php?t=928277&view=next&sid=e3ed34f2b57526386ba6ac7ac29b6471

  • Parse failed: Exception: DBD, [Microsoft][ODBC SQL Server Driver] Syntax Er

    I received the following error when I gave the following  statement in select:
    case when {fn_year(FINANCE_PERIOD.FP_START)} @prompt('Enter Year','N',,mono,free)
    then 1 else 0
    end
    Parse failed: Exception: DBD, [Microsoft][ODBC SQL Server Driver] Syntax Error or access violationState: 42000
    I looked at differnt forums but could not fnd the error.

    Sams Latin
    then try this:
    CASE
    WHEN YEAR(FINANCE_PERIOD.FP_START) = @Prompt('Enter Year','N',here give class/object or LOV's,mono,free) THEN 1 ELSE 0
    END
    Note: In case of Date , you can make it blank (3rd parameter), which gives you calendar at runtime.
    I suggest you try it in step by step like:
    >>  @Prompt('Enter Year','N',here give class/object or LOV's,mono,free)
    Parse it, succeed. Then
    >> YEAR(FINANCE_PERIOD.FP_START)
    Parse it, then
    for each case see LOV's.
    >> at last,  try above CASE WHEN
    Hope it solves you.
    I'm Back
    Merry Christmas

  • Java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]

    I'm stuck for 2 days.
    Can anyone advise where I can find online/download what this error means when I run a jsp page to connect to SQL server?
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index

    Hi!
    I have found this post in another forum:
    David,
    I had a similar problem today, using the JDBC-ODBC driver to connect to
    Microsoft SQL Server 7. Apparently the order in which you retrieve columns
    can make a difference. I got this information from the following URL:
    http://enhydra.enhydra.org/project/mailingLists/enhydra/199911/msg00110.htm
    l
    I tried it in my application and it worked. Changing:
    result.setTitle(rs.getString("title"));
    result.setProducer(rs.getString("producer"));
    to:
    result.setProducer(rs.getString("producer"));
    result.setTitle(rs.getString("title"));
    made the exception disapear and now my code works fine. I still dont know
    exactly where the problem comes from.
    Hope this helps.
    Regards,
    Geri

  • Microsoft][ODBC SQL Server Driver]Optional feature not implemented

    this is my program code for java jdbc:odbc SQL connectivity
    but iam getting the error as
    *java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented*
    package desktopapplication2;
    import java.sql.*;
    * @author Bharat Raj Verma
    public class db {
        void get(String gr,String fn,String ln,String job ,Integer rate,Integer ot,String att,long amt,String cmt)
          try
             Connection con=null,con1=null;
            Statement stmt2;
            String query = "Update dbo.attend SET Gr = ? , fn = ? ,ln = ?, job = ? , rate = ? , ot = ? , att = ? ,amt = ? , comment = ?";
           // String query1 = "Select accnum rom dbo.newacc where accnum= ?";
            String url = "jdbc:odbc:bharat";
          Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
            con = DriverManager.getConnection(url,"","");
            con1 = DriverManager.getConnection(url,"","");
            System.out.println("connection Established");
            stmt2 = con.createStatement();
            Statement stmt = con1.createStatement();
            ResultSet rs;
            rs=stmt.executeQuery("select * from dbo.attend");
            while(rs.next())
                String cmp1= rs.getString("gr");
                if(cmp1.equalsIgnoreCase(gr))
                        PreparedStatement ps1 = con.prepareStatement(query);
                        System.out.println("Insisde RS");
                        ps1.setString(1,gr);
                        ps1.setString(2,fn);
                        ps1.setString(3,ln);
                        ps1.setString(4,job);
                        ps1.setInt(5,rate);
                        ps1.setInt(6,ot);
                        ps1.setString(7,att);
                        ps1.setLong(8,amt);
                        ps1.setString(9,cmt);
                        System.out.println("SSS");
                      //  ps1.setString(1,gr);
                        ps1.executeUpdate();
                       System.out.println("Success");
          catch(Exception e1)
              System.err.println(e1);
    }This is the SQL table in which iam trying to insert the value
    SET ANSI_PADDING OFF
    create table attend
    Gr VARCHAR(20) primary key,
    fn VARCHAR (25),
    ln VARCHAR(25),
    job VARCHAR(25),
    rate integer,
    ot integer,
    att varchar(10),
    amt varchar (10),
    comment varchar(70)
    )the complete output is
    init:
    deps-jar:
    Compiling 1 source file to C:\Documents and Settings\Bharat Raj Verma\My Documents\NetBeansProjects\DesktopApplication2\build\classes
    compile:
    run:
    connection Established
    Insisde RS
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented
    BUILD SUCCESSFUL (total time: 29 seconds)
    here is the stack trace
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver]Optional feature not implemented
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
    at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterBigint(JdbcOdbc.java:1225)
    at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setLong(JdbcOdbcPreparedStatement.java:592)
    at desktopapplication2.db.get(db.java:47)
    at desktopapplication2.DesktopApplication2View.jButton1ActionPerformed(DesktopApplication2View.java:394)
    at desktopapplication2.DesktopApplication2View.access$800(DesktopApplication2View.java:22)
    at desktopapplication2.DesktopApplication2View$4.actionPerformed(DesktopApplication2View.java:183)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:5517)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
    at java.awt.Component.processEvent(Component.java:5282)
    at java.awt.Container.processEvent(Container.java:1966)
    at java.awt.Component.dispatchEventImpl(Component.java:3984)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3819)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
    at java.awt.Container.dispatchEventImpl(Container.java:2010)
    at java.awt.Window.dispatchEventImpl(Window.java:1791)
    at java.awt.Component.dispatchEvent(Component.java:3819)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Plz can anyone help ???

    and what was the solution?
    thanks in advance
    brindy

Maybe you are looking for

  • Office 2007 + Custom template (dot/dotm files) on terminal server -- issues

    We are trying to transition to a terminal server + thin-client setup. The TS runs Server 2008 R2, and the Office version is 2007 (for compatibility reasons -- we have a lot of macros etc that won't run with Office 2010). The normal.dotm for Office, E

  • HP Officejet 6700 - scanning problem, "device is busy. please try again later"

    I am using a windows laptop (Lenovo Yoga II). I have an HP Officejet 6700 printer/ scanner. The printing functions seem to work fine but the scanning function is now not working at all (worked previously). When I use the HP Scan and Capture app is co

  • JBO-27122 java.sql.SQLException: Invalid column type

    Dear All I extended an standard LOV view object and added 2 where clauses. Where clauses are working very good but problem is when I submit any criteria fist time and press GO button its working if I put 2nd time criteria or just press GO Button it s

  • Error in configuration

    Hi, I have configured to recieve IDOC in PI. I have a BPM which is collecting IDOCs and before that there is a mapping. In the mapping i am taking IDOC's back up. During configuration, Reciever determination and interface determination was created. I

  • [Function] Declare a internal table with structure name (entry parameter)

    Hi all, I'm explaining my problem : I want to create a function with two parameters in entry : (IMPORT)  - structure_name with type DD02L-TABNAME (TABLES) - t_outtab with empty type t_outtab will be in structure_name type. Now, in my source function,