web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SSRS build Visual Studio 13 Error - Loading this assembly would produce a different grant set from other instances.

(0) ShareShare
ReportReport
Posted on by

Okay, I know this has been answered with instructions for adding 'COMPLUS_LoaderOptimization' under system security, but that opens up another problem for me. Yes, it fixed the error from occurring, but it only allows me to make changes to my SSRS report on the USR layer when I add that setting. I have the parameters set on the shortcut for Visual Studio, but it always opens in USR layer (we save changes on VAR layer) when opening Visual Studio. Same thing if I try to edit project from inside of AX...it opens USR layer although I'm working in VAR layer.

The other odd thing is that it's only happening on one SSRS report that I know of ...others I've tried open and build without error.  I've tried restoring from previous history and from .xpo in PROD environment, but still get the error. I don't know why it all of a sudden stopped working...it has always built without error until now and nothing has changed in our environment (that I'm aware of). Any ideas?

ERROR:

Error 1 Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401) C:\Program Files (x86)\MSBuild\Microsoft\DynamicsTools\Microsoft.Dynamics.Framework.Design.Reporting.Modeling.targets 103 6 psaprojinvoice

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans