[英]RDLC: An error occurred during local report processing
I am encountering a problem when I upload my application in the file server,我在文件服务器中上传我的应用程序时遇到问题,
If I run the report that is included in my web application, a problem is occurred:如果我运行包含在我的 web 应用程序中的报告,则会出现问题:
An error occurred during local report processing.本地报告处理期间发生错误。 The definition of the report 'App_Reports\sampleReport.rdlc' is invalid.报告“App_Reports\sampleReport.rdlc”的定义无效。 An unexpected error occurred while compiling expressions.编译表达式时出现意外错误。 Native compiler return value: '[BC2001] file 'C:\Windows\TEMP\oxdarnay.0.vb' could not be found'.本机编译器返回值:'[BC2001] 文件 'C:\Windows\TEMP\oxdarnay.0.vb' 找不到'。
The problem occurred when I include this expression in the table in RDLC当我将此表达式包含在 RDLC 的表中时出现问题
=(Fields!Field1.Value + Fields!Field2.Value) - Fields!Field2.Value
When I do not include that expression, the report is properly working with no errors.当我不包含该表达式时,报告可以正常工作,没有错误。
When I run it locally in my computer including that expression, there is no problem, what could be the possible problem with this?当我在我的计算机上本地运行它时,包括那个表达式,没有问题,这可能是什么问题? Is the IIS in the file server is not properly configured?文件服务器中的IIS是不是没有配置好?
You have to change the AppPool account to a user with write permissions to the TEMP directory. 您必须将AppPool帐户更改为具有TEMP目录写入权限的用户。
Link: ASP.NET ReportViewer Native compiler return value: '[BC2001] file' error 链接: ASP.NET ReportViewer Native编译器返回值:'[BC2001] file'错误
I tried following solution in Visual studio 2013 and it worked, 我尝试在Visual Studio 2013中使用以下解决方案并且它有效,
Solution: 解:
An error occurred during local report processing.本地报告处理期间发生错误。
The problem occurred when I include parameters in the table in RDLC and try to debug当我在 RDLC 的表中包含参数并尝试调试时出现问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.