在 VS2013 中编译 rdlc - 错误本机编译器返回值:'-1073741511' [英] Compile rdlc in VS2013 - error Native compiler return value: '-1073741511'

查看:46
本文介绍了在 VS2013 中编译 rdlc - 错误本机编译器返回值:'-1073741511'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在安装 Visual Studio 2015 后,即使在 VS2013 中,我也无法再编译我的 rdlc(报告)文件 - 它曾经编译没有错误.我收到以下错误:

After installing Visual Studio 2015 I am not longer able compile my rdlc (report) file even in VS2013 - where it used to compile without error. I getting the following error:

An unexpected error occurred while compiling expressions. 
Native compiler return value: ‘-1073741511’.    

通过试验一个错误,我发现删除像

Through trial an error I have found that removing expressions like

=IIf(IsNothing(First(Fields!ActualQuantity.Value, "DataSet1")),"",First(Fields!ActualQuantity.Value, "DataSet1"))

=IIf(IsNothing(First(Fields!ActualQuantity.Value, "DataSet1")),"",First(Fields!ActualQuantity.Value, "DataSet1"))

="从网站生成" + FormatDateTime(Now(),DateFormat.ShortDate)

="Generated from website " + FormatDateTime(Now(),DateFormat.ShortDate)

甚至

=""

将防止此错误,而以下内容很好:

will prevent this error, while the following is fine:

(好)
=First(Fields!CarrierName.Value, "DataSet1")

(GOOD)
=First(Fields!CarrierName.Value, "DataSet1")

我实际上需要这些表达式,所以希望有人可能熟悉这个问题并能够提供跟踪解决方案的指导.

I actually need those expressions, so hoping someone might be familiar with this problem and be able to provide guidance for tracking down a solution.

不幸的是,其他开发人员(和构建服务器)在编译这份报告时没有问题,所以我是个奇怪的人.

Unfortunately, other developers (and the build server) do not have a problem with compiling this report, so I'm the odd man out.

推荐答案

这个答案刚刚发布在另一个可能对您的问题有帮助的问题上:https://stackoverflow.com/a/33917391/5583585

This answer was just posted on another question that might help your issue: https://stackoverflow.com/a/33917391/5583585

为了解决 RDLC 构建问题,我必须执行以下操作(大量挖掘):

In order to resolve the RDLC build problem I had to do the following (lots of digging):

https://support.microsoft.com/en-us/kb/3118750 场景解析2 客户必须卸载更新 3098779 和 3097997,如果他们有将他们的系统升级到 .NET Framework 4.6 或已安装来自完全更新的 .NET 4.5.1 或 4.5.2 系统的 Visual Studio 2015已安装更新 3098779 和 3097997.

https://support.microsoft.com/en-us/kb/3118750 Resolution for scenario 2 Customers have to uninstall updates 3098779 and 3097997 if they have upgraded their systems to the .NET Framework 4.6 or have installed Visual Studio 2015 from a fully updated .NET 4.5.1 or 4.5.2 system that has updates 3098779 and 3097997 installed.

这篇关于在 VS2013 中编译 rdlc - 错误本机编译器返回值:'-1073741511'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆