Updated on Kisan Patel
Problem:
How to solve the following exception occurring with Crystal Reports in Windows/WPF Application.
Solution:
You need to add the following attribute to the startup tag.
useLegacyV2RuntimeActivationPolicy="true"
After adding above property to startup tag, your App.Config
file should look like below.
<?xml version="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/> </startup> </configuration>