locked
Build Error RRS feed

  • Question

  • Hi All,

    Getting following error.

    System.String’ must be Xml serializable to be a message part type — check event log for more information.

    Restarted VS and check option delay Sign to false, But sill the error persist.

    Any Suggestions.

     

    Monday, June 29, 2015 9:52 AM

Answers

  • Thanks All,

    I have resolved the issue,Root cause was Project saved on network drive and once save locally everything was fine. 

    • Marked as answer by BTS User Thursday, July 2, 2015 11:14 AM
    Thursday, July 2, 2015 11:14 AM

All replies

  • Without any specifics, this error implies that you've selected a .Net Class as your message type. The selected class is NOT MARKED as XML Serializable.

    Regards.

    Monday, June 29, 2015 10:26 AM
  • Select Variable type instead of Message Type.

    Thanks&Regards,

    Ammu4Biz

    Monday, June 29, 2015 11:06 AM
  • All Types used in an Orchestration must be either:

    A) Serializable so they can be persisted to the MessageBox.

    B) Contained within an Atomic Scope so they can not be persisted.

    Monday, June 29, 2015 11:44 AM
    Moderator
  • Hi,

    If you are using .Net class as message type than the class not be marked as serializable .else you need to specify the message type as schema type .

    Thanks

    Abhishek

    Monday, June 29, 2015 11:49 AM
  • Thanks All,

    I have resolved the issue,Root cause was Project saved on network drive and once save locally everything was fine. 

    • Marked as answer by BTS User Thursday, July 2, 2015 11:14 AM
    Thursday, July 2, 2015 11:14 AM
  • Well...probably not.  If the location is trusted, the compiler doesn't really know or care where the source is.  If the location is not trusted, there will be other, bigger, problems.
    Thursday, July 2, 2015 11:39 AM
    Moderator