I have been stuck with this error, and I just don't know how to get around it. I had my project in Microsoft Visual Studio 2005 (VS2005), but I decided to upgrade it to run on VS2013. Whenever I try to execute the application, it crashes at ReportDocument.SetDataSource(DataSet.Table[TableIndex]). I tried all possible options to set my configuration file. The last option I tried in my app.config file is
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
<runtime>
<NetFx40_LegacySecurityPolicy enabled="true"/>
</runtime>
But even with that, I have no lack. My project is set to target .NET Framework 4.5. Please, advice me on what to do, because I already downloaded the latest packages from SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads.
These are the errors I get in the Event Viewer
=================================================
Information
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0
Problem signature:
P1: SchoolExactClientApp.exe
P2: 1.0.0.0
P3: 563e1913
P4: KERNELBASE.dll
P5: 6.1.7601.17932
P6: 50327672
P7: e0434352
P8: 0000c41f
P9:
P10:
Attached files:
These files may be available here:
C:\Users\admin\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_SchoolExactClien_80eac9b0b645c068db86d45c6f5bc81925ecf45_08c2bf24
Analysis symbol:
Rechecking for solution: 0
Report Id: 6e4a42ff-8566-11e5-9981-88ae1dda94de
Report Status: 0
=====================================================================
Application Error
Faulting application name: SchoolExactClientApp.exe, version: 1.0.0.0, time stamp: 0x563e1913
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17932, time stamp: 0x50327672
Exception code: 0xe0434352
Fault offset: 0x0000c41f
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13
====================================================================
.NET Runtime
Application: SchoolExactClientApp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
Stack:
at System.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)
at System.Reflection.RuntimeAssembly.nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(System.String, System.Security.Policy.Evidence, Byte[], System.Configuration.Assemblies.AssemblyHashAlgorithm, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)
at System.Reflection.Assembly.LoadFrom(System.String)
at CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.DataSetProcessingDelegate(IntPtr)