"Serialization. serializationexception: The end of the stream is encountered before the analysis is complete" SOLUTION

Source: Internet
Author: User
This problem occurs during workflow creation.
I checked it for two days and read ArticleBecause your class cannot be serialized. However, this problem still exists when you remove your classes.
After searching for variables one by one, it is found that the Web and site variables are declared as Class-level variables to cancel the variables, and the problem is solved.
Other: Some types do not support serialization. You can check them.
In addition, some private variables cannot be serialized and need to be marked as non-serialized.
<Nonserialized ()> private anyattrfield () as system. xml. xmlattribute
Http://social.msdn.microsoft.com/forums/en-US/sharepointworkflow/thread/5bf2ed45-da4b-4c64-9ea3-aa6974fe2ab7/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.