Dynamics AX2012 supports the ability to install multiple instances of reporting services on the same computer, which is great for Development and Testing environments.  The steps are outlined here on TechNet (http://technet.microsoft.com/en-us/library/hh389760.aspx).

When running a report for the first time in AX after you have restarted the SSRS instance you receive the error,

“The DefaultValue expression for the report
parameter ‘AX_CompanyName’ contains an error: Request for the permission of type
‘System.Security.Permissions.EnvironmentPermission, mscorlib, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089′ failed.
(rsRuntimeErrorInExpression)”.
¨
Once the report is run again, it runs without error.  To get by the error, you will need to edit the RsSrvPolicy.config file located in the ReportServer folder of the installed instance…setting the PermissionSetName=”FullTrust” as shown below.(https://community.dynamics.com/product/ax/axtechnical/b/axsupport/archive/2012/02/02/microsoft-dynamics-ax-2012-reporting-extensions-error-system-security-permissions-environmentpermission-while-running-report.aspx)
¨
<CodeGroup
class=”UnionCodeGroup”
version=”1″

PermissionSetName=”FullTrust

Name=”Report_Expressions_Default_Permissions”
Description=”This code
group grants default permissions for code in report expressions and Code
element. “>

[..]

</CodeGroup>

1,627

Sorry, the comment form is closed at this time.

Search

Subscribe

Subscribe to the Winfosoft Blog to receive new blog posts right to your inbox!


Contact Information

Winfosoft Inc.

6864 Susquehanna Trail South

York, Pa. 17403

Phone : 717-428-1233

Fax : 717-326-1037

Email : info@winfosoft.com

Quick Contact

Countries We Serve

Our geographic focus in North America and the Caribbean with offices in Canada, United States and Trinidad and Tobago.