Errors not validated

Hi,
The XML i'm validating is with error (minLength is violated). However, error msg is not shown.
I've already created a class that implements the defaultHandler, still it's to no avail. Can someone please advice?
Thanks!

By default only fatal errors are displayed (bad formed).
To manage validation errors, you have to implement an Error Handler, like this for example :
import java.io.PrintStream;
import org.xml.sax.ErrorHandler;
import org.xml.sax.SAXException;
import org.xml.sax.SAXParseException;
public class XmlError implements ErrorHandler {
private PrintStream out;
protected String message(SAXParseException e){
String message = "Message : "+e.getMessage()+"\n";
message += "Ligne "+e.getLineNumber()+", colonne "+e.getColumnNumber()+"\n";
message += "Public id : "+e.getPublicId()+"\n";
message += "System id : "+e.getSystemId();
return message;
public XmlError() {
public XmlError(PrintStream out) {
this.out = out;
public void error(SAXParseException e) throws SAXException {   
String systemId = e.getSystemId();
if (systemId == null) {
systemId = "null";
System.err.println("Erreur (URI="+ systemId +" ligne " +
e.getLineNumber() + ", col " +
e.getColumnNumber() + ") : " + e.getMessage());
String message = "*** Erreur lors de la validation ***\n";
message += message(e);
SAXException se = new SAXException(message, e);
throw se;
public void fatalError(SAXParseException e) throws SAXException{
System.err.println("Erreur fatale : " + e.getMessage());
String message = "*** Erreur fatale ***\n";
message += message(e);
SAXException se = new SAXException(message, e);
throw se;
public void warning(SAXParseException e) throws SAXException{
System.err.println("warning : " + e.getMessage());
}

Similar Messages

  • Purchased and downloaded elements one yr. ago.  Now new computer.  Have CD, tried to install, after entering S/N get error-"not valid number"  What can I do?

    Purchased and downloaded elements one yr. ago.  Now new computer.  Have CD, tried to install, after entering S/N get error-"not valid number"  What can I do?

    Go here (You may need to use the chat option.):
    Activation & Deactivation Help
    This is the Photoshop Forum.
    Note to mod: Please move to the Photoshop Elements forum.

  • TS1368 When I try to make a purchase at the App Store or iBook Store or iTunes an error message tells me my account is not valid at the UK store. I live in Canada so how did I get to be connected to the UK and how can I get back to Canada?

    When I try to make a purchase at the App Store or iBook store or at iTunes an error message tells me my account is not valid for the UK store. I've no idea how I got connected there and I'd like help getting back to Canada where I live. Any suggestions?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you are located.
    8. Tap "Done".

  • Not valid month Error Ora 01843

    hi
    This is an error while running a report 6i. in Oracle 8i Environment.
    "Not valid month Error Ora 01843"
    This report is working fine in Production. But it is not working in Development Database.
    Development database is the image of Production system.
    Any reason for this Error?

    Dear Naseer C ,
    We got similar experiences for several time.
    We quried like that.
    Selet moth from table;
    08-AUG-1988
    08-08-1988
    08-08-88
    We changed several time until diappear the message.
    Hopefully, it will help you.
    Best regards,
    S!G

  • Error-BOM is not valid

    Hi all,
    i am creating a BOM with item & sub item .
    i am getting the error like BOM is not valid.
    i am giving my coding below.plz suggest where i am doing mistake.
    it's urgent.
    can u plz give some sample coding where sub-item will be there in that BOM.
    any idea will be highly appreaciated.
    correct answers will be rewarded.
    regards
    pabitra
    report z_bom_create
           line-size 132
           line-count 65.
          no standard page heading.
    *-- DATA DECLARATION--
    include <icon> .
    *---Tables
    tables : s076, t100, marc .
    *---Types
    types : begin of t_upload,      " Upload file data
             col1(18),
             col2(10),
             col3(30),
             col4(12),
             col5(50),
           end of t_upload,
           begin of t_split,
           location like stpu-ebort,
           end of t_split.
    *data:begin of i_return occurs 10.
    *include structure bapiret2.
    *data:end of i_return.
    data:i_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    types:begin of t_item."occurs 10.
    include structure BAPI1080_ITM_C.
    types:end of t_item.
    types:begin of t_subitem." occurs 10.
    include structure  BAPI1080_SUI_C.
    types:end of t_subitem.
    types:begin of t_header." occurs 10.
    include structure  BAPI1080_MBM_C.
    types:end of t_header.
    types:begin of t_bomgroup." occurs 10.
    include structure  BAPI1080_BGR_C.
    types:end of t_bomgroup.
    types:begin of t_variant." occurs 10.
    include structure  BAPI1080_BOM_C.
    types:end of t_variant.
    data:it_itemas LIKE bapi1080_rel_itm_bom_c OCCURS 0 WITH HEADER LINE,
         it_subitemas LIKE BAPI1080_REL_SUI_ITM_C OCCURS 0 WITH HEADER LINE.
    *--- Tables
    data: i_upload type standard table of t_upload, " to hold data
          i_upload1 type standard table of t_upload,
          i_upload2 type standard table of t_upload,
          i_split type standard table of t_split,
          i_item type standard table of t_item,
          i_subitem type standard table of t_subitem,
          i_header type standard table of t_header,
          i_bomgroup type standard table of t_bomgroup,
          i_variant type standard table of t_variant.
    data: wa_upload  type t_upload, " to hold file data,
          wa_upload1 type t_upload, " to hold plan data,
          wa_upload2 type t_upload,
          wa_split type t_split,
          wa_item type t_item,
          wa_subitem type t_subitem,
          wa_header type t_header,
          wa_bomgroup type t_bomgroup,
          wa_variant type t_variant.
    data:v_matnr like mara-matnr,
         v_start like sy-index,
         v_count(3) type c,
         v_num(4) type c value '0000'.
    *--Constants
    data: c_dot type c value '.',
          c_x type c value 'X',
          c_comma type c value ','.
    -------Selection Screen Design -
    *Selection screen for input of upload file address
    selection-screen skip 2.
    selection-screen begin of block blk1 with frame.
    parameters     : p_file like rlgrap-filename obligatory .
    parameters     : p_matnr like mara-matnr obligatory,
                     p_werks like marc-werks obligatory memory id wrk,
                     p_stlan like afko-stlan obligatory default '1' .
    selection-screen end of block blk1.
    ---AT SELECTION SCREEN -
    *at selection-screen on  value-request for p_file.
    **--For popup  to select file.
    perform f_give_help.
    *at selection-screen on  p_matnr.
    perform f_check_matnr.
    -----START OF SELECTION -
    *--Data upload using WS_Upload.
    perform f_get_data.
    perform f_get_bom_data.
    perform f_get_bom_data1.
    perform f_call_bapi.
    perform f_error_display.
    *&      Form  f_give_help
          text
    -->  p1        text
    <--  p2        text
    *FORM f_give_help.
    *call function 'WS_FILENAME_GET'
          exporting
               mask             = ',.,..'
               mode             = 'O'
          importing
               filename         = p_file
          exceptions
               inv_winsys       = 1
               no_batch         = 2
               selection_cancel = 3
               selection_error  = 4
               others           = 5.
    if sy-subrc <> 0 and  not sy-msgty is initial.
       message id sy-msgid type sy-msgty number sy-msgno
       with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    *ENDFORM.                    " f_give_help
    *&      Form  f_check_matnr
          text
    -->  p1        text
    <--  p2        text
    *FORM f_check_matnr.
    *CALL FUNCTION 'BAPI_MAT_BOM_EXISTENCE_CHECK'
    EXPORTING
       MATERIAL              = p_matnr
       PLANT                 = p_werks
       BOMUSAGE              = '1'
      VALID_FROM_DATE       =
      VALID_TO_DATE         =
    TABLES
       RETURN                = i_return.
    *ENDFORM.                    " f_check_matnr
    *&      Form  f_get_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_data.
    call function 'WS_UPLOAD'
       exporting
      CODEPAGE                      = ' '
          filename                      = p_file
          filetype                      = 'DAT'
        tables
          data_tab                      = i_upload
       exceptions
         conversion_error              = 1
         file_open_error               = 2
         file_read_error               = 3
         invalid_type                  = 4
         no_batch                      = 5
         unknown_error                 = 6
         invalid_table_width           = 7
         gui_refuse_filetransfer       = 8
         customer_error                = 9
         others                        = 10
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    ENDFORM.                    " f_get_data
    *&      Form  f_get_bom_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_bom_data.
    delete i_upload where col1 is initial.
    delete i_upload where col1 cs 'ITEM'.
    i_upload2[] = i_upload[].
    delete i_upload2 where col1 cs 'FINISHED GOOD'.
    read table i_upload into wa_upload with key col1 = 'FINISHED GOOD:'.
    if sy-subrc = 0.
    v_matnr = wa_upload-col2.
    if v_matnr <> p_matnr.
    message e001(zl) with p_matnr.
    endif.
    else.
    message e000(zl).
    endif.
    ENDFORM.                    " f_get_bom_data
    *&      Form  f_get_bom_data1
          text
    -->  p1        text
    <--  p2        text
    FORM f_get_bom_data1.
    loop at i_upload into wa_upload where col1 CS 'FINISHED GOOD'.
    v_start = sy-tabix + 1.
    loop at i_upload into wa_upload1 from v_start .
            if wa_upload1-col1 cs 'FINISHED GOOD'.
              exit.
            else.
    perform f_split_upload_data.
         endif.
    endloop.
          endloop.
    ENDFORM.                    " f_get_bom_data1
    *&      Form  f_split_upload_data
          text
    -->  p1        text
    <--  p2        text
    FORM f_split_upload_data.
    if not wa_upload1-col5 is initial.
    if wa_upload1-col5 cs c_comma.
    split wa_upload1-col5 at c_comma into table i_split.
    loop at i_split into wa_split.
    v_count = v_count + 1.
    endloop.
    if wa_upload1-col4 <> v_count.
       wa_upload1-col4 = v_count.
    endif.
    clear wa_upload1-col5.
    clear wa_split.
    clear v_count.
    loop at i_split into wa_split.
    wa_upload1-col5 = wa_split-location.
    append wa_upload1 to i_upload1.
    endloop.
    else.
    append wa_upload1 to i_upload1.
    endif.
    else.
    append wa_upload1 to i_upload1.
    endif.
    clear wa_upload1.
    ENDFORM.                    " f_split_upload_data
    *&      Form  f_call_bapi
          text
    -->  p1        text
    <--  p2        text
    FORM f_call_bapi.
    clear wa_upload1.
    wa_header-material = p_matnr.
    *wa_header-plant = p_werks.
    wa_header-bom_group_identification = 'BAPI_SMP_COL1'.
    wa_header-bom_usage = p_stlan.
    wa_header-alternative_bom = '1'.
    append wa_header to i_header.
    wa_bomgroup-bom_usage = p_stlan.
    *wa_bomgroup-created_in_plant = p_werks.
    *wa_bomgroup-bom_group = ''.
    wa_bomgroup-object_id = 'SIMPLE1'.
    wa_bomgroup-bom_group_identification = 'BAPI_SMP_COL1'.
    wa_bomgroup-object_type = 'BGR'.
    append wa_bomgroup to i_bomgroup.
    wa_variant-alternative_bom = '1'.
    wa_variant-base_qty = '1.000'.
    wa_variant-valid_from_date = sy-datum.
    wa_variant-bom_group_identification = 'BAPI_SMP_COL1'.
    wa_variant-object_type = 'BOM'.
    wa_variant-object_id = 'VAR'.
    wa_variant-bom_status = '1'.
    wa_variant-valid_from_date = sy-datum.
    wa_variant-function = 'NEW'.
    append wa_variant to i_variant.
    it_itemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_itemas-sub_object_type = 'ITM'.
    it_itemas-sub_object_id = 'SIM'.
    it_itemas-super_object_type = 'BOM'.
    it_itemas-super_object_id = 'VAR'.
    it_itemas-valid_from_date = sy-datum.
    it_itemas-function = 'NEW'.
    append it_itemas.
    it_subitemas-bom_group_identification = 'BAPI_SMP_COL1'.
    it_subitemas-sub_object_type = 'SUI'.
    it_subitemas-sub_object_id = 'SIMP'.
    it_subitemas-super_object_type = 'ITM'.
    it_subitemas-super_object_id = 'SIM'.
    append it_subitemas.
    loop at i_upload2 into wa_upload2.
    *wa_item-item_id = v_num.
    *v_num = v_num + 1.
    wa_item-bom_group_identification = 'BAPI_SMP_COL1'.
    wa_item-object_type = 'ITM'.
    wa_item-object_id = 'SIM'.
    wa_item-item_no = wa_upload2-col1.
    wa_item-item_cat = wa_upload2-col2.
    wa_item-component = wa_upload2-col3.
    wa_item-comp_qty = wa_upload2-col4.
    wa_item-valid_from_date = sy-datum.
    append wa_item to i_item.
    endloop.
    loop at i_item into wa_item.
    loop at i_upload1 into wa_upload1 where col1 = wa_item-item_no.
    wa_subitem-bom_group_identification = 'BAPI_SMP_COL1'.
    wa_subitem-object_type = 'SUI'.
    wa_subitem-object_id = 'SIMP'.
    IF not wa_upload1-col5 is initial.
      on change of wa_upload1-col5.
    v_num = v_num + 1.
    wa_subitem-subitem_no = v_num.
    wa_subitem-subitem_qty = '1'.
    wa_subitem-installation_point = wa_upload1-col5.
    append wa_subitem to i_subitem.
    clear wa_subitem.
    endon.
    endif.
    clear wa_upload1.
    endloop.
    clear v_num.
    clear wa_upload.
    endloop.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
      TESTRUN                  = ' '
      ALL_ERROR                = ' '
      TABLES
        BOMGROUP                 = i_bomgroup
        VARIANTS                 = i_variant
       ITEMS                     = i_item
       SUBITEMS                  = i_subitem
        MATERIALRELATIONS        = i_header
       ITEMASSIGNMENTS           = it_itemas
       SUBITEMASSIGNMENTS        = it_subitemas
      TEXTS                    =
        RETURN                   = i_return.
    *if  i_return[] is initial.
    *CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    *write: /'BOM created:', stpo-stlnr.
    *else.
    *if not i_return[] is initial.
    *loop at i_return.
    WRITE:/ i_return-type, i_return-id, i_return-number,
             i_return-message.
    *ENDLOOP.
       IF i_return-TYPE = 'E'.
       errmsg-type = i_return-type.
       errmsg-line = i_return-message.
       append errmsg.
         ULINE /1(108).
         write:/ icon_led_RED as icon, i_return-MESSAGE.
         ULINE /1(108).
       ENDIF.
       IF i_return-TYPE = 'W'.
       errmsg-type = i_return-type.
       errmsg-line = i_return-message.
       append errmsg.
         ULINE /1(108).
         write:/ icon_led_YELLOW as icon, i_return-MESSAGE.
         ULINE /1(108).
       ENDIF.
    ENDLOOP.
    **write: / i_return-id, i_return-number, i_return-message(80).
    **endloop.
    **write: /'Error'.
    **endif.
    ENDFORM.                    " f_call_bapi
    *&      Form  f_error_display
          text
    -->  p1        text
    <--  p2        text
    FORM f_error_display.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    loop at i_return.
      WRITE:/ i_return-type, i_return-id, i_return-number,
              i_return-message.
    ENDLOOP.
    ENDFORM.                    " f_error_display

    Are u sure That BAPI is the right one to use to create BOM , I think this Error is coming from BAPI itself So try to Debug the BAPI from where its throwing the error.
    Regards
    prabhu

  • Outlook 2013 - Password change breaks S/MIME Certs "An error occurred in the underlying security system. Key not valid for us in specified state."

    AD password change comes up, user changes password.
    Tries to send signed or encrypted email with a Comodo S/MIME certificate, and gets the following error:
    ""An error occurred in the underlying security system.  Key not valid for us in specified state."
    I now have two reports of this error - one on Windows 7, and one on Windows 8.0 (remote user).
    The one on Windows 8.0, we tried removing their S/MIME cert from Outlook/Windows and re-adding, this did NOT resolve the issue.
    Plan was originally to have the 8.0 user ship their machine in, and wipe it, since nothing else could fix it and I wasn't finding anyone else with the same issue.  Now that I've got a second user with the same issue, its looking like a bug/issue and
    not a random glitch.
    Thanks in advance for any and all help with this!

    Hi,
    Thank you for your question.
    I am trying to involve someone familiar with this topic to further look at this issue.
    Thanks,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • Crystal report for visual studio 2010 data source object is not valid error

    Hello,
    I receive an "data source object is not valid" error when I want to print one CR document after setting an ADODB.Recordset on SetDataSource method of my report.
    On my developer station, this operation works without problem but on client station, I get this error.
    The redistributable package for client is installed on client side (CRRuntime_32bit_13_0_1.msi).
    Can someone help me?
    Thank you.

    Thank's for your answers
    Dim rsPkLst As ADODB.Recordset = Nothing
    Dim report As New crPickingList
    ' Fill ADODB.Recordset with SQL Statment
    If rsPkLst.RecordCount > 0 Then
          report.SetDataSource(rsPkLst) ' Error : The data source object is invalid
    EndIf
    This error appears during  "report.SetDataSource(rsPkLst)" instruction.
    ADODB drivers are already installed and my ADODB.Recordset is filled with good records.
    This project is an updated project from Visual Studio 2003 to Visual studio 2010 and the old version was running fine.
    Developer and client station runs under Windows XP SP3.
    On developer side I install CRforVS_13_0_1 (BuildVersion=13.0.1.220.Cortez_CR4VS).
    On client side I install CRRuntime_32bit_13_0_1.msi.
    Both stations use Microsoft .Net Framework 4.
    Move to ADO.NET is a solution but, for the moment, I do not have the time to change all applications from my company.
    (I get this error from all application updated from VS 2003 to VS 2010 developed since 2005)
    David.

  • After moving from Canada to the US, getting a new iPhone 5C, and restoring my backup from iCloud, I can't update my apps. I get an error message that my account is not valid in the Canadian App store and I must change to the US store. How do I do that?

    After moving from Canada to the US, getting a new iPhone 5C, and restoring my backup from iCloud, I can't update my apps. I get an error message that my account is not valid in the Canadian App store and I must change to the US store. How do I do that?

    Change here:
    Settings > iTunes & App Stores > Apple ID: > View Apple ID > Country/Region.
    You must have a verified billing address & be located in the country whose store you are trying to use.

  • Ssrs 2008 r2 error-Forward pointing dependencies are not valid

    In an existing SSRS 2008 r2, report, I am attempting to add a parameter called 'Customer_Category'. I am getting the following error message:
    The report paramter 'CustomerNumber' has a DefaultValue or a ValidVaue that depends on the report parameter 'Customer_Category'. Forward pointing dependencies are not valid.
    I am trying to determine how to fix this error. The 'CustomerNumber' is a parameter value that is obtained by reading from a dataset. In this dataset there are existing other parameters called 'Customer_Type' and 'Customer_Preference'. Both of these parameters
    obtain there values from selections that the user makes when the SSRS report is executing. There are no default values.
    I am trying to have the 'Customer_Category' be the same way where there are no default values and the user must select the parameter value when the report is executing. There should only be one value that the user can select from.
    The new parameter called 'Customer_Category' is the last parameter in the list of parameters. Does the order of parameters make a difference? If so, how can I move the 'Customer_Category' parameter in front of the customer_number parameter?
    Here is the sql that is used from obtaining a list of customers from the dataset for customer_number:
    SELECT   Distinct CustomerNumber   
    FROM   BridgeUserCustomer  
     WHERE
             Type =  @Customer_Type
      AND Preference = @Customer_Preference and Category = @Customer_Category
     GROUP BY CustomerNumber
    Would you tell me what is wrong and what I can do to solve the problem?

    Create independent datasets for each parameter and try once.
    Regards, RSingh

  • Error: "not a valid Frame file"

    I've created three RoboHelp HTML projects that
    reference Frame books. When I update one of the projects, I get the
    message "[file].fm could not be opened. Please verify this is a
    valid FrameMaker(R) document."
    If I right-click the file from within RHH, it opens in Frame.
    I'm not sure what it wants me to do to verify that it's valid.
    I've made sure that the book can be generated in Frame. I've
    verified that all cross-references are valid. I'm running out of
    things to check. And I can't figure out why one file out of six is
    considered not valid.
    Thanks for any help :-)
    Char James-Tanny

    Hi Char
    RoboHelp is trying to open the file and convert to MIF and is
    encountering errors. The error can be while opening the file,
    saving the file to MIF or because of a path mismatch. Please verify
    RoboHelp patch 7.0.2 is installed. There are a few things you can
    try here
    1. Open the file in FrameMaker before you run update in
    RoboHelp.
    2. Close RoboHelp, delete the .cpd file and re-start RoboHelp
    3. Save the file again in FrameMaker. Restart FrameMaker,
    then try update
    4. The last option is to remove the FrameMaker file and add
    it again in the project. It should not take more than a few minutes
    if your style mappings are already saved. You can export and import
    your style mappings (except for a cross-reference mappings. There
    is a bug when there are cross reference mappings present, RoboHelp
    exports an empty style mapping file).

  • ERROR: "key not valid for use in specified state" when updating to Lightroom 5.6 in Win8.1

    While doing a routine update from Lightroom 5.5 to v5.6 in Win 8.1, the installation halted at the start of the installation with the vague error message, "key not valid for use in specified state".  Although v5.5 was working just fine, the install routine deleted the v5.5 application files.  I rolled back to the previous system restore point (set just prior to the install) and recovered the executable files.  However, now the 5.5 files won't open the default catalog, none of the backups, or even create a new catalog.
    As v5.x was purchased as an update to v4.x, I've tried to reinstall the original Lightroom v4.x app from the factory disk.  I get the same error.
    Suggestions?
    Thanks. Dan

    I have a similar problem to Dan. while doing a routine upgrade from Lightroom 5.5 to 5.6 I got the
    : "key not valid for use in specified state"
    error and now Lightroom has completely disappeared. I've tried to uninstall, but there is nothing to uninstall. Going back to try to install the original 5.4 just results in the same error.
    A problem may have been that I closed Lightroom when the upgrade started to download. It then re-opened again when the install was halfway through., I assumed that was an error and closed it. just after that the error first appeared in the installer.
    I still had an older version of lightroom 4 installed. I've uninstalled it, and that didn't make any difference.
    I've also tried removing anything in the registry left over from the old installs and that didn't help either.
    Any suggestions?
    CHeers, Angus

  • Error occurred in deployment step 'Add Solution': Operation is not valid due to the current state of the object

    hi,
      when i was trying to deploy a SP  solution from my vs 2012 solution. this error  is displayed.
    i tried many things like
    1) get the wsp and apply power shell cmds to add and deploy, here also it failed:
    Add-SPSolution -LiteralPath d:\mywsp.wsp
    Install-SPSolution mywsp.wsp -GacDeployment -AllWebApplications -Local
    2) restart the timer services and  do  iisreset and  reboot the server. etc .as mentioned in one of the  the below  blogs:
    http://sharepoint1on1.blogspot.in/2014/04/sharepoint-error-occurred-in-deployment.html
    http://suehernandez.wordpress.com/2011/03/31/error-occurred-in-deployment-step-activate-features-operation-is-not-valid-due-to-the-current-state-of-the-object/
    http://www.dotnetsharepoint.com/2014/04/error-occurred-in-deployment-step-add.html
    http://social.msdn.microsoft.com/Forums/en-US/63adde23-03cf-4b65-923e-1219da94a780/error-occurred-in-deployment-step-add-solution-operation-is-not-valid-due-to-the-current-state-of?forum=sharepointdevelopmentprevious
    http://www.shakirmajeed.com/error-occurred-in-deployment-step-activate-features-operation-is-not-valid-due-to-the-current-state-of-the-object/
    but even after doing all these steps, the  error still persists!. and am not deploying into a remote server, the dev env is in a VM, where sp 2013, vs 2012, sql 2012  are installed.
    just wanna share one  note:   there is a isue in my search admin component. index was reset due to some reason. and from that time onwards my search full/incremental crawls were not working!
    will this cause an issue in my wsp deployment ? i hope  it wont, still  asking...
    can anyone help me how to resolve this error.because this is a  show stopper for me for the last few days!
    help is highly appreciated!

    This issue cause because of feature activation failure while WSP deployment.
    when you create a WSP using visual studio, it creates WSP package with default deployment configuration settings.
    Please restrict feature activation configuration, this will help you to troubleshoot this issue.
    - Click on Project in WSP and press F4, it will open "Project Properties"
    - set "Active deployment Configuration" - as "No Activation"
    - you can activate this features in required sequence after deployment using Activate-SPFeature
    If my contribution helps you, please click Mark As Answer on that post and Vote as Helpful
    Thanks, ShankarSingh(MCP)

  • Create asset-error"E003 SYST: Period 000 is not valid in financial year var

    Error during Asset Creation: E003
    AS01: Create asset was executed. During saving the asset got an error
    E003 SYST: Period 000 is not valid in financial year variant
    Following are the Depr keys assigned;
    LINA is being used for Book Depreciation
    MSTL Depreciation key is being used for ACRES, ALT MIN, ACE, E&P.
    Asset Class is Buildings

    Hello!
    I had the same problem a few month ago. There is a SAP note about this. Run the Asset Year end technical proces in ARJW. Try again your asset creation.
    Greetings,
    Stéphane

  • BEX Error: SYST: Period 053 is not valid in financial year variant M2

    Hi All,
    We have a merchandising report which bring the data for current year and previous year. While I execute the data for Fiscal Year/Period - 011.2011, I get the output. But when I execute the report for Fiscal Year/Period - 012.2011, I receive the below error.
    SYST: Period 053 is not valid in financial year variant M2
    We have variants M4 and M2.
    M4 is month wise where are M2 is weekly.
    In table T009B, we have a record for week 053 for year 2011 whereas we don't have a record for week 053 in year 2010. This is obvious as there are only 52 weeks in 2010 but 53 in 2011.
    I'm not able to track the exact reason for this error.

    Hi All,
    Thanks for the reply.
    I have tried maintaining entry for week 053 against year 2010 in T009B but this didn't work. I checked the 'Check Table' button for any dependencies and I saw T009 table.
    I maintained the entry as below in T009 table and it worked. Can someone explain how this work?
    Earlier entry for which I received the error:
    Fi.Year Variant    Year-dependent     Posting period    Special        Periods Description
    M2                            X                      052                     00              Retail Calendar Weekly
    Changed entry for which the error stopped appearing
    Fi.Year Variant    Year-dependent     Posting period    Special        Periods Description
    M2                            X                      053                     00              Retail Calendar Weekly
    Please help me understand so that if I transport the entry to Production, I don't face any serious issues.
    Regards,
    Murthy

  • Error in AS01 E003 SYST: Period 000 is not valid in financial year variant

    Hello SAP Gurus,
    I am encountering an error when creating an asset for a certain CC. Upon saving, error message 'E003 SYST: Period 000 is not valid in financial year variant' appears which prevents me creating the asset. My FY Variant K4 is already assigned in the correct company code. Not sure if this has something to do in period control, posting period or FY variant.
    Can someone help me explain the root cause of my error?
    Thanks in advance.
    Carlo

    Basically, period control will determine the depreciation start date. For 02, it is Pro rata upto mid-period at period start date.
    This is means that for asset value date after mid month, depreciation will be start from next month.
    As an example,
    asset value date from 01.01.2012 to 15.01.2012  -> Depreciation start date is 01.01.2012
    asset value date from 16.01.2012 to 31.01.2012  -> Depreciaiton start date is 01.02.2012
    etc

Maybe you are looking for

  • Can You Create Trend Line in CFCHART?

    Have pretty much got CF7 Charts and WebCharts3D down, at least to the point where they can do what I need the most. However, the one thing I'd like to be able to do, but not sure if it's possible, is create a TREND LINE. This would be a LINE charts w

  • Update Infotype form within a class

    In a class i want to insert a new infotype record, normally when i use FM HR_INFOTYPE_OPERATION a excisting intotype record is automaticaly delimited om new begda minus one day. HR_INFOTYPE_OPERATION can not be used in classes. For Hr fenefits therei

  • Need clarification on exact size/amount of Artic Silver to apply on AMD64 3000+

    I am installing the OEM HSF on my AMD64 3000+ winchester CPU using Artic Silver and I need a bit of clarification about the size/amount of the Artic Silver blob that I need to put on the CPU heat spreader. EDIT - I'm reading the Artic Silver instruct

  • Creating Delivery related Intercompany Billing with revenue transfer

    Hi, I  am required to design a Delivery related Intercompany process where Intercompany Invoice created would be based on revenue transfer from Customer Invoice where Pricing conditions are required to be copied from Customer Invoice Instead of Sales

  • Java Regex Question

    I wanted to do some regex to see if a string has a subdomain. I want to pass string then check if there is a xxx.example.com or if it's just example.com. Anyone have a clue? Thanks, Brian