Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

FileNotFoundException on ReportDocument.SetDataSource method

$
0
0

Hello,

 

I am using crystal report viewer in my WPF application. It is working fine on my system. But when I am trying to open this application from othermachine, then applicationis crashing while generating the report.

 

In my local system, I have installed SAP crystal report forvisual studio 2010.

 

On the client system, I have installed CRRuntime_32bit_13_0_14.msi.

 

Following error is captured in event viewer.

 

 

Exception Info: System.IO.FileNotFoundException

Stack:

   atSystem.Reflection.RuntimeAssembly._nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)

   atSystem.Reflection.RuntimeAssembly.nLoad(System.Reflection.AssemblyName, System.String, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)

   atSystem.Reflection.RuntimeAssembly.InternalLoadAssemblyName(System.Reflection.AssemblyName, System.Security.Policy.Evidence, System.Reflection.RuntimeAssembly, System.Threading.StackCrawlMark ByRef, IntPtr, Boolean, Boolean, Boolean)

   atSystem.Reflection.RuntimeAssembly.InternalLoadFrom(System.String, System.Security.Policy.Evidence, Byte[], System.Configuration.Assemblies.AssemblyHashAlgorithm, Boolean, Boolean, System.Threading.StackCrawlMark ByRef)

   atSystem.Reflection.Assembly.LoadFrom(System.String)

   atCrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.DataSetProcessingDelegate(IntPtr)

 

 

I have added following tag in my app.configfile butstill it is not working.

 

<startupuseLegacyV2RuntimeActivationPolicy="true">

    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>

  </startup>

 

Please let me know what I am missing here.


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>