Error when trying to use workflow execution manager

Aug 25, 2016 at 11:39 PM
Hi All, I got an error that says this and I'm not sure how to resolve this one. I can no longer use the workflow execution manager...

There was an error deserializing the object of type System.Collections.Generic.List'1[[MSCRMToolKit.MSCRMWorkflowExecutionProfile, MSCRMWorkflowExecutionManager, Version=1.0.1.25137, Culture=neutral, PublicKeyToken=null]]. The maximum string content length quote (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 249.

Please help.

Thanks!
Coordinator
Aug 29, 2016 at 4:48 PM
Hello,

I cannot reproduce this problem. Just tested it with a brand new online solution.
How many records are you trying to execute the workflow for and can you send me the FetchXMl query used to target the records ?

Thanks
Aug 29, 2016 at 5:32 PM

Hi Zivanov,

The problem isn’t replicating it for me. It’s that I am unable to use the workflow execution manager at the moment =( Here is the fetch XML.

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false">

<entity name="rfr03_pricingitem">

<attribute name="rfr03_pricingitemid" />

<attribute name="rfr03_yearrate" />

<attribute name="rfr03_weekrate" />

<attribute name="rfr03_seasonrate" />

<attribute name="rfr03_saleprice" />

<attribute name="rfr03_rate" />

<attribute name="rfr03_productid" />

<attribute name="rfr03_monthrate" />

<attribute name="rfr03_minimumweekrate" />

<attribute name="rfr03_minimumrate" />

<attribute name="rfr03_minimumdayrate" />

<attribute name="rfr03_minimumcyclerate" />

<attribute name="rfr03_dayrate" />

<attribute name="rfr03_cyclerate" />

<order attribute="rfr03_productid" descending="false" />

<filter type="and">

<condition attribute="rfr03_pricelistid" operator="in">

<value uiname="001 - Brampton" uitype="pricelevel">{B47C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="002 - Sarnia" uitype="pricelevel">{B57C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="003 - Calgary" uitype="pricelevel">{B67C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="004 - Vancouver" uitype="pricelevel">{B77C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="017 - La Porte" uitype="pricelevel">{BB7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="019 - Groves" uitype="pricelevel">{BC7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="020 - Birmingham" uitype="pricelevel">{BD7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="022 - Midland" uitype="pricelevel">{BE7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="023 - Omaha" uitype="pricelevel">{BF7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="024 - Triadelphia" uitype="pricelevel">{C07C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="025 - Arlington, TX" uitype="pricelevel">{C17C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="026 - Petersburg" uitype="pricelevel">{C27C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="027 - Kennesaw" uitype="pricelevel">{C37C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="028 - Charlotte" uitype="pricelevel">{C47C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="029 - North Salt Lake" uitype="pricelevel">{C57C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="030 - Long Beach" uitype="pricelevel">{C67C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="031 - Bakersfield" uitype="pricelevel">{C77C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="032 - Woodland" uitype="pricelevel">{C87C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="033 - Westside Pump" uitype="pricelevel">{C97C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="034 - Reno" uitype="pricelevel">{CA7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="035 - Salinas" uitype="pricelevel">{CB7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="036 - Riverside" uitype="pricelevel">{CC7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="037 - Imperial" uitype="pricelevel">{CD7C55B1-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="039 - Santa Paula" uitype="pricelevel">{FB256FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="042 - Baltimore" uitype="pricelevel">{FD256FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="044 - Conway" uitype="pricelevel">{FF256FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="045 - Oakley" uitype="pricelevel">{00266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="046 - Arlington, WA" uitype="pricelevel">{01266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="047 - Monroeville" uitype="pricelevel">{02266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="048 - Geismar" uitype="pricelevel">{03266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="049 - Joliet" uitype="pricelevel">{09266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="050 - Linden" uitype="pricelevel">{0D266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="051 - San Joaquin" uitype="pricelevel">{0E266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="052 - Indianapolis" uitype="pricelevel">{0F266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="053 - Avon" uitype="pricelevel">{10266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="054 - North Oxford" uitype="pricelevel">{11266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="055 - South Gibson" uitype="pricelevel">{12266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="056 - Fort Lupton" uitype="pricelevel">{13266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="057 - Yuma" uitype="pricelevel">{14266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="058 - Roosevelt" uitype="pricelevel">{15266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="059 - Portland" uitype="pricelevel">{16266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="060 - Kenedy" uitype="pricelevel">{17266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="061 - Elk River" uitype="pricelevel">{18266FB7-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="064 - Brownstown" uitype="pricelevel">{9AD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="066 - Strasburg" uitype="pricelevel">{9CD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="067 - Sulphur" uitype="pricelevel">{9DD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="068 - Mobile" uitype="pricelevel">{9ED069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="069 - Corpus Christi" uitype="pricelevel">{9FD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="070 - Cheyenne" uitype="pricelevel">{A0D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="071 - Las Vegas" uitype="pricelevel">{A1D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="072 - Minot" uitype="pricelevel">{A2D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="073 - Cortez" uitype="pricelevel">{A3D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="074 - Dickinson" uitype="pricelevel">{A4D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="075 - Greeley" uitype="pricelevel">{A5D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="076 - Elko" uitype="pricelevel">{A6D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="077 - Kingsport" uitype="pricelevel">{A7D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="078 - Charleston" uitype="pricelevel">{E2A13DB1-6356-E511-80E7-C4346BB5982C}</value>

<value uiname="079 - Gillette" uitype="pricelevel">{A8D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="080 - Marbleton" uitype="pricelevel">{A9D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="081 - Evanston" uitype="pricelevel">{AAD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="082 - Billings" uitype="pricelevel">{ABD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="083 - Pontoon Beach" uitype="pricelevel">{ACD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="084 - Trinidad" uitype="pricelevel">{ADD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="086 - Rifle" uitype="pricelevel">{AFD069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="087 - Kenai" uitype="pricelevel">{B0D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="088 - Tucson" uitype="pricelevel">{B1D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="089 - San Antonio" uitype="pricelevel">{B2D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="090 - Sunray" uitype="pricelevel">{B3D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="091 - Grayville" uitype="pricelevel">{B4D069BD-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="092 - Chandler" uitype="pricelevel">{B5658FC3-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="095 - Stockton" uitype="pricelevel">{B7658FC3-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="096 - Nampa" uitype="pricelevel">{B8658FC3-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="097 - Paul" uitype="pricelevel">{B9658FC3-3E32-E511-80E3-C4346BAC124C}</value>

<value uiname="098 - Idaho Falls" uitype="pricelevel">{BA658FC3-3E32-E511-80E3-C4346BAC124C}</value>

</condition>

</filter>

<link-entity name="product" from="productid" to="rfr03_productid" alias="ad">

<filter type="and">

<condition attribute="rfr03_productcategory" operator="in">

<value>874990002</value>

<value>874990003</value>

</condition>

</filter>

</link-entity>

</entity>

</fetch>

Hannah Lee

CRM Product Manager | Rain for Rent

3404 State Road, Bakersfield, CA 93308

Office: (661) 634-6612

Coordinator
Aug 29, 2016 at 9:55 PM
Edited Aug 30, 2016 at 10:58 PM
Hi Hannah,

I think I found the problem. The legth of your FetchXML query was too long for the default XML parser. I've updated it to the maximum value and it should be ok.

Can you send me an email and I'll replay you an updated version to test.

Cheers,
Zoran