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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 07.10.2021, 13:24   #1  
Ventainais is offline
Ventainais
Участник
 
13 / 10 (1) +
Регистрация: 31.08.2019
SSRS report retrieving field metadata error
Hello all!


I have an ssrs report which uses data provider classes and temp tables for data.
In the temporary table I added a new string field, I synchronized the table, compiled the DP classes and it's controller class (additionally used compile forward).

The problem I have is, when I deploy the report through Ax management shell, I get an error:
Publish-AXReport : The AXRDCE extension caught an unexpected exception for repo
rt SalesQuotation.
The error message was:
An exception occurred when retrieving the field metadata for the field Name_LF
in table SalesQuotationDetailsTmp.


The report has more then one design, I use the new added string field in one design and the deploy command finishes without errors, but when I add the same new field in my other design, I get the above mentioned error.

I think I tried everything what I could come up in with, AOS and reporting services restart won't help.

Does anyone else have an idea what I could try?
Старый 07.10.2021, 17:08   #2  
sukhanchik is offline
sukhanchik
Administrator
Аватар для sukhanchik
MCBMSS
Злыдни
Лучший по профессии 2015
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,308 / 3540 (125) ++++++++++
Регистрация: 13.06.2004
Адрес: Москва
AX 2012?

For AX 2012:
Let's try the standard actions first.
1. Let's compile all our objects without errors and build a complete CIL (Close Visual Studio)
2. Restart AOS
3. Launch Visual Studio
4. Remove the DP-class from the SSRS-report along with the fields and parameters that were registered there
5. Let's save the SSRS-report and the project in AOT and make sure that the compilation of the report and the project occurs without errors.
6. Let's re-add the DP-class to the report as a data source
7. Let's rewrite the fields in the controls.
8. We'll compile everything and rebuild the full CIL
9. After any assembly of a complete CIL - restart the AOS.

Errors should go away
__________________
Возможно сделать все. Вопрос времени
Старый 08.10.2021, 09:21   #3  
Ventainais is offline
Ventainais
Участник
 
13 / 10 (1) +
Регистрация: 31.08.2019
Thank You for the response.

step 4. remove DP class from report.

I understand that if I remove the DP class from the report, then I have to delete the report textboxes in them, because they are referencing the data, do I understand that right?
Старый 08.10.2021, 13:20   #4  
sukhanchik is offline
sukhanchik
Administrator
Аватар для sukhanchik
MCBMSS
Злыдни
Лучший по профессии 2015
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3,308 / 3540 (125) ++++++++++
Регистрация: 13.06.2004
Адрес: Москва
Цитата:
Сообщение от Ventainais Посмотреть сообщение
Thank You for the response.

step 4. remove DP class from report.

I understand that if I remove the DP class from the report, then I have to delete the report textboxes in them, because they are referencing the data, do I understand that right?
There are 2 options.
1. It is enough to delete the class, save and close the report. Then add the DP class again. The report will work.
2. Remove the class, then clear all field references to fields, save and close the report. Then add the DP class and manually re-reference the fields.

The DP class must be removed from the report. It won't work without it. But I usually had enough of option 1
__________________
Возможно сделать все. Вопрос времени

Последний раз редактировалось sukhanchik; 08.10.2021 в 22:54.
Старый 08.10.2021, 13:59   #5  
Ventainais is offline
Ventainais
Участник
 
13 / 10 (1) +
Регистрация: 31.08.2019
Thank You sukhanchick, everything is fine now.
Теги
axapta 2012, field metadata, report deploy exception, ssrs

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
dynamicsaxse: November 2018 Release – Dynamics AX2012 R3 update Blog bot DAX Blogs 0 15.11.2018 09:11
bojensen: Dynamics AX 2012 error when running SSRS-reports just after deleting a table field from report’s temporary table – Addicted2AX / Addicted2SQL Blog bot DAX Blogs 0 09.01.2013 17:11
emeadaxsupport: Error viewing an SSRS Report from Microsoft Dynamics AX 2009 - Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occured while processing the request on the server Blog bot DAX Blogs 0 22.03.2012 02:13
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
при построении перекрёстных ссылок выдаётся сообщение об ошибках mmmax DAX: Программирование 10 21.01.2005 12:42

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

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

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