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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 26.01.2012, 19:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Microsoft Dynamics AX 2012 Reporting extensions: Error System.Security.Permissions.SecurityPermission while running report
Источник: http://blogs.msdn.com/b/axsupport/ar...ng-report.aspx
==============

Sometimes we can see that when running some Reporting Services report (ie: TS_DeliveryPerformanceWebPart.Report we get error

System.Security.Permissions.SecurityPermission
Aditionaly in Microsoft SQL Reporting Services log you can see following error

ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'ConfirmDateParameterValues'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.SecurityException: System.Security.Permissions.SecurityPermission at
TS_DeliveryPerformanceWebpart.ConfirmDateDataTable()
The type of the first permission that failed was: System.Security.Permissions.SecurityPermission
The Zone of the assembly that failed was:
MyComputer
The issue happens because of not correct entry in file rssrvpolicy.config. To fix the problem.

1. Open rssrvpolicy.config
  • If you are using SQL Server 2008, the default location of this file is: \Program Files\Microsoft SQL Server\MSRS10.[SSRSInstanceName]\Reporting Services\ReportServer.
  • If you are using SQL Server 2008 R2, the default location of this file is: \Program Files\Microsoft SQL Server\MSRS10_50.[SSRSInstanceName]\Reporting Services\ReportServer.
2. Double check that entries like (all business logic libraries):








are located under entry


The problem can occur when you used msdn article: http://technet.microsoft.com/en-us/l.../hh389762.aspx as the step 7 in section "Modify the report server RsSrvPolicy.config" we should add the mentioned tag in section:




We are working on changing this article.

You can also open the configuration file from default environment and compare it with the one from changed environment.



--author:Jolanta Malkowska, Czesława Langowska Vliegen--ediror:Czesława Langowska Vliegen


Источник: http://blogs.msdn.com/b/axsupport/ar...ng-report.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Microsoft Dynamics AX 2012 Reporting: How to run reports that executes longer than 10 minutes Blog bot DAX Blogs 0 25.01.2012 10:11
emeadaxsupport: Microsoft Dynamics AX 2012 Reporting Services – Scale-out deployments Blog bot DAX Blogs 0 28.11.2011 00:14
emeadaxsupport: Debugging Microsoft Dynamics AX 2009 SSRS reports with Microsoft Visual Studio 2008 Blog bot DAX Blogs 0 26.07.2009 15:07
Developer for Microsoft Dynamics AX Certification Roadmap Blog bot DAX Blogs 1 13.05.2009 16:17
Inside Dynamics AX 4.0: The Security Framework Blog bot DAX Blogs 0 31.10.2007 11:40

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

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

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