![]() |
#1 |
Участник
|
emeadaxsupport: “Maximum number of items that can be serialized or deserialized in an object graph is '65535'.” In Dynamics AX 2012
Источник: http://blogs.msdn.com/b/axsupport/ar...s-ax-2012.aspx
============== If you receive an error message like: Maximum number of items that can be serialized or deserialized in an object graph is '65535'. And the Article: https://technet.microsoft.com/en-us/.../gg862502.aspx Is not fixing the issue for you. Please use the following steps: PART 1 https://technet.microsoft.com/en-us/.../gg862502.aspx Ax32serv.exe.config need to be updated in your system to match the below as from the article above. 1) Update the ServiceBehavior MetadataServiceBehavior to increase the maxItemsInObjectGraph, by adding the dataContractSerializer object. Endpoints and select the MetadataServiceEndpoint. 19) Set the BehaviorConfiguration property for the endpoint to your MetadataEndpointBehavior (it should show up in the drop down to be selected) ![]() 20) File > Save To save your configuration changes, then close the WCF configuration editor 21) Back in the AX client configuration utility click Apply to save the changes 22) Restart the SSRS service 23) Run the report and it should now work Note Manually changing the config on the SSRS server means if any services are reconfigured it will not automatically pick up those changes. Any changes made server side (through Ax32Serv.exe or through Inbound Ports form) will have to be updated in the config manually on this machine, or they can click Refresh to get the latest config and then recreate the endpoint behavior. Given Visual Studio doesn't pick this up either, it seems typical that an application will not inherit endpoint behaviors from a service. Ideally you would just get your customizations to a point that the defaults do not need to be overridden. Related to this Note and Part 2 please note that there is a possibility to configure a separate AXC file for SSRS BC use only. Please see https://technet.microsoft.com/EN-US/library/hh389774.aspx Notice: "Microsoft provides programming examples for illustration only, without warranty expressed or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose. This mail message assumes that you are familiar with the programming language that is being demonstrated and the tools that are used to create and debug procedures." This is not an officially tested solution by Microsoft and should be fully tested before implementation. Writer: Uwe Zimmermann <a href="mailto:uwezim@microsoft.com"uwezim@microsoft.com/a> Источник: http://blogs.msdn.com/b/axsupport/ar...s-ax-2012.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|