Thursday, September 13, 2012

AX2012 SSRS System.Security.Permissions.SecurityPermission error

Recently I encountered this error when generating SSRS report. The error is further described here.

Unfortunately, the suggested solution in the link didn’t solve my problem. Instead, the following change worked for me.

Look for:

<CodeGroup class="FirstMatchCodeGroup" version="1" PermissionSetName="Execution" Description="This code group grants MyComputer code Execution permission. ">

Then change to:

<CodeGroup class="FirstMatchCodeGroup" version="1" PermissionSetName="FullTrust" Description="This code group grants MyComputer code Execution permission. ">

Cheers~

2 comments:

  1. Thanks, this worked for me too.

    ReplyDelete
  2. thanks, it worked for me too.

    ReplyDelete