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

System.IO.FileLoadException when I want to print something

$
0
0

Hi, I am using VS 2010, I have the latest version of CR (13.0.5).

When I launch my project (C#) in debug there is no problem I can print what I want and with print preview.

I do a setup of my solution and when I install my application, if I try to print something the application stop with error.

When I see in windows error there is this:

Application : ArteliServeurWin.exe


Version du Framework : v4.0.30319


Description : le processus a été arrêté en raison d'une exception non gérée.


Informations sur l'exception : System.IO.FileLoadException


Pile :


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


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


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


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


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


   à CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.DataSetProcessingDelegate(IntPtr)

 

How can I solve this?

I precise that my app.config file contain :

<startupuseLegacyV2RuntimeActivationPolicy="true"><supportedRuntimeversion="v4.0"sku=".NETFramework,Version=v4.0"/></startup></configuration>

Thank you for your answer, Gwenael


Viewing all articles
Browse latest Browse all 3636

Trending Articles



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