This is a follow up to the last post regarding Reports in AX.
When I tried the report I published I got an other error: The DefaultValue expression for the report parameter ‘AX_CompanyName’ contains an error: Request for the permission of type ‘System.Security.Permissions.EnvironmentPermission
When I tried the report again it worked… Weird!
Apparently it has to do with the configuration of SSRS. If you open the SSRS configuration file called rssrvpolicy.config in
C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer
Find the line PermissionSetName=’Execution’ and change it to PermissionSetName=”FullTrust” (remember to make a backup of the file before you change it)
/Johan