最新消息:ww12345678 的部落格重装上线,希望大家继续支持。

Dynamics AX 2012 R3 Report Deployment Error with Visual Studio 2013

网络文摘 William 2295浏览 0评论

Issues:

When deploying a report in R3 with VS 2013, you might see the error below

The “GenerateRdlTask” task failed unexpectedly.

System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

image

Solutions

1. Open the Start Menu and right click on Computer. Select Properties.

2. Select Advanced system settings.

3. In the Advanced tab, select Environment Variables.

4. Select New.

5. Set Variable Name: COMPLUS_LoaderOptimization

6. Set Variable Value: 1

image

image

7. Log out and log back in

8. Open the report using VS 2013 and try again.


发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址