Microsoft.ReportViewer.Common给出“访问被拒绝”错误
||
使用.NET 4.0,我有一个使用ReportViewer对象的小型ASP.NET应用程序,我创建了一个网页,该网页接受一些用户输入,并生成一个报表,该报表使用Reportinger控件将ProcessingMode设置为local。
自然,当通过VS 2010以调试模式运行时,以及如果将其发布到在本地计算机上运行的IIS上,它都能完美运行。但是,当我将其推向生产环境时,在实际尝试运行报告时遇到以下错误
对于受损的图像:
Failed to load expression host assembly. Details: Could not load file or assembly \'Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a\' or one of its dependencies. Access is denied.
我已验证该程序集(以及其他reportviewer依赖项)在GAC中。服务器上的事件日志似乎没有任何错误。
有什么想法可能是许可问题吗?
没有找到相关结果
已邀请:
2 个回复
粳饶瓢部
凄挡