After installing Visual Studio 2015, I can no longer compile the rdlc (report) file even in VS2013, where it was used to compile without errors. I get the following error:
An unexpected error occurred while compiling expressions. Native compiler return value: '-1073741511'.
Through a trial error, I found that deleting expressions like
= IIf (IsNothing (First (Fields! ActualQuantity.Value, DataSet1)), "", First (Fields! ActualQuantity.Value, DataSet1))
and
= "Generated from site" + FormatDateTime (Now (), DateFormat.ShortDate)
and even
= ""
will prevent this error while the following will be fine:
(WELL)
= First (Fields! CarrierName.Value, "DataSet1")
I really need these expressions, so I hope someone can be familiar with this problem and be able to provide guidance to track the solution.
Unfortunately, other developers (and the build server) have no problem compiling this report, so I am a strange person.
source share