cancel
Showing results for 
Search instead for 
Did you mean: 

.Net Framework 4.7.2 update breaks crystal reports with 13.0.20

shivjipatel
Discoverer
0 Kudos

With have an application that run Crystal reports using .net viewer and ufl, we have targeted for .net framework 4.0 and using 13.0.20 both on dev machine and client machine. When framework 4.7.2 is installed then the reports stop working and can not locate UFL functions, we have lots of clients that have the runtime already installed and would be a bot of a pain to get them to update both framework and crystal runtime all at the same time, any one have any ideas ?

Accepted Solutions (1)

Accepted Solutions (1)

DellSC
Active Contributor

Since .NET 4.7.2 came out after Crystal for VS 13.0.20, there is no guarantee that they will work together. Also, if you upgrade the runtime, you'll also have to recompile your code with the same version of Crystal for VS as the runtime - the current latest version is SP 23 and it's the first version that will support .NET 4.7.2.

See the wiki here https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads for information about code changes you may need to make and for the link to download the latest. When you get to the download screen, the orange button will download the integration with Visual Studio. The blue buttons are for the various runtime install types that are used only when deploying your application.

-Dell

Answers (5)

Answers (5)

0 Kudos

If you are using ADO.NET read the part about removing the Legacy mode from the app.config file.

Former Member
0 Kudos

I am having a similar issue.

Using .NET Framework > 4.0 such as 4.7.2 with SP23 is causing all my Crystal Reports to break.

I am receiving the following message when trying to view a report:

If I change the target framework back to .NET Framework 4.0 it works no problem. I've tested the 21, 22, and 23 Runtimes and they all have the same issue with this error for some reason.

The report I am trying to load only has 1 connected table pull first names, and last names of staff. Quite simple, no subreports or anything.

Thank you for your help!

John

shivjipatel
Discoverer
0 Kudos

We have had issues on Windows 2008R2 server and Windows 7 and Windows 8 and Windows 8.1 workstations and our workaround above works above on all these platforms

Former Member
0 Kudos

KB4338420 does not refer to Windows 2012R2 does it work?

Should crruntime 13_0_21 run with 4.7.2?

shivjipatel
Discoverer
0 Kudos

Found the cause of this issue, If you have KB4338420 installed due to Windows update and the UAC is set to Do not Notify eg lowest level then the UFL do not work, if you take UAC up at least by one level, then the UFL works ok again