Invalid Object State

Hej All
We have a problem with our Q server. There is not possible to log on to any repository. When we use what ever user ID (can be dummy) we got information: "Invalid Object State".
There is no passwd on server.
Our system is 7.1 SP6, and of course we use correct client to connect.
Thank you for any suggestions.
BR
Rafal

Hi
Exactly that helped
Thank you.
Have a nice day.
BR
Rafal

Similar Messages

  • Bogus Invalid Object in MERGE Statement

    Let me begin by saying that I have been working with MERGE since its inception, and I am familiar with the fundamental gotcha's. This problem is more inexplicable. (It's one of those things that I expect, when someone explains it, will be a DOH! moment.)
    I am building a one-time conversion script to merge an existing User table with a new User table. Since I am only in the development mode, I didn't want to modify the true table yet. So I made a copy of the table to work with, using the following familiar
    syntax.
    SELECT *
    INTO uam.User2
    FROM uam.[User]
    Imagine my surprise when the MERGE statement refused to recognize uam.User2 - although it recognizes uam.[User] just fine.
    In the interests of competeness, here is the MERGE Statement in question.
    MERGE  uam.[User2]
    as tgt
    USING (SELECT
    UserID
    ,FirstName
    ,LastName
    ,CompanyID
    ,AuthenticationID
    ,isActive
    ,PrimaryEmailID
    ,CreatedByUserName
    ,CreatedByDtim
    ,@User
    _User
    ,GETDATE()
    _GETDATE
    FROM #User
    ) as src
      ON tgt.UserID = (src.UserID * -1)
    WHEN NOT MATCHED
    THEN
    INSERT
    (FirstName
    ,LastName
    ,CompanyID
    ,AuthenticationID
    ,isActive
    ,PrimaryEmailID
    ,CreatedByUserName
    ,CreatedByDtim
    ,LastUpdatedUserName
    ,LastUpdatedDtim
    VALUES
    (src.FirstName
    ,src.LastName
    ,src.CompanyID
    ,src.AuthenticationID
    ,src.isActive
    ,src.PrimaryEmailID
    ,src.CreatedByUserName
    ,src.CreatedByDtim
    ,_User
    ,_GETDATE
    OUTPUT INSERTED.UserID
    ,tgt.UserID
    INTO #UserMapping;
    The procedure refuses to run, flagging the tgt.UserID as 
    Msg 4104, Level 16, State 1, Line 140
    The multi-part identifier "tgt.UserID" could not be bound.
    SSMS also flags the uam.[User2] on the MERGE line as "Invalid object name 'uam.User2'" on mouse-over.
    A few notes:
    I have a SELECT * FROM uam.User2 immediately before this MERGE, and it works just fine. And yes, it returns a UserID column.
    If I change the name from uam.User2 to uam.[User], it works just fine.
    I know the JOIN is a little strange (I really wanted just an INSERT where I could see the original UserID and the newly inserted UserID together, and INSERT will not let me OUTPUT directly from a table - hence the MERGE), but I also tried it with a straight-up
    tgt.UserID = src.UserID. Nothing changed about the errors.
    I also went back and re-created the uam.User2 table directly from the code that built uam.[User]. Nothing changed.
    I'm flummoxed. This has all the earmarks of a "well-that-was-dumb" coding error, but for the life of me I cannot see what would change between using these two tables, since one is a copy of the other...
    Any insight would be much appreciated!
    Duncan Davenport

    OK, I have it.
    DOH!  (told ya)
    So, while intellisense (typically) flags this table as not existing, that's just Intellisense doing the nonsense it always does. This obfuscated the ACTUAL error - which was the wrong schema defined in the output clause. The error itself pointed at the wrong
    line (nothing new there either). Once I fixed the OUTPUT clause, everything worked as expected - although SSMS is still putting squiggly red lines under everything that is working anyway. Yeah, we've all seen THAT behavior - no big deal.
    Anyway, that's the answer. It's magic - in that the error messages specialize in misdirection :)...
    Closing this. (I wonder if I get credit for answering my own question?)

  • Invalid Cursor state Exception  -  Help required

    Hi,
    I'm having a web page(JSP), which is making use of 3 ResultSet objects. Using the first two, i'll populate two different Drop down list, with values from database(Access) while loading the page for first time.
    Now if the user select any value from any (or both) of drop down list and clicks submit, i need to display all values in database, meeting the criteria from first & second drop down list. For this selection, i'm using the third ResultSet variable. While executing the query, i'm sure that 3rd ResultSet is returning some value. But when i try to retrieve the value to a string variable, i'm getting the Invalid cursor state exception.
    Throughout the page, i haven't closed any of the ResultSet. When i closed the first and second ResultSets in the third function(where 3rd ResultSet is used), i'm not getting any value. Its returning like ResultSet closed.
    Please help me to get this solved. It's very urgent because without this, i cannot proceed further. Please share your ideas.
    Thanks in advace for your valuable help

    If you open a new resultset within the same statement, all previously opened will be closed.
    Read the API docs, luke.

  • Invalid objects after upgrade 8.1.7 to 9.2.0.6

    I upgraded the database from 8.0.5 under EBS 11.0.3 to 8.1.7 then from 8.1.7 to 9.2.0.6 under EBS 11.5.10.2
    in front of try to compile objects with utlrp, utlrcmp or compile i can't make these objects valid!
    can any one help me please?
    my invalids objects & errors from dba_errors are :
    OWNER NAME TEXT
    SYSTEM AD_APPS_PRIVATE PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_APPS_PRIVATE PL/SQL: SQL Statement ignored
    SYSTEM AD_APPS_PRIVATE PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_APPS_PRIVATE PL/SQL: SQL Statement ignored
    SYSTEM AD_COMPILE PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_COMPILE PL/SQL: SQL Statement ignored
    SYSTEM AD_INST PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_INST PL/SQL: SQL Statement ignored
    SYSTEM AD_INST PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_MCURR PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_MCURR PL/SQL: SQL Statement ignored
    SYSTEM AD_PARALLEL_COMPILE_PKG PL/SQL: ORA-00942: table or view does not exist
    SYSTEM AD_PARALLEL_COMPILE_PKG PL/SQL: SQL Statement ignored
    CTXSYS CTX_ACCESS PLS-00201: identifier 'SYS.DBA_SYNONYMS' must be declared CTXSYS CTX_ACCESS PL/SQL: SQL Statement ignored
    CTXSYS CTX_ACCESS PLS-00201: identifier 'SYS.DBA_OBJECTS' must be declared
    CTXSYS CTX_ACCESS PL/SQL: SQL Statement ignored
    CTXSYS CTX_ADM PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS CTX_ADM PL/SQL: Statement ignored
    CTXSYS CTX_DDL PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS CTX_DDL PL/SQL: Item ignored
    CTXSYS CTX_DDL PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS CTX_DML PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS CTX_DML PL/SQL: Statement ignored
    CTXSYS CTX_LING PLS-00593: default value of parameter "LOG_MODE" in body
    must match that of spec
    CTXSYS CTX_QUERY PLS-00201: identifier 'DBA_OBJECTS' must be declared
    CTXSYS CTX_QUERY PL/SQL: SQL Statement ignored
    CTXSYS CTX_VP PLS-00201: identifier 'DBA_OBJECTS' must be declared
    CTXSYS DISPATCHER PLS-00201: identifier 'DBMS_PIPE' must be declared
    CTXSYS DISPATCHER PL/SQL: Declaration ignored
    CTXSYS DMLQ PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS DMLQ PL/SQL: Statement ignored
    CTXSYS DRASERM PLS-00593: default value of parameter "PERSON_MASK" in b
    ody must match that of spec
    CTXSYS DRDBG PLS-00201: identifier 'DBMS_PIPE' must be declared
    CTXSYS DRDBG PLS-00201: identifier 'DBMS_PIPE' must be declared
    CTXSYS DRDBG PL/SQL: Statement ignored
    CTXSYS DRICON PLS-00201: identifier 'DBA_TAB_PRIVS' must be declared
    CTXSYS DRICON PL/SQL: SQL Statement ignored
    CTXSYS DRICON PL/SQL: SQL Statement ignored
    CTXSYS DR_IDX PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS DR_IDX PL/SQL: Statement ignored
    CTXSYS DR_REC PL/SQL: SQL Statement ignored
    CTXSYS DR_REC PLS-00201: identifier 'SYS.USER$' must be declared
    CTXSYS DR_REC PL/SQL: SQL Statement ignored
    CTXSYS DR_REWRITE PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS DR_REWRITE PL/SQL: Statement ignored
    CTXSYS DR_REWRITE PLS-00201: identifier 'SYS.USER$' must be declared
    CTXSYS DR_REWRITE PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS DR_REWRITE PL/SQL: Item ignored
    CTXSYS DR_RTM PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS DR_RTM PL/SQL: Statement ignored
    CTXSYS DR_UTL PLS-00302: component 'IS_PARALLEL_SERVER' must be declar
    ed
    CTXSYS DR_UTL PL/SQL: Statement ignored
    CTXSYS LISTENER PLS-00905: object CTXSYS.DISPATCHER is invalid
    CTXSYS LISTENER PL/SQL: Item ignored
    CTXSYS LISTENER PLS-00320: the declaration of the type of this expressio
    n is incomplete or malformed
    CTXSYS LISTENER PL/SQL: Statement ignored
    CTXSYS LISTENER PLS-00320: the declaration of the type of this expressio
    n is incomplete or malformed
    CTXSYS PIPE PL/SQL: Statement ignored
    CTXSYS PIPE PLS-00201: identifier 'DBMS_PIPE' must be declared
    CTXSYS PIPE PL/SQL: Statement ignored
    CTXSYS SVCQ PLS-00201: identifier 'DBMS_LOCK' must be declared
    CTXSYS SVCQ PL/SQL: Statement ignored
    APPS AD_DD PLS-00593: default value of parameter "P_DESCRIPTION" in
    body must match that of spec
    APPS AK_ATTRIBUTE_PVT PLS-00593: default value of parameter "P_DATA_TYPE" in b
    ody must match that of spec
    APPS AK_ATTRIBUTE_PVT PLS-00593: default value of parameter "P_PASS" in body m
    ust match that of spec
    APPS AK_OBJECT_GRP PLS-00593: default value of parameter "P_VALUE_VARCHAR2"
    in body must match that of spec
    APPS AS_OPPORTUNITY_PUB PLS-00593: default value of parameter "P_DEFAULT_FORECAS
    TING_INFO" in body must match that of spec
    APPS AS_OPPORTUNITY_PVT PLS-00593: default value of parameter "P_DEFAULT_FORECAS
    TING_INFO" in body must match that of spec
    APPS AS_QUOTE_PVT PLS-00593: default value of parameter "P_QUOTE_STATUS" i
    n body must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_PERIOD" in body
    must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_CCID" in body m
    ust match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_BALSEGL" in bod
    y must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_BALSEGH" in bod
    y must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_ACCSEGL" in bod
    y must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_ACCSEGH" in bod
    y must match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_TPID" in body m
    ust match that of spec
    APPS AX_CALCULATE_BALANCES_PKG PLS-00593: default value of parameter "P_SUBID" in body
    must match that of spec
    Regards.
    e-mail : [email protected]

    thank you for your answer,
    i followed all documentation from oracle support, first document is
    Upgrading Oracle Applications
    Release 11i (11.5.10)
    Part No. B13584-01
    i used also "Installation Guide Using Rapid Install.pdf" chapter 4
    first thing is that i upgraded database from 8.0.5 under EBS 11.0.3/win 2000 to 8.1.7 on an intermediate machine. then, i prepared environnement on an other machine with EBS 11.5.10.2 under windows 2003 (for the database, i have now only software) then i copied upgraded 8.1.7 database from intermediate machine to 11i machine then i upgraded it to 9.2.0.6 like it recommeded in category3 database tasks in "Upgrading Oracle Applications" documentation.
    have u any idea, what's the probleme with these invalid objects?
    regards.

  • Invalid cursor state error

    Hello everyone i am building a database/web page application using Dreamweaver 8 that allows sudents to report computer issues. The submitting works fine it stores all information to the databse my problem now is updating the database to show a problem has been fixed. I can get the website to pull up current records using but when i click on the lik that should redirect the user to the update form which pulls up the record that the user clicked on i get this error:
    exception
    org.apache.jasper.JasperException: Exception in JSP: /updateIssue.jsp:151
    148:   <table align="center">
    149:     <tr valign="baseline">
    150:       <td nowrap align="right">Cpu:</td>
    151:       <td><input type="text" name="cpu" value="<%=(((IssueUpdate_data = IssueUpdate.getObject("cpu"))==null || IssueUpdate.wasNull())?"":IssueUpdate_data)%>" size="32">
    152:       </td>
    153:     </tr>
    154:     <tr valign="baseline">
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] Invalid cursor state
         org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858)
         org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791)
         org.apache.jsp.updateIssue_jsp._jspService(updateIssue_jsp.java:284)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Invalid cursor state
         sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
         sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
         sun.jdbc.odbc.JdbcOdbc.SQLGetDataString(Unknown Source)
         sun.jdbc.odbc.JdbcOdbcResultSet.getDataString(Unknown Source)
         sun.jdbc.odbc.JdbcOdbcResultSet.getString(Unknown Source)
         sun.jdbc.odbc.JdbcOdbcResultSet.getObject(Unknown Source)
         sun.jdbc.odbc.JdbcOdbcResultSet.getObject(Unknown Source)
         org.apache.jsp.updateIssue_jsp._jspService(updateIssue_jsp.java:226)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    My code for the page is:
    <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" %>
    <%@ include file="Connections/db.jsp" %>
    <%
    // *** Edit Operations: declare variables
    // set the form action variable
    String MM_editAction = request.getRequestURI();
    if (request.getQueryString() != null && request.getQueryString().length() > 0) {
      String queryString = request.getQueryString();
      String tempStr = "";
      for (int i=0; i < queryString.length(); i++) {
        if (queryString.charAt(i) == '<') tempStr = tempStr + "<";
        else if (queryString.charAt(i) == '>') tempStr = tempStr + ">";
        else if (queryString.charAt(i) == '"') tempStr = tempStr +  """;
        else tempStr = tempStr + queryString.charAt(i);
      MM_editAction += "?" + tempStr;
    // connection information
    String MM_editDriver = null, MM_editConnection = null, MM_editUserName = null, MM_editPassword = null;
    // redirect information
    String MM_editRedirectUrl = null;
    // query string to execute
    StringBuffer MM_editQuery = null;
    // boolean to abort record edit
    boolean MM_abortEdit = false;
    // table information
    String MM_editTable = null, MM_editColumn = null, MM_recordId = null;
    // form field information
    String[] MM_fields = null, MM_columns = null;
    %>
    <%
    // *** Update Record: set variables
    if (request.getParameter("MM_update") != null &&
        request.getParameter("MM_update").toString().equals("form1") &&
        request.getParameter("MM_recordId") != null) {
      MM_editDriver     = MM_db_DRIVER;
      MM_editConnection = MM_db_STRING;
      MM_editUserName   = MM_db_USERNAME;
      MM_editPassword   = MM_db_PASSWORD;
      MM_editTable  = "issue";
      MM_editColumn = "cpu";
      MM_recordId   = "'" + request.getParameter("MM_recordId") + "'";
      MM_editRedirectUrl = "COBA_home.html";
      String MM_fieldsStr = "cpu|value|issue|value|comment|value|issue_Date|value|Fixed|value";
      String MM_columnsStr = "cpu|',none,''|issue|',none,''|comment|',none,''|issue_Date|',none,''|Fixed|',none,''";
      // create the MM_fields and MM_columns arrays
      java.util.StringTokenizer tokens = new java.util.StringTokenizer(MM_fieldsStr,"|");
      MM_fields = new String[tokens.countTokens()];
      for (int i=0; tokens.hasMoreTokens(); i++) MM_fields[i] = tokens.nextToken();
      tokens = new java.util.StringTokenizer(MM_columnsStr,"|");
      MM_columns = new String[tokens.countTokens()];
      for (int i=0; tokens.hasMoreTokens(); i++) MM_columns[i] = tokens.nextToken();
      // set the form values
      for (int i=0; i+1 < MM_fields.length; i+=2) {
        MM_fields[i+1] = ((request.getParameter(MM_fields)!=null)?(String)request.getParameter(MM_fields[i]):"");
    // append the query string to the redirect URL
    if (MM_editRedirectUrl.length() != 0 && request.getQueryString() != null) {
    MM_editRedirectUrl += ((MM_editRedirectUrl.indexOf('?') == -1)?"?":"&") + request.getQueryString();
    %>
    <%
    // *** Update Record: construct a sql update statement and execute it
    if (request.getParameter("MM_update") != null &&
    request.getParameter("MM_recordId") != null) {
    // create the update sql statement
    MM_editQuery = new StringBuffer("update ").append(MM_editTable).append(" set ");
    for (int i=0; i+1 < MM_fields.length; i+=2) {
    String formVal = MM_fields[i+1];
    String elem;
    java.util.StringTokenizer tokens = new java.util.StringTokenizer(MM_columns[i+1],",");
    String delim = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    String altVal = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    String emptyVal = ((elem = (String)tokens.nextToken()) != null && elem.compareTo("none")!=0)?elem:"";
    if (formVal.length() == 0) {
    formVal = emptyVal;
    } else {
    if (altVal.length() != 0) {
    formVal = altVal;
    } else if (delim.compareTo("'") == 0) {  // escape quotes
    StringBuffer escQuotes = new StringBuffer(formVal);
    for (int j=0; j < escQuotes.length(); j++)
    if (escQuotes.charAt(j) == '\'') escQuotes.insert(j++,'\'');
    formVal = "'" + escQuotes + "'";
    } else {
    formVal = delim + formVal + delim;
    MM_editQuery.append((i!=0)?",":"").append(MM_columns[i]).append(" = ").append(formVal);
    MM_editQuery.append(" where ").append(MM_editColumn).append(" = ").append(MM_recordId);
    if (!MM_abortEdit) {
    // finish the sql and execute it
    Driver MM_driver = (Driver)Class.forName(MM_editDriver).newInstance();
    Connection MM_connection = DriverManager.getConnection(MM_editConnection,MM_editUserName,MM_editPassword);
    PreparedStatement MM_editStatement = MM_connection.prepareStatement(MM_editQuery.toString());
    MM_editStatement.executeUpdate();
    MM_connection.close();
    // redirect with URL parameters
    if (MM_editRedirectUrl.length() != 0) {
    response.sendRedirect(response.encodeRedirectURL(MM_editRedirectUrl));
    return;
    %>
    <%
    String IssueUpdate__MMColParam = "1";
    if (request.getParameter("cpu") !=null) {IssueUpdate__MMColParam = (String)request.getParameter("cpu");}
    %>
    <%
    Driver DriverIssueUpdate = (Driver)Class.forName(MM_db_DRIVER).newInstance();
    Connection ConnIssueUpdate = DriverManager.getConnection(MM_db_STRING,MM_db_USERNAME,MM_db_PASSWORD);
    PreparedStatement StatementIssueUpdate = ConnIssueUpdate.prepareStatement("SELECT * FROM issue WHERE cpu = '" + IssueUpdate__MMColParam + "' ORDER BY Fixed ASC");
    ResultSet IssueUpdate = StatementIssueUpdate.executeQuery();
    boolean IssueUpdate_isEmpty = !IssueUpdate.next();
    boolean IssueUpdate_hasData = !IssueUpdate_isEmpty;
    Object IssueUpdate_data;
    int IssueUpdate_numRows = 0;
    %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    </head>
    <body>
    <form method="post" action="<%=MM_editAction%>" name="form1">
    <table align="center">
    <tr valign="baseline">
    <td nowrap align="right">Cpu:</td>
    <td><input type="text" name="cpu" value="<%=(((IssueUpdate_data = IssueUpdate.getObject("cpu"))==null || IssueUpdate.wasNull())?"":IssueUpdate_data)%>" size="32">
    </td>
    </tr>
    <tr valign="baseline">
    <td nowrap align="right">Issue:</td>
    <td><input type="text" name="issue" value="<%=(((IssueUpdate_data = IssueUpdate.getObject("issue"))==null || IssueUpdate.wasNull())?"":IssueUpdate_data)%>" size="32">
    </td>
    </tr>
    <tr>
    <td nowrap align="right" valign="top">Comment:</td>
    <td valign="baseline"><textarea name="comment" cols="50" rows="5"><%=(((IssueUpdate_data = IssueUpdate.getObject("comment"))==null || IssueUpdate.wasNull())?"":IssueUpdate_data)%></textarea>
    </td>
    </tr>
    <tr valign="baseline">
    <td nowrap align="right">Issue_Date:</td>
    <td><input type="text" name="issue_Date" value="<%=(((IssueUpdate_data = IssueUpdate.getObject("issue_Date"))==null || IssueUpdate.wasNull())?"":IssueUpdate_data)%>" size="32">
    </td>
    </tr>
    <tr valign="baseline">
    <td nowrap align="right">Fixed:</td>
    <td><input type="text" name="Fixed" value="<%=(((IssueUpdate_data = IssueUpdate.getObject("Fixed"))==null || IssueUpdate.wasNull())?"":IssueUpdate_data)%>" size="32">
    </td>
    </tr>
    <tr valign="baseline">
    <td nowrap align="right"> </td>
    <td><input type="submit" value="Update record">
    </td>
    </tr>
    </table>
    <input type="hidden" name="MM_update" value="form1">
    <input type="hidden" name="MM_recordId" value="<%=(((IssueUpdate_data = IssueUpdate.getObject("cpu"))==null || IssueUpdate.wasNull())?"":IssueUpdate_data)%>">
    </form>
    <p> </p>
    </body>
    </html>
    <%
    IssueUpdate.close();
    StatementIssueUpdate.close();
    ConnIssueUpdate.close();
    %>
    Any idea as to what I have done wrong because I am very confused right now. Thank you so much in advance for any help or advice

    I am confused as well.
    It would help if your data layer was separate from your display layer.
    The error suggests that you are attempting to extract a result from a update. And that won't work with a standard update.
    Where that is happening I have no idea.

  • Invalid cursor state error while executing the prepared statement

    hai friends,
    following code showing the invalid cursor state error while executing the second prepared statement.
    pls anyone help me
    String query = "select * from order_particulars where order_no=" + orderno + " order by sno";             psmt1 = conEntry.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);             rs1 = psmt1.executeQuery();             rs1.last();             intRowCount = rs1.getRow();             particularsdata = new Object[intRowCount][6];             rs1.beforeFirst();             if (intRowCount >= 1) {                 for (int i = 0; rs1.next(); i++) {                     particularsdata[0] = i + 1;
    particularsdata[i][1] = rs1.getString(3);
    particularsdata[i][2] = Double.parseDouble(rs1.getString(4));
    rs1.close();
    psmt1.close();
    query = "SELECT sum(delqty) FROM billdetails,billparticulars WHERE order_no= " + orderno + " and " +
    "billdetails.bill_no = billparticulars.bill_no GROUP BY particulars ORDER BY sno";
    psmt1 = conEntry.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    rs1 = psmt1.executeQuery(); //error showing while executing this line

    Also .. Why using arrays instead of collections? Shifting the cursor all the way forth and back to get the count is fairly terrible.
    With regard to the problem: either there's a nasty bug in the JDBC driver used, or you actually aren't running the compiled class version of the posted code.

  • Invalid Object error in Stored Procedure

    
    Royal Thomas

    It was a bit of a puzzler, but here is a repro that demonstrates Thomas's problem:
    CREATE USER svante WITHOUT LOGIN WITH DEFAULT_SCHEMA = guest
    ALTER ROLE db_owner ADD MEMBER svante
    go
    EXECUTE AS USER = 'svante'
    go
    CREATE PROCEDURE dbo.testis AS
    SELECT @@procid AS beata INTO sture
    SELECT * FROM sture
    go
    EXEC testis  -- Invalid object name 'sture'.
    go
    REVERT
    go
    EXEC testis -- Succede
    go
    DROP USER svante
    DROP TABLE guest.sture 
    DROP TABLE sture
    DROP PROCEDURE testis
    What is happening is this: In the statement
       SELECT @@procid AS beata INTO sture
    the table is created in the default schema of the current user, not in the default schema of the procedure owner (which is dbo, since the procedures was created in dbo). This was certainly unexpected, at least for me.
    But in
      SELECT * FROM sture
    the regular rules, and here sture resolves to dbo.sture, not guest.sture.
    Thomas should make sure that he uses dbo.xxxx in all his SELECT INTO statements.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Migration from windows to Linux -- Invalid objects.

    Hi DBA's
    After Migration there are no of invalid objects are there, specially APPLSYS, what action should I take.
    SQL> select owner, object_name, object_type from all_objects where status<>'VALID' order by owner;
    OWNER OBJECT_NAME OBJECT_TYPE
    APPLSYS AQ$WF_CONTROL VIEW
    APPLSYS AQ$WF_JAVA_DEFERRED VIEW
    APPLSYS AQ$WF_JAVA_ERROR VIEW
    APPLSYS AQ$WF_JMS_IN VIEW
    APPLSYS AQ$WF_JMS_JMS_OUT VIEW
    APPLSYS AQ$WF_JMS_OUT VIEW
    APPLSYS AQ$WF_NOTIFICATION_IN VIEW
    APPLSYS AQ$WF_NOTIFICATION_OUT VIEW
    APPLSYS AQ$WF_WS_JMS_IN VIEW
    APPLSYS AQ$WF_WS_JMS_OUT VIEW
    APPLSYS AQ$WF_WS_SAMPLE VIEW
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS AMV_IMT_PUB PACKAGE
    APPS AMV_IMT_PUB PACKAGE BODY
    APPS CSS_DEF_IMT_PUB PACKAGE
    APPS CSS_DEF_IMT_PUB PACKAGE BODY
    APPS CS_KB_CONC_PROG_PKG PACKAGE BODY
    APPS CS_SR_ADDR_SYNC_INDEX_PKG PACKAGE BODY
    APPS CS_SR_SYNC_INDEX_PKG PACKAGE BODY
    APPS EDR_INDEXED_XML_UTIL PACKAGE BODY
    APPS EDW_GEOGRAPHY_M_C PACKAGE BODY
    APPS EDW_HR_AGE_BAND_M_C PACKAGE BODY
    APPS EDW_HR_ASG_CHNG_M_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS EDW_HR_ASSGNMNT_M_C PACKAGE BODY
    APPS EDW_HR_GRADE_M_C PACKAGE BODY
    APPS EDW_HR_JOBS_M_C PACKAGE BODY
    APPS EDW_HR_MVMNT_TYP_M_C PACKAGE BODY
    APPS EDW_HR_POSITION_M_C PACKAGE BODY
    APPS EDW_HR_PRSN_TYP_M_C PACKAGE BODY
    APPS EDW_HR_REASON_M_C PACKAGE BODY
    APPS EDW_HR_REC_ACT_M_C PACKAGE BODY
    APPS EDW_HR_RQN_VCNCY_M_C PACKAGE BODY
    APPS EDW_HR_SERVICE_M_C PACKAGE BODY
    APPS EDW_MRP_DM_CLS_M_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS EDW_MRP_FORECAST_M_C PACKAGE BODY
    APPS EDW_MRP_PLAN_M_C PACKAGE BODY
    APPS EDW_MTL_INVENTORY_LOC_M_C PACKAGE BODY
    APPS EDW_OPI_ACTV_M_C PACKAGE BODY
    APPS EDW_OPI_LOT_M_C PACKAGE BODY
    APPS EDW_OPI_OPRN_M_C PACKAGE BODY
    APPS EDW_OPI_PRDL_M_C PACKAGE BODY
    APPS EDW_ORGANIZATION_M_C PACKAGE BODY
    APPS EDW_POA_LN_TYPE_M_C PACKAGE BODY
    APPS EDW_POA_SPLRITEM_M_C PACKAGE BODY
    APPS EE PROCEDURE
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS EGO_ITEM_TEXT_PVT PACKAGE BODY
    APPS EGO_ITEM_TEXT_UTIL PACKAGE
    APPS EGO_ITEM_TEXT_UTIL PACKAGE BODY
    APPS EGO_MTL_SYSTEM_ITEMS_B_TR1 TRIGGER
    APPS EGO_MTL_SYSTEM_ITEMS_TL_TR1 TRIGGER
    APPS EMAIL PROCEDURE
    APPS EMAIL PACKAGE BODY
    APPS ENI_DENORM_HRCHY PACKAGE BODY
    APPS FII_AP_HOLD_DATA_F_C PACKAGE BODY
    APPS FII_AP_INV_LINES_F_C PACKAGE BODY
    APPS FII_AP_INV_ON_HOLD_F_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS FII_AP_INV_PAYMTS_F_C PACKAGE BODY
    APPS FII_AP_SCH_PAYMTS_F_C PACKAGE BODY
    APPS FII_AR_E_REVENUE_F_C PACKAGE BODY
    APPS FII_AR_TRX_DIST_F_C PACKAGE BODY
    APPS FII_PA_BUDGET_F_C PACKAGE BODY
    APPS FII_PA_COST_F_C PACKAGE BODY
    APPS FII_PA_REVENUE_F_C PACKAGE BODY
    APPS FII_PA_UOM_CONV_F_C PACKAGE BODY
    APPS FND_IMUTL PACKAGE BODY
    APPS FND_TS_MIG_UTIL PACKAGE BODY
    APPS HR_EDW_WRK_CMPSTN_F_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS HZ_DQM_SYNC PACKAGE BODY
    APPS HZ_PARTY_STAGE PACKAGE BODY
    APPS HZ_PURGE PACKAGE BODY
    APPS IBC_IMT_PUB PACKAGE
    APPS IBC_IMT_PUB PACKAGE BODY
    APPS IBE_SEARCHUPDATE_PVT PACKAGE BODY
    APPS IBE_SEARCH_SETUP_PVT PACKAGE BODY
    APPS ICX_POR_INTERMEDIA_INDEX PACKAGE BODY
    APPS IRC_DOCUMENT_API PACKAGE BODY
    APPS IRC_POSTING_CONTENT_API PACKAGE BODY
    APPS ISC_EDW_BOOK_SUM1_F_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS JTA_NOTES_IMT_PUB PACKAGE
    APPS JTA_NOTES_IMT_PUB PACKAGE BODY
    APPS JTF_AMVIMT_PUB PACKAGE
    APPS JTF_AMVIMT_PUB PACKAGE BODY
    APPS JTF_TASK_IDX_UTL PACKAGE BODY
    APPS OKC_ARTICLE_KEYWORD_PVT PACKAGE BODY
    APPS OKC_TEMPLATE_KEYWORD_PVT PACKAGE BODY
    APPS OPI_EDW_COGS_F_C PACKAGE BODY
    APPS OPI_EDW_OPMCOGS_F_C PACKAGE BODY
    APPS OPI_EDW_OPMINV_DAILY_STAT_F_C PACKAGE BODY
    APPS OPI_EDW_OPM_JOB_DETAIL_F_C PACKAGE BODY
    OWNER OBJECT_NAME OBJECT_TYPE
    APPS OPI_EDW_OPM_JOB_RSRC_F_C PACKAGE BODY
    APPS OPI_EDW_UOM_CONV_F_C PACKAGE BODY
    APPS RA_CUSTOMER_TEXT_PKG PACKAGE BODY
    APPS WF_DIAGNOSTICS PACKAGE BODY
    ODM AQ$DMS_QUEUE_TABLE VIEW
    OWAPUB DEBUG_CARTX PACKAGE BODY
    OWAPUB OWA_OPT_LOCK PACKAGE BODY
    OWAPUB OWA_UTIL PACKAGE BODY
    XXQUDRA XXQUDRA_GETPHONE FUNCTION
    97 rows selected.
    Best Regards,
    Suresh Gelda

    Hi Sawwan,
    I created the dblink.
    SQL> select * from user_db_links;
    no rows selected
    SQL> create database link APPS_TO_APPS connect to
    apps identified by apps
    using
    '(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=aqherp)
    (Port=1526))(CONNECT_DATA=(SID=PROD)))'
    / 2 3 4 5 6
    Database link created.
    SQL> alter view APPLSYS.AQ$WF_CONTROL compile;
    Warning: View altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.EDW_GEOGRAPHY_M_C:
    LINE/COL ERROR
    109/4 PL/SQL: SQL Statement ignored
    147/9 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_LOCATION_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    211/4 PL/SQL: SQL Statement ignored
    259/7 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_POSTCODE_CITY_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    LINE/COL ERROR
    304/4 PL/SQL: SQL Statement ignored
    349/9 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_CITY_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    394/4 PL/SQL: SQL Statement ignored
    439/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_POSTCODE_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    LINE/COL ERROR
    ORA-12154: TNS:could not resolve service name
    492/4 PL/SQL: SQL Statement ignored
    537/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_STATE_REGION_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    583/4 PL/SQL: SQL Statement ignored
    628/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_STATE_LCV@APPS_TO_APPS.QUDRAH.COM
    LINE/COL ERROR
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    681/4 PL/SQL: SQL Statement ignored
    726/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_REGION_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    771/4 PL/SQL: SQL Statement ignored
    816/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    LINE/COL ERROR
    APPS.EDW_GEOG_COUNTRY_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    871/3 PL/SQL: SQL Statement ignored
    902/8 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_AREA2_LCV@APPS_TO_APPS.QUDRAH.COM
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name
    953/4 PL/SQL: SQL Statement ignored
    LINE/COL ERROR
    983/9 PL/SQL: ORA-04052: error occurred when looking up remote object
    APPS.EDW_GEOG_AREA1_LCV@APPS_TO_APPS.QUDRAH.COM
    Thanks
    ORA-00604: error occurred at recursive SQL level 3
    ORA-12154: TNS:could not resolve service name

  • Compile invalid objects in apps schema

    i make compiled the apps schema by
    adadmin,utlrp.sql,compiled manual but still i am getting INVALID objects .. how to compile these objects ?
    Below is the output
    SQL>
    column owner format A9
    column object_name format A31
    column object_type format A15
    column last_ddl_time format A10
    spool invalids.lst
    select OWNER, OBJECT_NAME,OBJECT_TYPE,LAST_DDL_TIME
    from dba_objects where status='INVALID'
    order by owner;
    OWNER OBJECT_NAME OBJECT_TYPE LAST_DDL_T
    APPS FV_FACTS_TBAL_TRANSACTIONS PACKAGE BODY 03-MAR-13
    APPS IGI_IAC_REINSTATE_PKG PACKAGE BODY 03-MAR-13
    APPS IGI_IAC_RETIREMENT PACKAGE BODY 03-MAR-13
    APPS CST_PERIODIC_ABSORPTION_PROC PACKAGE BODY 03-MAR-13
    APPS FV_SLA_UTL_PROCESSING_PKG PACKAGE BODY 03-MAR-13
    APPS FV_CCR_UTIL_PVT PACKAGE BODY 03-MAR-13
    APPS PSA_AP_BC_PVT PACKAGE BODY 03-MAR-13
    APPS XLA_00200_AAD_S_000012_PKG PACKAGE BODY 03-MAR-13
    APPS AR_RECEIPT_UPDATE_API_PUB PACKAGE BODY 03-MAR-13
    APPS AR_AUTOREC_API PACKAGE BODY 03-MAR-13
    10 rows selected.
    SQL> alter package APPS.FV_FACTS_TBAL_TRANSACTIONS compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_FACTS_TBAL_TRANSACTIONS:
    LINE/COL ERROR
    1742/6 PL/SQL: SQL Statement ignored
    1743/4 PL/SQL: ORA-00918: column ambiguously defined
    SQL> alter package APPS.IGI_IAC_REINSTATE_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.IGI_IAC_REINSTATE_PKG:
    LINE/COL ERROR
    3470/3 PL/SQL: Statement ignored
    3470/10 PLS-00306: wrong number or types of arguments in call to
    'GET_ASSET_RETIRE_REC'
    SQL> alter package APPS.IGI_IAC_RETIREMENT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.IGI_IAC_RETIREMENT:
    LINE/COL ERROR
    4247/10 PL/SQL: Statement ignored
    4247/18 PLS-00306: wrong number or types of arguments in call to
    'GET_ASSET_RETIRE_REC'
    SQL> alter package APPS.CST_PERIODIC_ABSORPTION_PROC compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.CST_PERIODIC_ABSORPTION_PROC:
    LINE/COL ERROR
    3901/3 PL/SQL: Statement ignored
    3901/3 PLS-00306: wrong number or types of arguments in call to
    'ITERATION_PROCESS'
    SQL> alter package APPS.FV_SLA_UTL_PROCESSING_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_SLA_UTL_PROCESSING_PKG:
    LINE/COL ERROR
    49/7 PL/SQL: Statement ignored
    49/22 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    SQL> alter package APPS.FV_CCR_UTIL_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_CCR_UTIL_PVT:
    LINE/COL ERROR
    2926/3 PL/SQL: Statement ignored
    2926/19 PLS-00302: component 'CONTACT_NAME' must be declared
    2928/4 PL/SQL: Statement ignored
    2928/20 PLS-00302: component 'CONTACT_PHONE' must be declared
    2929/8 PL/SQL: Statement ignored
    2929/24 PLS-00302: component 'CONTACT_PHONE' must be declared
    2931/3 PL/SQL: Statement ignored
    2931/19 PLS-00302: component 'CONTACT_EMAIL' must be declared
    2932/3 PL/SQL: Statement ignored
    2932/19 PLS-00302: component 'CONTACT_FAX' must be declared
    SQL> alter package APPS.PSA_AP_BC_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.PSA_AP_BC_PVT:
    LINE/COL ERROR
    291/11 PL/SQL: Statement ignored
    291/26 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    346/13 PL/SQL: Statement ignored
    346/28 PLS-00302: component 'PSA_XLA_ERROR' must be declared
    835/7 PL/SQL: Statement ignored
    835/12 PLS-00313: 'ISPREPAYDIST' not declared in this scope
    1002/15 PL/SQL: Statement ignored
    1002/34 PLS-00201: identifier 'J' must be declared
    1014/13 PL/SQL: Statement ignored
    1014/48 PLS-00201: identifier 'I' must be declared
    1020/13 PL/SQL: Statement ignored
    LINE/COL ERROR
    1020/43 PLS-00201: identifier 'I' must be declared
    1022/13 PL/SQL: Statement ignored
    1024/73 PLS-00201: identifier 'I' must be declared
    1055/11 PL/SQL: Statement ignored
    1055/48 PLS-00201: identifier 'I' must be declared
    1057/11 PL/SQL: SQL Statement ignored
    1057/51 PLS-00201: identifier 'I' must be declared
    1080/80 PLS-00201: identifier 'I' must be declared
    1080/80 PLS-00201: identifier 'I' must be declared
    SQL> alter package APPS.XLA_00200_AAD_S_000012_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_S_000012_PKG:
    LINE/COL ERROR
    157514/2 PLS-00103: Encountered the symbol "THEN" when expecting one of
    the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set
    specification>
    <an alternatively-quote
    LINE/COL ERROR
    SQL> alter package APPS.AR_RECEIPT_UPDATE_API_PUB compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_RECEIPT_UPDATE_API_PUB:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00201: identifier 'AR_RECEIPT_UPDATE_API_PUB' must be
    declared
    1/14 PLS-00304: cannot compile body of 'AR_RECEIPT_UPDATE_API_PUB'
    without its specification
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_AUTOREC_API:
    LINE/COL ERROR
    2724/9 PL/SQL: SQL Statement ignored
    2740/27 PL/SQL: ORA-00904: "EXT"."SEQ_TYPE_LAST": invalid identifier
    note:application v12.0.4 database 10.2.3

    SQL> alter package APPS.FV_FACTS_TBAL_TRANSACTIONS compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_FACTS_TBAL_TRANSACTIONS:
    LINE/COL ERROR
    1742/6 PL/SQL: SQL Statement ignored
    1743/4 PL/SQL: ORA-00918: column ambiguously defined
    SQL> alter package APPS.CST_PERIODIC_ABSORPTION_PROC compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.CST_PERIODIC_ABSORPTION_PROC:
    LINE/COL ERROR
    3901/3 PL/SQL: Statement ignored
    3901/3 PLS-00306: wrong number or types of arguments in call to
    'ITERATION_PROCESS'
    SQL> alter package APPS.AR_RECEIPT_UPDATE_API_PUB compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.AR_RECEIPT_UPDATE_API_PUB:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00201: identifier 'AR_RECEIPT_UPDATE_API_PUB' must be
    declared
    1/14 PLS-00304: cannot compile body of 'AR_RECEIPT_UPDATE_API_PUB'
    without its specification
    SQL> alter package APPS.XLA_00200_AAD_S_000012_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_S_000012_PKG:
    LINE/COL ERROR
    157514/2 PLS-00103: Encountered the symbol "THEN" when expecting one of
    the following:
    ( - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> avg
    count current exists max min prior sql stddev sum variance
    execute forall merge time timestamp interval date
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe
    <an alternatively-quoted string literal with character set
    specification>
    <an alternatively-quote
    LINE/COL ERROR
    SQL> alter package APPS.FV_CCR_UTIL_PVT compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show err
    Errors for PACKAGE BODY APPS.FV_CCR_UTIL_PVT:
    LINE/COL ERROR
    2926/3 PL/SQL: Statement ignored
    2926/19 PLS-00302: component 'CONTACT_NAME' must be declared
    2928/4 PL/SQL: Statement ignored
    2928/20 PLS-00302: component 'CONTACT_PHONE' must be declared
    2929/8 PL/SQL: Statement ignored
    2929/24 PLS-00302: component 'CONTACT_PHONE' must be declared
    2931/3 PL/SQL: Statement ignored
    2931/19 PLS-00302: component 'CONTACT_EMAIL' must be declared
    2932/3 PL/SQL: Statement ignored
    2932/19 PLS-00302: component 'CONTACT_FAX' must be declared

  • Many invalid objects found after new install the R12 vision demo (12.1.1)

    In AIX Server,
    I found many invalid objects after new install the R12 vision demo (12.1.1) with DB v11.1.0.7, can I drop the following invalid objects then upgrade to R12.1.3 ?
    OWNER OBJECT_NAME OBJECT_TYPE STATUS
    APPS XLA_00707_AAD_C_000026_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000017_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000016_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000032_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000034_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000039_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_S_000041_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000020_PKG PACKAGE BODY INVALID
    RE RE_PROFILER PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000018_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000021_PKG PACKAGE BODY INVALID
    APPS XLA_00555_AAD_S_000014_PKG PACKAGE BODY INVALID
    APPS XLA_00555_AAD_C_000015_PKG PACKAGE BODY INVALID
    APPS XLA_00200_AAD_C_000022_PKG PACKAGE BODY INVALID
    APPS XLA_00140_AAD_S_000036_PKG PACKAGE BODY INVALID
    APPS FSAH_DUPLICATE_PKG PACKAGE BODY INVALID
    APPS XLA_00707_AAD_C_000044_PKG PACKAGE BODY INVALID
    APPS MSD_DEM_OBI_DEMANTRA_MV MATERIALIZED VIEW INVALID
    18 rows selected.
    SQL> alter package XLA_00707_AAD_C_000026_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY XLA_00707_AAD_C_000026_PKG:
    LINE/COL ERROR
    1/49 PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    is as compress compiled wrapped
    The symbol "compress" was substituted for "end-of-file" to continue.
    SQL> alter package RE.RE_PROFILER compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY RE.RE_PROFILER:
    LINE/COL ERROR
    1180/13 PL/SQL: SQL Statement ignored
    1180/13 PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    1181/32 PLS-00440: FORALL bulk IN-bind variables cannot be used here
    1926/9 PL/SQL: SQL Statement ignored
    1926/9 PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    SQL> alter package FSAH_DUPLICATE_PKG compile body;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY FSAH_DUPLICATE_PKG:
    LINE/COL ERROR
    7/12 PLS-00341: declaration of cursor 'C1' is incomplete or malformed
    8/7 PL/SQL: SQL Statement ignored
    9/14 PL/SQL: ORA-00942: table or view does not exist
    12/17 PL/SQL: Item ignored
    16/7 PL/SQL: SQL Statement ignored
    16/71 PL/SQL: ORA-00942: table or view does not exist
    22/13 PL/SQL: SQL Statement ignored
    22/27 PLS-00320: the declaration of the type of this expression is incomplete or malformed
    Edited by: SamCH on 2013年2月4日 下午11:19

    Hi Hussein,
    Thanks for your reply again, the compile error as below
    e.g.
    show error
    SQL> ALTER PACKAGE APPS.XLA_00707_AAD_C_000026_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00707_AAD_C_000026_PKG:
    LINE/COL ERROR
    1/49 PLS-00103: Encountered the symbol "end-of-file" when expecting one of the following:
    is as compress compiled wrapped
    The symbol "compress" was substituted for "end-of-file" to continue.
    SQL> ALTER PACKAGE APPS.XLA_00200_AAD_C_000017_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_C_000017_PKG:
    LINE/COL ERROR
    131072/2 PLS-00103: Encountered the symbol "end-of-file" when expecting
    one of the following:
    ( begin case declare end exit for goto if loop mod null
    pragma raise return select update while with <an identifier>
    <a double-quoted delimited-identifier> <a bind variable> <<
    continue close current delete fetch lock insert open rollback
    savepoint set sql execute commit forall merge pipe purge
    SQL> ALTER PACKAGE APPS.XLA_00200_AAD_S_000032_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00200_AAD_S_000032_PKG:
    LINE/COL ERROR
    131072/7 PLS-00103: Encountered the symbol "end-of-file" when expecting
    2 one of the following:
    . ( ) , * % & = - + < / > at in is mod remainder not rem
    <an exponent (**)> <> or != or ~= >= <= <> and or like like2
    like4 likec between || multiset member submultiset
    SQL> ALTER PACKAGE RE.RE_PROFILER COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY RE.RE_PROFILER:
    LINE/COL ERROR
    1180/13 PL/SQL: SQL Statement ignored
    1180/13 PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    1181/32 PLS-00440: FORALL bulk IN-bind variables cannot be used here
    1926/9 PL/SQL: SQL Statement ignored
    1926/9 PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
    SQL> ALTER PACKAGE APPS.XLA_00555_AAD_S_000014_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00555_AAD_S_000014_PKG:
    LINE/COL ERROR
    131072/5 PLS-00103: Encountered the symbol "end-of-file" when expecting
    7 one of the following:
    begin function pragma procedure subtype type <an identifier>
    <a double-quoted delimited-identifier> current cursor delete exists prior
    SQL> ALTER PACKAGE APPS.FSAH_DUPLICATE_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.FSAH_DUPLICATE_PKG:
    LINE/COL ERROR
    7/12 PLS-00341: declaration of cursor 'C1' is incomplete or malformed
    8/7 PL/SQL: SQL Statement ignored
    9/14 PL/SQL: ORA-00942: table or view does not exist
    12/17 PL/SQL: Item ignored
    16/7 PL/SQL: SQL Statement ignored
    16/71 PL/SQL: ORA-00942: table or view does not exist
    22/13 PL/SQL: SQL Statement ignored
    22/27 PLS-00320: the declaration of the type of this expression is incomplete or malformed
    SQL> ALTER PACKAGE APPS.XLA_00707_AAD_C_000044_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.XLA_00707_AAD_C_000044_PKG:
    LINE/COL ERROR
    201713/1 PL/SQL: SQL Statement ignored
    201826/1 PL/SQL: ORA-00904: "CST_XLA_INV_REF_V"."TRANSACTION_SOURCE_ID":
    30 invalid identifier
    202147/1 PL/SQL: SQL Statement ignored
    202191/1 PL/SQL: ORA-00904: "CST_XLA_INV_REF_V"."TRANSACTION_SOURCE_ID":
    30 invalid identifier
    202973/5 PL/SQL: Statement ignored
    202973/2 PLS-00364: loop index variable 'HEADER_RECORD' use is invalid
    7
    SQL> ALTER PACKAGE APPS.POS_AP_SUPPLIER_BO_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.POS_AP_SUPPLIER_BO_PKG:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00304: cannot compile body of 'POS_AP_SUPPLIER_BO_PKG' without its specification
    1/14 PLS-00905: object APPS.POS_AP_SUPPLIER_BO_PKG is invalid
    SQL> ALTER PACKAGE APPS.POS_AP_SUPPLIER_BO_PKG COMPILE ;
    Warning: Package altered with compilation errors.
    SQL> show error
    Errors for PACKAGE APPS.POS_AP_SUPPLIER_BO_PKG:
    LINE/COL ERROR
    3/3 PL/SQL: Declaration ignored
    7/32 PLS-00201: identifier 'POS_AP_SUPPLIER_BO' must be declared
    28/3 PL/SQL: Declaration ignored
    35/40 PLS-00201: identifier 'POS_AP_SUPPLIER_BO' must be declared
    SQL> ALTER PACKAGE APPS.POS_BANK_ACCOUNT_BO_PKG COMPILE BODY;
    Warning: Package Body altered with compilation errors.
    SQL> show error
    Errors for PACKAGE BODY APPS.POS_BANK_ACCOUNT_BO_PKG:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00304: cannot compile body of 'POS_BANK_ACCOUNT_BO_PKG' without its specification
    1/14 PLS-00905: object APPS.POS_BANK_ACCOUNT_BO_PKG is invalid
    SQL> ALTER PACKAGE APPS.POS_BANK_ACCOUNT_BO_PKG COMPILE ;
    Warning: Package altered with compilation errors.
    SQL> show error
    Errors for PACKAGE APPS.POS_BANK_ACCOUNT_BO_PKG:
    LINE/COL ERROR
    4/6 PL/SQL: Declaration ignored
    9/80 PLS-00201: identifier 'POS_BANK_ACCOUNT_BO_TBL' must be declared
    13/5 PL/SQL: Declaration ignored
    19/69 PLS-00201: identifier 'POS_BANK_ACCOUNT_BO_TBL' must be declared

  • BMP question : got javax.ejb.EJBException error Object state not saved

    Could anybody please help me? I could not figure out what i did wrong.
    I got the javax.ejb.EJBException error: Object state not saved
    when i test the getname() method for findByPrimaryKey() and findAll() methods.
    Here is my code:
    package org.school.idxc;
    import javax.sql.*;
    import javax.naming.*;
    import javax.ejb.*;
    import javax.sql.*;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Enumeration;
    import java.util.Vector;
    * Bean implementation class for Enterprise Bean: status
    public class statusBean implements javax.ejb.EntityBean {
         private javax.ejb.EntityContext myEntityCtx;
         private int id;
         private String name;
         private DataSource ds;
         private String dbname = "jdbc/idxc";
         private Connection con;
         * ejbActivate
    public void ejbActivate() {
         * ejbLoad
         public void ejbLoad() {
         System.out.println("Entering EJBLoad");
         try
         Integer primaryKey = (Integer) myEntityCtx.getPrimaryKey();
         String sqlstmt = "select id, name from from status where id =?";
         con = ds.getConnection();
         PreparedStatement stmt = con.prepareStatement(sqlstmt);
         stmt.setInt (1,primaryKey.intValue());
         ResultSet rs = stmt.executeQuery();
         if (rs.next())
              this.id = rs.getInt(1);
              this.name = rs.getString (2).trim();
              stmt.close();
         } // if
         else
              stmt.close();
              throw new NoSuchEntityException ("Invalid id " + id);
         }// else
              } // try
         catch (SQLException e)
         System.out.println("EJBLOad : " + e.getMessage());
              } // catch
         finally
         try
              if (con != null)
              con.close();
              }// try
         catch (SQLException e)
              System.out.println("EJBLOad finally" + e.getMessage());
              } // catch
              }// finally
         * ejbPassivate
         public void ejbPassivate() {
         * ejbRemove
         public void ejbRemove() throws javax.ejb.RemoveException {
         System.out.println ("Entering ejb Removed");
         try
         String sqlstmt = "delete from status where id=" + id;
         con = ds.getConnection();
         Statement stmt = con.createStatement();
         stmt.executeUpdate(sqlstmt);
         stmt.close();
         }// try
         catch (SQLException e)
         System.out.println("Ejb Remove" + e.getMessage());     
         } // catch
         finally
         try
              if (con!=null)
                   con.close();
         }// try
         catch (SQLException e)
              System.out.println ("EJBRemoved " + e.getMessage());
         } // catch
         } // finally
         * ejbStore
         public void ejbStore() {
         System.out.println("Entering the ejbStore");
         try
    String sqlstmt = "update status set id=" + id + ",name='" + name + "' where id=" + id;
         con = ds.getConnection();
         Statement stmt = con.createStatement();
         if (stmt.executeUpdate(sqlstmt) != 1)
              throw new EJBException ("Object state not saved");
    stmt.close();     
         } // try
         catch (SQLException e)
              System.out.println ("EJBStore : " + e.getMessage());
         }// catch
         finally
         try
              if (con != null)
              con.close();
         } // try
         catch(SQLException e)
              System.out.println ("EJBStore finally " + e.getMessage());
         } // catch
         } // finally
         * getEntityContext
         public javax.ejb.EntityContext getEntityContext() {
              return myEntityCtx;
         * setEntityContext
         public void setEntityContext(javax.ejb.EntityContext ctx) {
              myEntityCtx = ctx;
              try
              InitialContext initial = new InitialContext();
              ds = (DataSource)initial.lookup(dbname);
    } // try
              catch (NamingException e)
              throw new EJBException ("set Entity context : Invalid database");     
              }// catch
         * unsetEntityContext
         public void unsetEntityContext() {
              myEntityCtx = null;
         * ejbCreate
         public Integer ejbCreate(Integer key, String name) throws javax.ejb.CreateException {
    this.id = key.intValue();
    this.name = name;
              System.out.println ("Entering ejbCreated!!!");
              try
              String sqlstmt = "insert into status(id,name) values (" + id + ",'" + (name == null ? "" : name) + "')";
              con = ds.getConnection();
              Statement stmt = con.createStatement();
              stmt.executeUpdate(sqlstmt);
              stmt.close();
              }// try
              catch (SQLException e)
              System.out.println("EJBCreate : SQLEXception ");     
              }// catch
              finally
              try
              if (con!=null)
                   con.close();
              }// try
              catch (SQLException e)
              System.out.println ("EJB Created Finally : SQLException");
              e.getMessage();
              } // catch
              }// finally
              this.id = key.intValue();
              this.name = name;
              return key ;
         * ejbPostCreate
         public void ejbPostCreate(Integer id, String name) throws javax.ejb.CreateException {
         * ejbFindByPrimaryKey
         public Integer ejbFindByPrimaryKey(
              Integer key) throws javax.ejb.FinderException {
              try
              String sqlstmt = "select id from status where id=" + key.intValue();
              con = ds.getConnection();
              Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery(sqlstmt);
              if (!rs.next())
              throw new ObjectNotFoundException();     
              } // if
              rs.close();
              stmt.close();
              } // try
              catch (SQLException e)
              System.out.println ("EJBFindBYPrimaryKey " + e.getMessage());     
              } // catch
              finally
              try
              if (con!=null)
                   con.close();
              }// try
              catch (SQLException e)
              System.out.println ("EJB Find by primary key" + e.getMessage());
              }// catch
              }// finally
              return key;
         * @return Returns the name.
         public String getName() {
              return this.name;
         * @return Returns id
         public int getId() {
              return this.id;
         * @param name The name to set.
         public void setName(String xname) {
              this.name = xname;
         * ejbFindByLastnameContaining
         public Enumeration ejbFindAllNamne () throws javax.ejb.FinderException
         try
         String sqlstmt = "select id from status order by id";
         con = ds.getConnection();
         Statement s = con.createStatement();
         ResultSet rs = s.executeQuery(sqlstmt);
         Vector keys = new Vector();
         while (rs.next())
              keys.add(new Integer(rs.getInt(1)));
         }// while
         rs.close();
         s.close();
         con.close();
         return keys.elements();
         } // try
         catch (SQLException e)
              throw new FinderException (e.toString());
         } // catch
    }

    Hi,
    if you look at your error message you will see the problem. In your code you've missed to implement
    public void ejbPassivate {}
    so your code looks like this
    import java.lang.Object;
    import javax.ejb.SessionBean;
    import javax.ejb.SessionContext;
    import java.rmi.RemoteException;
    import java.lang.Math;
    import java.util.Random;
    import java.io.*;
    /** * Title: * Description: * Copyright: Copyright (c) 2001 * Company: * @author * @version 1.0 */
    public class DiceEJB implements SessionBean, Serializable
         public int[] Roll()
              Random rng = new Random();
              int[] diceArray = new int[5];
              for(int i =0; i < diceArray.length;i++)
                   diceArray[i] = (Math.abs (rng.nextInt()) % 6) +1;
              return diceArray;
         public DiceEJB(){}
         public void ejbCreate() {}
         public void ejbRemove() {}
         public void ejbActivate() {}
         public void ejbPassivate() {}
         public void setSessionContext (SessionContext sc)
         private void writeObject(ObjectOutputStream oos) throws IOException
              oos.defaultWriteObject();
         private void readObject(ObjectInputStream ois) throws ClassNotFoundException, IOException
              ois.defaultReadObject();
    bye

  • Sorry to ask about Invalid Cursor State again...

    I am getting this error which is really frustrating because I can't figure out why it is happening.
    I am connecting to a csv file using jdbc:odbc Microsoft Text Driver.
    I instantiate the ReadFortySite class in the GUI class.I then click on a jList in my main GUI and this passes the selected object to the code below. It works fine the first time but if I try to select another jList element, it throws the Invalid Cursor State error..Any Ideas??
    public class ReadFortySite {
    private String file;
    private String path = null;
    private Connection conn = null;
    private Statement stmt;
    private ResultSet results, col_results;
    private ResultSetMetaData rsmd;
    private ArrayList test_names,columnHeads;
    private Object List_Selection;
    /** Creates a new instance of ReadFortySite */
    public ReadFortySite(String file) {
    this.file = file;
    ReadFile();
    public void ReadFile()
    try{
    //path = file.getPath();
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    // create a connection.
    /* NEED 2 TAKE HARD CODED VALUE OF E: OUT!!!! */
    conn = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=E:/;Extensions=csv");
    // create a Statement object to execute the query with
    stmt = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY);
    // Select everything from the specified csv file
    results = stmt.executeQuery("SELECT * from ("+file+")");
    //ArrayLists used to manipulate and hold test name values
    columnHeads = new ArrayList();
    // get column heads
    rsmd = results.getMetaData();
    for ( int i = 4; i <= rsmd.getColumnCount(); i++ ) {
    columnHeads.add( rsmd.getColumnName( i ) );
    }//end try
    catch(Exception e)
    System.out.println("Error " + e);
    }//end method
    public ArrayList getArrayList()
    return columnHeads;
    public ArrayList getTestValues(Object obj){
    ArrayList TestValues = new ArrayList();
    try{
    List_Selection = obj;
    //have an object representing the value selected
    //need to get test results associated with that value
    for(int i=1;i<rsmd.getColumnCount()+1;i++)
    if(obj.equals((Object)rsmd.getColumnName(i)))
    while(results.next()){
    String vals = results.getString((String)obj);
    TestValues.add(vals);
    //System.out.println(TestValues.toString());
    }//end while
    }//end for
    }//end try
    catch (SQLException sqle)
    System.out.println("Error " + sqle);
    return TestValues;
    }

    You should use code formatting when you post code, and you should also post the stack trace that you get when you run the code.
    /Kaj

  • Invalid object  name 'SVERS'

    Hello,
    When trying to perform an Upgrade of a BW3.0B to BW3.5, Prepare Phase, an error occurs in script MSSCONCHECK.SQL.
    - Msg 208, Level 16, State 1, Server SRVDW, Line 1
    Invalid object name 'SVERS'.
    Can anyone help?
    Thank you.
    Regards,
    PT

    I have similar eror message during upgrade from ECC 5.0 to ECC 6.0 on MS SQL 2005. The output from my sapup is as shown below:
    >> 07:39:34  PREPARE: START OF PHASE INITPUT_PRE
    Supply the following information:
    Confirm the name of your SAP system: [AWD]
    SAP SYSTEM ID     =
    The hostname of your central SAP server: [SERVER01]
    SAP SYSTEM HOST   =
    Enter the SAP instance number: [02]
    INSTANCE NUMBER   =
    The system identifier of your database: [AWD]
    DATABASE ID       =
    The hostname of your database server: [SERVER01]
    DATABASE HOST     =
    Executing script MSSCONCHECK ...
    MSSCONCHECK: Connection check failed for the user specified
          SAPup message
    SAPup> Errors were found in the logfile MSSCONCHECK.LOG
           after execution of the script MSSCONCHECK.SQL.
    SAPup> SAPup cannot proceed until these errors are fixed.
           Please, examine MSSCONCHECK.LOG, fix reported errors and then call R3
    gain
                - "continue"
                - "cancel"
    Enter one of these options [continue] :=
          SAPup message
    SAPup> SQL-scripts must be executed by the NT user account SERVER01\awdadm.
           Check your installation of the integrated security procedure
           on host SERVER01 and make sure that a login for the NT user
           SERVER01\awdadm exists with the following rules:
           - user SERVER01\awdadm owns the role System Administrators
           - user SERVER01\awdadm has the default database AWD
    SAPup> Integrated security installed correctly?
                - "no"
                - "yes"
    Enter one of these options [no] := yes
    Executing script MSSCONCHECK ...
    I'm currently running both Solution Manager 4.0 and mySAP ERP 2004 SR1 on the same box in Development environment.
    Has anyone gotten a breakthrough on this error messages? Mode set to both SQL and Windows Authentication, can do selct * from SVERS for solution manager database but not for ECC 5.0.
    Urgent!!!!

  • Error 25009. Invalid object mms_management-agent hr=0x80230406

    Hi There,
    While upgrading FIM 2010 to 2010 R2 SP1, we have encountered an Error 25009. Invalid object mms_management-agent <hr=0x80230406>. Have tried all the articles but the this is not with permissions. Since I am trying on test environment, we have given
    more than necessary permissions.
    Please help.

    Oh!! This took me 1 full day to figure out.
    Unable to start FIM sync service.
    I was looking through the event viewer and noticed an issue with the incompatible database state. 
    Then I thought, why not re install FIM sync service to have the database upgraded properly.
    It worked like a charm!!
    Now my FIM service is started automatically.

  • Import-CMDriver fails with "Import-CMDriver : Invalid object path "

    I am attempting to use Import-CMDriver but it fails with:
    "Import-CMDriver : Invalid object path "
    I can see that it is adding the driver to the catalog, but it is failing to add it to the package and I can't figure out why.  I have tried with different inf files and deleted and created different packages.  It just doesn't work.  Here is
    the command that I am running.  I don't see any reason why it wouldn't work.
     Set-Location abc:
        foreach($iniFile in $infFilesToDeploy){
            $cmDrivePackage = Get-CMDriverPackage -Name "PackageName"
            $cmDriverCat = Get-CMCategory -CategoryType "DriverCategories" -Name "PackageName"
            $cmDrivePackage
            $iniFile
            Import-CMDriver -UncFileLocation $iniFile -ImportDuplicateDriverOption AppendCategory -AdministrativeCategory $cmDriverCat -EnableAndAllowInstall $True -DriverPackage $cmDrivePackage -UpdateDistributionPointsforDriverPackage $false
    As I said, it is seeing the ini file since it it importing it into the catalog.  It just won't add it to the package.  It also leaves the package in a locked state if I try to modify it after I run this command.
    Anyone have any ideas why this command doesn't function?
    Thank you for your time.

    Hi,
    What's the version of your SCCM? I ran this command "Import-CMDriver -UncFileLocation... " on my SCCM 2012 R2 CU1. I didn't get the error above.
    I also tried the command below, it ran successful.
     $d=Get-CMDriverPackage -Id "..."
     Import-CMDriver -UncFileLocation "\\..." -DriverPackage $d -EnableAndAllowInstall $true
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • HOW TO REVIEW STATSPACK REPORT

    dear all i have sucessfully done with statspack i know how to analyse with 1.Instance Efficiency Percentages (Target 100%) 2.Top 5 Timed Events 3. Buffer Gets Executions Gets per Exec %Total Time 4.tablespace but i want to explore more on statspack p

  • Best Way to Connect my REAL electric guitar to my computer? Please Help

    Anyone know how to Connect my REAL electric guitar to my computer? Please Help, thanks!

  • Drag and drop into subject line

    I installed OS 10.4.5 and use Tiger mail. I noticed that unlike Panther mail, in Tiger mail draging text from the message to the subject box doesn't work. Sure you can copy and paste but in old mail, you drag and drop. It's absent in Tiger. You can d

  • Styling Error Messages

    What is the best way to go about styling the error messages set by default with ADDT? I have so far styled #KT_tngerror succesfully but I'm a little bit puzzled as to where.... .form_validation_field_error_error_message and .KT_field_error .....come

  • Facetime login issue - "Facetime activation"

    I purchased a new large iPad and restored it from my old iPad using my computer. For some reason the Facetime on a new iPad took the wrong email, but when I try to change it to my actual email I get this error: Facetime Activation Could not sign in.