Compiling rdlc in VS2013 - error Original compiler return value: '-1073741511'

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.

+1
source share
1 answer

This answer was sent only on another question that might help in your problem: fooobar.com/questions/997338 / ...

To solve the RDLC build problem, I had to do the following (a lot of digging):

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

+1
source

All Articles