.net Reporting Services WinForms安全权限

.net Reporting Services WinForms安全权限,.net,winforms,rdlc,.net,Winforms,Rdlc,我在尝试从模糊的exe执行WinForms RDLC报告时检索以下错误: Failed to load expression host assembly. Details: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' fa

我在尝试从模糊的exe执行WinForms RDLC报告时检索以下错误:

Failed to load expression host assembly. Details: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
我有所有必需的DLL:

Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.DataVisualization.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll
Microsoft.ReportViewer.WinForms.dll
Microsoft.ReportViewer.WinForms.resources.dll
Microsoft.SqlServer.Types.dll
如果我尝试从一个未融合的exe执行报告,它工作正常,我尝试了附加和未附加到exe的DLL,但它不工作


我使用的是.NET Framework 3.5和RDLC 11.0.3452版。

您到底用什么来混淆代码?这显然是你的问题的原因。嗨,我正在使用windows提供的模糊器