The system has unsaved changes - WLC Startup-config

Hi guys,
Is there a command to see the startup-config?
Or a command to see "what exactly" am I going to save when receiving the below message:     
The system has unsaved changes.
Would you like to save them now? (y/N)
I tried show run-config vs uploaded configuration file, but the format is different so I cannot compare...

Hi
With Areonet OS (5508,2504,etc) you do not have this freedom
If it is IOS you can do this using a single command "show archive config differences nvram:startup-config system:running-config" So with 5760/3850 you can do this.
http://mrncciew.com/2012/11/08/show-archive-config-differences-is-your-friend/
With Areonet 5508,2504 if you need to know what commands your configuration will adds to your config, you can do some sort of workaround (though it is not clean,still you can see what lines adding to WLC config)
Do  "debug aaa tacacs enable" on your WLC CLI & then make a change using WLC GUI, you will see on your CLI what commands it will add to your config.
So you have to make your changes one by one to learn all the CLI config addition to your configuration.
HTH
Rasika
**** Pls rate all useful responses ****

Similar Messages

  • Report issue , logical name of the system has been changed

    Hi
    Recently our system has been upgraded to ECC5.0. In a particular report  while drilling down we get  error. The error says the original doc can not be shown as it belongs to logical system ( DRH-123) . Now we know that this logical name of the system was in old box . The new logical name is DRH-100 . We are saying it's a basis issue and the basis team is saying it's FICO issue.Has any body encountered this type of problem. ? In my report  i have never mentioned logical name of the system.Hence unable to understand it. But so far what I have understood , that the each box  has been partioned and given a system name which is called logical name.Now that logical name they have changed in new box.My initial response was change the logical name but basis says that is a big task and more over it has been a while when they changed it.
    Gurus, Kindly shed some light on this mess.
    Thanks in advance
    Satya

    Which report are you pulling out? T-code?
    This link has some that may help you:
    www.scribd.com/doc/24447/SAP-R3-IDoc-Cookbook-for-EDI-and-Interfaces-by-Axel-Angeli
    Do CTRL+F to find Logical Systems
    If the link doesnt work use the following keywords and google it, shoose second result: EDI IDOCS interface axel angeli sap
    You may also want to get in touch with the person who was involved in developing LS. Talk with your ABAPer, they normally have an idea about these things (well atleast my ABAPer knows!)
    Message was edited by:
            Vj

  • The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or

    I have taken the cfdump for tmpqry and it shows all data for
    the range ( No error at this step ) . But when we exceute this
    dbquery we get below mentioned error .
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    senerio:
    I am using createobject to create a reference for component
    and call MDArraySort function in the cfc and getting this error .
    'The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null pointer is undefined.... '
    i am using this code in a cfc file.
    <cffunction name="MDArraySort" Returntype="query"
    access="public" >
    <cfargument name="colArray" type="array"
    required="true">
    <cfargument name="colNames" type="string"
    required="true">
    <cfargument name="colSort" type="string"
    required="true">
    <cfargument name="sensorIDs" type="string"
    required="true">
    <cfscript>
    var tmpqry = Querynew(arguments.colNames);
    var qRow = QueryAddRow(tmpqry, Arraylen(arguments.colArray)
    </cfscript>
    <cfloop from="1" to="#Arraylen(arguments.colArray)#"
    index="qRowIndex">
    <cfscript>
    sIndexinSensorIDs = colArray[qRowIndex]["SENSOR"]&"##";
    Temp_readin_code =
    colArray[qRowIndex]["READING_CODE"]&"##";
    QuerySetCell(tmpqry, 'SENSOR', sIndexinSensorIDs,
    qRowIndex);
    QuerySetCell(tmpqry,
    'TYPE',javacast('String',colArray[qRowIndex]["TYPE"]), qRowIndex);
    QuerySetCell(tmpqry, 'TIMESTAMP2',
    LSParseDateTime(colArray[qRowIndex]["TIMESTAMP2"]), qRowIndex);
    QuerySetCell(tmpqry,
    'ORDER_BY_PARAM',javacast('String',colArray[qRowIndex]["ORDER_BY_PARAM"]),
    qRowIndex);
    QuerySetCell(tmpqry, 'READING_CODE',Temp_readin_code ,
    qRowIndex);
    QuerySetCell(tmpqry,
    'READING',javacast('String',colArray[qRowIndex]["READING"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'PK_READING',javacast('String',colArray[qRowIndex]["PK_READING"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'ALARM_STATUS',javacast('String',colArray[qRowIndex]["ALARM_STATUS"]),
    qRowIndex);
    QuerySetCell(tmpqry, 'DURATION',
    javacast('String',colArray[qRowIndex]["DURATION"]), qRowIndex);
    QuerySetCell(tmpqry,
    'DESCRIPTION',javacast('String',colArray[qRowIndex]["DESCRIPTION"]),
    qRowIndex);
    </cfscript>
    </cfloop>
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    <cfreturn qry >
    </cffunction>
    It is working fine for some date range and and getting above
    mentioned error in sone situation .

    Hi All ,
    Thank you for your support ,
    Finally i have fix the issue using some changes in my
    function in cfc .
    <cffunction name="MDArraySort" Returntype="query"
    access="public" >
    <cfargument name="colArray" type="array"
    required="true">
    <cfargument name="colNames" type="string"
    required="true">
    <cfargument name="colSort" type="string"
    required="true">
    <cfargument name="sensorIDs" type="string"
    required="true">
    <cfscript>
    //Declare variable collection used in function as local
    --->
    var tmpqry =
    Querynew(arguments.colNames,"CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_DATE,CF_SQL_VARCHAR,CF_ SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR");
    var qRow = QueryAddRow(tmpqry,
    Arraylen(arguments.colArray));
    </cfscript>
    <cfloop from="1" to="#Arraylen(arguments.colArray)#"
    index="qRowIndex">
    <cfscript>
    // Populate the query table
    QuerySetCell(tmpqry, 'SENSOR',
    colArray[qRowIndex]["SENSOR"], qRowIndex);
    QuerySetCell(tmpqry,
    'TYPE',arguments.colArray[qRowIndex]["TYPE"], qRowIndex);
    QuerySetCell(tmpqry, 'TIMESTAMP2',
    LSParseDateTime(arguments.colArray[qRowIndex]["TIMESTAMP2"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'ORDER_BY_PARAM',arguments.colArray[qRowIndex]["ORDER_BY_PARAM"],
    qRowIndex);
    QuerySetCell(tmpqry, 'READING_CODE',
    colArray[qRowIndex]["READING_CODE"] , qRowIndex);
    QuerySetCell(tmpqry,
    'READING',arguments.colArray[qRowIndex]["READING"], qRowIndex);
    QuerySetCell(tmpqry,
    'PK_READING',arguments.colArray[qRowIndex]["PK_READING"],
    qRowIndex);
    QuerySetCell(tmpqry,
    'ALARM_STATUS',arguments.colArray[qRowIndex]["ALARM_STATUS"],
    qRowIndex);
    QuerySetCell(tmpqry, 'DURATION',
    arguments.colArray[qRowIndex]["DURATION"], qRowIndex);
    QuerySetCell(tmpqry,
    'DESCRIPTION',arguments.colArray[qRowIndex]["DESCRIPTION"],
    qRowIndex);
    </cfscript>
    </cfloop>
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    <cfreturn qry >
    </cffunction>
    Rajesh
    SCMS
    India

  • Error: "The search cannot be executed because the table has pending changes that would be lost."

    Hello,
    I'm working a developing an OA page that will displays the contents of an Oracle table and allows the user to update records in a table as needed.
    When I hit submit button to save the changes in the update page, the control goes back to main page (where all the table records are displayed). It displays the updated record with the new information.However when I hit "Go" button on the mainPG, I get the error "The search cannot be executed because the table has pending changes that would be lost. and the changes are not committed.
    ANy suggestions on where I should look will be greatly appreciated.
    Posting code for my controller
    =======================
              if ( pageContext.getParameter("saveRate") != null )
              personam.invokeMethod("saveRateToDatabase");
    Code from my AM
    =============
        public void saveRateToDatabase()
          getOADBTransaction().commit();
          System.out.println("40--After commit has been executed");
    Code from my VORowImpl
    ===================
    package cggv.oracle.apps.gl.server;
    import oracle.apps.fnd.framework.server.OAViewRowImpl;
    import oracle.jbo.domain.Date;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.AttributeDefImpl;
    // ---    File generated by Oracle ADF Business Components Design Time.
    // ---    Custom code may be added to this class.
    // ---    Warning: Do not modify method signatures of generated methods.
    public class xxCggGlRatesVORowImpl extends OAViewRowImpl {
        public static final int RATEID = 0;
        public static final int FROMCURRENCY = 1;
        public static final int TOCURRENCY = 2;
        public static final int FROMCONVERSIONDATE = 3;
        public static final int TOCONVERSIONDATE = 4;
        public static final int USERCONVERSIONTYPE = 5;
        public static final int CONVERSIONRATE = 6;
        public static final int MODEFLAG = 7;
        /**This is the default constructor (do not remove)
        public xxCggGlRatesVORowImpl() {
        /**Gets the attribute value for the calculated attribute RateId
        public Number getRateId() {
            return (Number) getAttributeInternal(RATEID);
        /**Sets <code>value</code> as the attribute value for the calculated attribute RateId
        public void setRateId(Number value) {
            setAttributeInternal(RATEID, value);
            //populateAttribute(RATEID, value);
        /**Gets the attribute value for the calculated attribute FromCurrency
        public String getFromCurrency() {
            return (String) getAttributeInternal(FROMCURRENCY);
        /**Sets <code>value</code> as the attribute value for the calculated attribute FromCurrency
        public void setFromCurrency(String value) {
            setAttributeInternal(FROMCURRENCY, value);      
        /**Gets the attribute value for the calculated attribute ToCurrency
        public String getToCurrency() {
            return (String) getAttributeInternal(TOCURRENCY);
        /**Sets <code>value</code> as the attribute value for the calculated attribute ToCurrency
        public void setToCurrency(String value) {
            setAttributeInternal(TOCURRENCY, value);
        /**Gets the attribute value for the calculated attribute FromConversionDate
        public Date getFromConversionDate() {
            return (Date) getAttributeInternal(FROMCONVERSIONDATE);
        /**Sets <code>value</code> as the attribute value for the calculated attribute FromConversionDate
        public void setFromConversionDate(Date value) {
            setAttributeInternal(FROMCONVERSIONDATE, value);      
        /**Gets the attribute value for the calculated attribute ToConversionDate
        public Date getToConversionDate() {
            return (Date) getAttributeInternal(TOCONVERSIONDATE);
        /**Sets <code>value</code> as the attribute value for the calculated attribute ToConversionDate
        public void setToConversionDate(Date value) {
            setAttributeInternal(TOCONVERSIONDATE, value);       
        /**Gets the attribute value for the calculated attribute UserConversionType
        public String getUserConversionType() {
            return (String) getAttributeInternal(USERCONVERSIONTYPE);
        /**Sets <code>value</code> as the attribute value for the calculated attribute UserConversionType
        public void setUserConversionType(String value) {
            setAttributeInternal(USERCONVERSIONTYPE, value);
        /**Gets the attribute value for the calculated attribute ConversionRate
        public Number getConversionRate() {
            return (Number) getAttributeInternal(CONVERSIONRATE);
        /**Sets <code>value</code> as the attribute value for the calculated attribute ConversionRate
        public void setConversionRate(Number value) {
            setAttributeInternal(CONVERSIONRATE, value);
        /**Gets the attribute value for the calculated attribute ModeFlag
        public String getModeFlag() {
            return (String) getAttributeInternal(MODEFLAG);
        /**Sets <code>value</code> as the attribute value for the calculated attribute ModeFlag
        public void setModeFlag(String value) {
            setAttributeInternal(MODEFLAG, value);      
        /**getAttrInvokeAccessor: generated method. Do not modify.
        protected Object getAttrInvokeAccessor(int index,
                                               AttributeDefImpl attrDef) throws Exception {
            switch (index) {
            case RATEID:
                return getRateId();
            case FROMCURRENCY:
                return getFromCurrency();
            case TOCURRENCY:
                return getToCurrency();
            case FROMCONVERSIONDATE:
                return getFromConversionDate();
            case TOCONVERSIONDATE:
                return getToConversionDate();
            case USERCONVERSIONTYPE:
                return getUserConversionType();
            case CONVERSIONRATE:
                return getConversionRate();
            case MODEFLAG:
                return getModeFlag();
            default:
                return super.getAttrInvokeAccessor(index, attrDef);
        /**setAttrInvokeAccessor: generated method. Do not modify.
        protected void setAttrInvokeAccessor(int index, Object value,
                                             AttributeDefImpl attrDef) throws Exception {
            switch (index) {
            case RATEID:
                setRateId((Number)value);
                return;
            case FROMCURRENCY:
                setFromCurrency((String)value);
                return;
            case TOCURRENCY:
                setToCurrency((String)value);
                return;
            case FROMCONVERSIONDATE:
                setFromConversionDate((Date)value);
                return;
            case TOCONVERSIONDATE:
                setToConversionDate((Date)value);
                return;
            case USERCONVERSIONTYPE:
                setUserConversionType((String)value);
                return;
            case CONVERSIONRATE:
                setConversionRate((Number)value);
                return;
            case MODEFLAG:
                setModeFlag((String)value);
                return;
            default:
                super.setAttrInvokeAccessor(index, value, attrDef);
                return;
        /**Gets xxCggGlRatesEO entity object.
        public xxCggGlRatesEOImpl getxxCggGlRatesEO() {
            return (xxCggGlRatesEOImpl)getEntity(0);

    Hi,
    Check these links:
    Oracle Apps: Search cannot be executed because the table has pending changes that would be lost
    Re: Getting error in search page search cannot be executed
    http://jneelmani.blogspot.in/2009/11/oaf-search-cannot-be-executed-because.html
    --Sushant

  • Kernel-Power Event ID 41: The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.

    Hello,  Currently we are seeing this issue with a couple of our Lenovo T420s laptops with a Solid State Drive.  ruffly about 10 or so.  The Reboots happen randomly and do not create a dump file.  We have contacted Lenovo and they are
    not sure why its happening.  Since this Crash I set it for Minidump this did not work my next steps will be to Disable Automatic restart on System Failure to see if it brings anything up.  I am also looking at using Procmon to dump to a file as well. 
    If anyone has any other ideas please let me know.
    The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
    + System
      - Provider
       [ Name]  Microsoft-Windows-Kernel-Power
       [ Guid]  {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
       EventID 41
       Version 2
       Level 1
       Task 63
       Opcode 0
       Keywords 0x8000000000000002
      - TimeCreated
       [ SystemTime]  2012-02-01T00:02:48.677610900Z
       EventRecordID 8270
       Correlation
      - Execution
       [ ProcessID]  4
       [ ThreadID]  8
       Channel System
       Computer LR8K6TLC.cntr.thrivent.corp
      - Security
       [ UserID]  S-1-5-18
    - EventData
      BugcheckCode 0
      BugcheckParameter1 0x0
      BugcheckParameter2 0x0
      BugcheckParameter3 0x0
      BugcheckParameter4 0x0
      SleepInProgress false
      PowerButtonTimestamp 129725280988099400
    Event 89, Kernel-Power
    ACPI thermal zone ACPI\ThermalZone\THM0 has been enumerated.            
    _PSV = 0K            
    _TC1 = 0            
    _TC2 = 0            
    _TSP = 0ms            
    _AC0 = 0K            
    _AC1 = 0K            
    _AC2 = 0K            
    _AC3 = 0K            
    _AC4 = 0K            
    _AC5 = 0K            
    _AC6 = 0K            
    _AC7 = 0K            
    _AC8 = 0K            
    _AC9 = 0K            
    _CRT = 371K            
    _HOT = 0K            
    _PSL - see event data.
    ---- Details
    +
    System
    Provider
    [ Name]
    Microsoft-Windows-Kernel-Power
    [ Guid]
    {331C3B3A-2005-44C2-AC5E-77220C37D6B4}
    EventID
    89
    Version
    0
    Level
    4
    Task
    86
    Opcode
    0
    Keywords
    0x8000000000000020
    TimeCreated
    [ SystemTime]
    2012-02-01T00:02:49.270411900Z
    EventRecordID
    8271
    Correlation
    Execution
    [ ProcessID]
    4
    [ ThreadID]
    68
    Channel
    System
    Computer
    LR8K6TLC.cntr.thrivent.corp
    Security
    [ UserID]
    S-1-5-18
    EventData
    ThermalZoneDeviceInstanceLength
    21
    ThermalZoneDeviceInstance
    ACPI\ThermalZone\THM0
    AffinityCount
    1
    _PSV
    0
    _TC1
    0
    _TC2
    0
    _TSP
    0
    _AC0
    0
    _AC1
    0
    _AC2
    0
    _AC3
    0
    _AC4
    0
    _AC5
    0
    _AC6
    0
    _AC7
    0
    _AC8
    0
    _AC9
    0
    _CRT
    371
    _HOT
    0
    _PSL
    0000000000000000
    Thank you.

    We have tested and checked both the Bios and firmware of the SSD Drive's
    Bios was up to date and no issue
    Firmware was also up to date as well.  
    Users are still experiencing random Reboots.   I tried to capture the issue with Procmon but since the PC shutdown (Goes to a black screen no power at all even when turning the "Automatically
    restart" off under Startup and Recovery) No dmp files as of yet.  Unable to configure Procdump due to not knowing where the issue is and what is causing it to happen.
    Going to replace one of the PC's with a New one with different hardware to see if this resolve the issue.  If anyone has any idea's to be able to capture what maybe happening that would
    be great.
    Thank you.

  • The system and namespace change option

    Hi Experts,
    I want to integrate a certain SAP Source System within RSA1. After submitting the correct settings for Background User and RFC connection the process leads me to the Source System where I logon with an User which has authorizations in SM59. From there on (the RFC Connection backwards is already defined) I got asked whether I want to user/check/cancel this existing RFC Connection. I click on use, wait for a while and then the error (please see below) appears.
    When proceeding with the steps mentioned in the error message (transaction SE03, Administration node, ...) I cannot find any IDOC Object ZSSA009. I think maybe it's related to some software component or somenthing like that which should be set as "modifiable" but I don't know which....
    Any Ideas on this?
    Many thanks in advance.
    Best regards
    Tobias
    Error Message:
    Message no. TO128
    Diagnosis
    The system and namespace change option set for this SAP System does not allow any changes to be made to object IDOC ZSSA009.
    System Response
    Editing is terminated, the object can only be displayed.
    Procedure
    If you want to edit the object IDOC ZSSA009 in this SAP System, have your system administator set the SAP System to "modifiable" for this object.
    This can affect the modifiability of the namespace &1 or the namespaces that correspond to the pattern &1, as well as the global setting of the system change option.
    The system change option is set using the Transport Organizer tools (Transaction SE03). Expand the Administration node and execute the program Set system change option. The options are described there.

    HI,
    Attached link may help you in configuring the source system.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/908836c3-7f97-2b10-4cb8-e6790361c152
    Thanks,
    Arun

  • HT5167 Error after 10.7.4 upgrade..."computer's local hostname ........is already in use on this network.  The name has been changed to......  What to do now to get it back to status before 10.7.4 upgrade?

    Error after 10.7.4 Lion Upgrade to iMac
    Computer's local host name .......is already in use on this network.  the name has been changed to........
    and it keeps adding up the number each time I wake the iMac.
    What to do to get it back before upgrade error?

    Ok worth repeating, hope this works.  Finally spoke to AppleCare Support and walked me thru following...restart computer holding down "command" and "option" keys at the same time with letters "P" and "R" when computer turns on.  This is what he called a PR restart, clears out discrepancies in memory (if that is what the error message actually is).  Then went to Systems Preferences/Network/Sharing and deleted the number that kept increasing every time MAC would wake up.
    Even tho this was just done, I am hopeful that error pop-up won't happen again.  Fingers crossed!

  • Every time i wake my mac i get This computer's local hostname "D-360.local" is already in use on this network. The name has been changed to "D-444.local".

    error message that my local host name is in use and the system generates a new one every time I wake my mac the error mssg reads This computer’s local hostname “D-360.local” is already in use on this network. The name has been changed to “D-444.local”.

    There are several possible causes for this behavior.
    1. Two (or more) computers on the local network have the same Bonjour name, such as "X's-MacBook-Pro.local". Resolve the name conflict by renaming one or more of them in the Sharing preference pane.
    2. You have two simultaneous connections to the same local network: probably Ethernet and Wi-Fi. If applicable, disconnect the Ethernet cable or turn off Wi-Fi.
    3. A Mac wakes from sleep due to network traffic. This is a bug in OS X that may only affect some models.
    4. A device that gets its network address from the router wakes from sleep, and the address it was using before has been assigned to another device.
    5. A third-party wireless router has incompatible settings or firmware. In that case, refer to the manufacturer or ISP for support. Restarting the router may help, temporarily.
    6. See also this support article.

  • I prepared a new project but during the submission to browser media, the system has shown the error (-49). Somebody can help me?

    I prepared a new project but during the submission to browser media, the system has shown the error (-49). Somebody can help me?

    In this particular case, you cannot start Tomcat because you have another web server or some other program already listening to the same port that Tomcat wants to use.
    (If you don't know what a port is in this context, write back and we will go into more detail.)
    I would guess that you may have Microsoft IIS running, particularly if you're on a corporate machine. You may have to look at the services running on your system and see if any of them are using the port - either check out start->control panel->administrative tools->services or do a "netstat -a" at the command prompt.
    Alternatively you may configure Tomcat to use a different port. The instructions that came with Tomcat will tell you what you will need to do - it's usually just changing one line in the httpd.conf file or whatever the latest Tomcat uses now (I'm not certain anymore).

  • Why does this occur "NI_Variable_RT.lvlib : GlobalVar_RT_MangleName.vi has unsaved changes?"

    I am trying to deploy a VI to the RT target and I get this message.
    "NI_Variable_RT.lvlib : GlobalVar_RT_MangleName.vi has unsaved changes"
    I am only allowed to deploy the VI if I save these changes. What are these changes referring to?
    Has the link between the variables on the Host PC and RT target broken due to which this message occurs?

    Hi Shan21,
    Do you not get an option to view the unsaved changes? If you want to find out the changes that have taken place in a VI, here is a description. If you navigate and open the VI and then go File->VI Properties. Under the General tab there is a button marked List unsaved changes. This will show you the changes that have taken place. 
    If you have made no changes that you are aware of to this VI, it maybe that you are converting it from a previous version to the most current version.
    Thanks,
    Andrew McLennan
    Applications Engineer
    National Instruments

  • The record has been changed....on default form

    Hi,
    I'm facing a strange problem....
    Trying to alter the prompt in the menu default form, for one and only one record, the message "The record has been changed.Re-query to see the changes." appears...!!!
    I have seen this message on custom forms.... but on default form which also insists even when i close the form and re-open it..., first time....
    What do you suggest me to do...???
    Note: I use eBS 11.5.10.2 and DB10g v.2
    Thank you,
    Sim

    Hi sgalaxy,
    It looks the system is detecting something different between the record shown in the form and the record stored in the DB table, and that's why it's showing the error message. Typically the issue is caused by date columns that are truncated in the form or by trailing spaces in text columns. You will need to compare columns in form and DB table until you find the problematic column and update it manually (truncating date or removing trailing spaces in DB)
    Hope it helps.

  • Search cannot be executed because the table has pending changes

    I'm getting the following error ..... The search cannot be executed because the table has pending changes that would be lost .... in the following scenario ....
    My 1st page is a search page with resulting rows from which the user can select specific rows to process ..... next button will populate the VO for the 2nd page by manually looping thru the selected rows in the VO of the 1st page. Loop logic is in the AM and it calls a method in the VORowImpl that uses setAttributeInternal .... the 2nd page displays the selected rows .....
    Pressing the back button of the 2nd page will display the 1st page and if the user tries to do a new search .... the error shows up.
    Any suggestions on how to handle this?
    Thank you.

    It seems to me that you are using the same VO on both the pages. If that is the case try to use separate VO for each page.
    And as suggested by Sumit, Never use/ rely on browser back button. Instead put a Back button on the second page through you can handle the event yourself rather than leaving on the mercy of browser.
    --Saroj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • "Error:The search cannot be executed because the table has pending changes that would be lost", after DELETE

    Good day,
    On Search Page, I have searched for the record(s) then deleted a record and got confirmation message i.e. Record has deleted. Next when I search for any record I'm getting below error.
    Error
    The search cannot be executed because the table has pending changes that would be lost.
    Could you please help me to fix this issue. Your response is highly appreciated.
    Item properties:
    Item Style : Image
    Action Type: Fire Action
    Event : delete
    Below is the code using in CO and AM
    Controller (processFormRequest):
    if ("delete".equals(pageContext.getParameter(EVENT_PARAM)))
              // The user has clicked a "Delete" icon so we want to display a "Warning"
              // dialog asking if she really wants to delete the employee. Note that we
              // configure the dialog so that pressing the "Yes" button submits to
              // this page so we can handle the action in this processFormRequest( ) method.
              String visit_id = pageContext.getParameter("visit_id");
              String employeeName = pageContext.getParameter("last_name") + ", " + pageContext.getParameter("first_name");
              MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName)};
              OAException mainMessage = new OAException("FND", "XXXX_EMP_DELETE_WARN", tokens);
              // Note that even though we're going to make our Yes/No buttons submit a
              // form, we still need some non-null value in the constructor's Yes/No
              // URL parameters for the buttons to render, so we just pass empty
              // Strings for this.
              OADialogPage dialogPage = new OADialogPage(OAException.WARNING,
                mainMessage, null, "", "");
              // Always use Message Dictionary for any Strings you want to display.
              String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
              String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
              // We set this value so the code that handles this button press is
              // descriptive.
    dialogPage.setOkButtonItemName("DeleteYesButton");
              // The following configures the Yes/No buttons to be submit buttons,
              // and makes sure that we handle the form submit in the originating
              // page (the "Employee" summary) so we can handle the "Yes"
              // button selection in this controller.
    dialogPage.setOkButtonToPost(true);
    dialogPage.setNoButtonToPost(true);
    dialogPage.setPostToCallingPage(true);
              // Now set our Yes/No labels instead of the default OK/Cancel.
    dialogPage.setOkButtonLabel(yes);
    dialogPage.setNoButtonLabel(no);
              // We need to keep hold of the employeeNumber and employeeName.
              // The OADialogPage gives us a convenient means
              // of doing this. Note that the use of the Hashtable is 
              // most appropriate for passing multiple parameters. See the OADialogPage
              // javadoc for an alternative when dealing with a single parameter.
              java.util.Hashtable formParams = new java.util.Hashtable(1);
    formParams.put("visit_id", visit_id);
    formParams.put("empName", employeeName);
    dialogPage.setFormParameters(formParams);
              pageContext.redirectToDialogPage(dialogPage);
        else if (pageContext.getParameter("DeleteYesButton") != null)
              // User has confirmed that she wants to delete this employee.
              // Invoke a method on the AM to set the current row in the VO and
              // call remove() on this row.
              String employeeNumber = pageContext.getParameter("visit_id");
              String employeeName = pageContext.getParameter("empName");
              Serializable[] parameters = { employeeNumber };
             // OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("deleteEmployee", parameters);
              // Now, redisplay the page with a confirmation message at the top. Note
              // that the deleteEmployee() method in the AM commits, and our code
              // won't get this far if any exceptions are thrown.
              MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName) };
              OAException message = new OAException("FND",
                "XXXX_EMP_DELETE_CONFIRM", tokens, OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(message);
    Application Module:
      public void deleteEmployee(String visit_id)
            // First, we need to find the selected employee in our VO.
            // When we find it, we call remove( ) on the row which in turn
            // calls remove on the associated EmployeeEOImpl object.
            int empToDelete = Integer.parseInt(visit_id);
              OAViewObject vo = (OAViewObject)getNonEmployeesSummaryVO1();
        NonEmployeesSummaryVORowImpl row = null;
            // This tells us the number of rows that have been fetched in the
            // row set, and will not pull additional rows in like some of the
            // other "get count" methods.
           int fetchedRowCount = vo.getFetchedRowCount();
            // We use a separate iterator -- even though we could step through the
            // rows without it -- because we don't want to affect row currency.
            RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
              deleteIter.setRangeStart(0);
              deleteIter.setRangeSize(fetchedRowCount);
              for (int i = 0; i < fetchedRowCount; i++)
                row = (NonEmployeesSummaryVORowImpl)deleteIter.getRowAtRangeIndex(i);
                // For performance reasons, we generate ViewRowImpls for all
                // View Objects. When we need to obtain an attribute value,
                // we use the named accessors instead of a generic String lookup.
                // Number primaryKey = (Number)row.getAttribute("EmployeeId");
                Number primaryKey = row.getVisitId();
                if (primaryKey.compareTo(empToDelete) == 0)
                  // This performs the actual delete.
                  row.remove();
                    getTransaction().commit();
                  break; // only one possible selected row in this case
            // Always close the iterator when you're done.
            deleteIter.closeRowSetIterator();
          } // end deleteEmployee
    Thanks,
    Ravi

    Hi
    Check this link Getting error in search page search cannot be executed
    Regards,
    Dilip

  • An error in the system has occurred. Please contact the system admin'

    Hi chaps
    So I get this message when I try and click "Solved" :
    An error in the system has occurred. Please contact the system administrator if the problem persists.
    And then when I try to send a 'comment' AppleCare I get
    "An error has occurred. Please try again later".
    Is it me or them ?
    Many thanks Roger

    Hi Roger!
    My reply here Error when trying to mark a reply as "solved" , also has additinal information.
    ali b

  • An error in the system has occurred. Please contact the system administrato

    This error appears when I try to access the Leopard Server- Advanced forum:
    Error
    An error in the system has occurred. Please contact the system administrator if the problem persists.
    Useful links :
    Forum Home -- browse the forums here.
    Search Forums -- visit the search page to query all forum content.

    Hi Roger!
    My reply here Error when trying to mark a reply as "solved" , also has additinal information.
    ali b

Maybe you are looking for

  • Meta chain hang because of debugging

    A user debug the chain in production system. Unfortunately, she receive a runtime error and now, the chain is hanging and cannot be trigger by other user. We need to some how put it in cancel status or just let it run so the user can use the process

  • Photos disappeared from camera roll

    I just got a new iPhone 4S while we were out of town, away from home - I shot a number of photos with the iPhone, and kept them on the phone in Camera Roll. When we returned to our home, we set up iCloud, connected to the computer, restored the new i

  • Strange behavior of HtmlPanelGrid.getChildren().clear();

    I have some problem, described in previous messages. Investigating it, I found some strange behavior, which I cannot understand. I builded a small application to isolate this strangeness. There are two pages, first and second. There are hyperlinks fr

  • Mail rules question on subject and sender fields are empty

    I am getting blank messages delivered to my mailbox and the subject and or sender's name are empty, how do I set up a rule to just delete them?

  • Flash Player. Screensaver off.

    How can screensaver be switched off when playying long videos/films?