AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
DAX
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 30.04.2015, 18:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,644 / 848 (80) +++++++
Регистрация: 28.10.2006
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, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: New and updated content is available for cumulative update 6 for Microsoft Dynamics AX 2012 R2 Blog bot DAX Blogs 0 27.06.2013 19:11
amer-ax: It was a great day! Blog bot DAX Blogs 3 29.12.2012 01:02
rumicrosofterp: Dynamics AX на Convergence 2012 Blog bot Microsoft и системы Microsoft Dynamics 0 13.01.2012 11:11
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 08:16.