CrystalReport Crashes With System.IO.FileNotFoundException
Hi everybody
We developped a WPF-Application with VisualStudio 2010, .NET-Framework 4 and C#, target to xȶ (32bit). For Reporting we use CrystalReport (in VisualStudio we use Crystal Report, version for Visual Studio 2010; Version 13.0.1.220).
We’ve already deployed this application successfully to different plattforms, such as Windows XP, Windows Vista, Windows 7 (32bit & 64bit), also we successfully install versions of our application on WMWare Windows 7-Installations. On the clients we install “Crystal Report 2008 runtime SP3″ (12.3.0.601) and then we make the appropriate entries in the config-File (see below).
Now, we have a WMWare installation with Windows 7 Enterprise-Edition (64bit) on witch we’ve installed our application and the CR runtime, as we did it usually. The application runs fine but when we are trying to open a Report, the application crashes with “System.IO.FileNotFoundException” (more details below). We’ve already tryed to install different versions of th CR runtime, such as SP 4 and also Crystal Reports runtime engine for .NET Framework 4 (32-bit) / Version 13.0.0.99 (and of course made the appropriate changes to the config-file) without any success.
So, we run out of ideas. Does anyone have some hints for us, what we can do?
Any help will be appreciate.
Roland
Here some more details as mentioned above:
Here our entries in the config-File (targetting to “Crystal Report 2008 runtime SP3″):
And now, the error message that we get on the crash:
Problemsignatur:
Problemereignisname: CLR20r3
Problemsignatur 01: omdogtax.exe
Problemsignatur 02: 1.1.0.0
Problemsignatur 03: 4df89c19
Problemsignatur 04: CrystalDecisions.CrystalReports.Engine
Problemsignatur 05: 12.0.2000.0
Problemsignatur 06: 4bd0472f
Problemsignatur 07: 47c
Problemsignaturಈ: 1
Problemsignatur 09: System.IO.FileNotFoundException
Betriebsystemversion: 6.1.7601.2.1.0.256.4
Gebietsschema-ID: 2055
Zusatzinformation 1: 0a9e
Zusatzinformation 2: 0a9e372d3b4ad19135b953a78882e789
Zusatzinformation 3: 0a9e
Zusatzinformation 4: 0a9e372d3b4ad19135b953a78882e789
Here’s what’s in the application-log of Windows:
Anwendung: OmDogTax.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.IO.FileNotFoundException
Stapel:
bei CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture()
bei CrystalDecisions.CrystalReports.Engine.CREngineRes.GetString(System.String)
bei CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize()
bei CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
bei CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
bei ViewModels.Reports.HalterStammblattReport..ctor()
bei Frontend.HalterControl.drucken()
bei ViewModels.ViewModelBase`3[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=⚕a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934𘫡],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Drucken()
bei ViewModels.ToolbarVM.Drucken()
bei OmControlLibrary.OmToolbar.btnPrint_Click(System.Object, System.Windows.RoutedEventArgs)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
bei System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
bei System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
bei System.Windows.Controls.Primitives.ButtonBase.OnClick()
bei System.Windows.Controls.Button.OnClick()
bei System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)
bei System.Windows.UIElement.OnMouseLeftButtonUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
bei System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
bei System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject, System.Windows.RoutedEventArgs, System.Windows.RoutedEvent)
bei System.Windows.UIElement.OnMouseUpThunk(System.Object, System.Windows.Input.MouseButtonEventArgs)
bei System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(System.Delegate, System.Object)
bei System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate, System.Object)
bei System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object, System.Windows.RoutedEventArgs)
bei System.Windows.EventRoute.InvokeHandlersImpl(System.Object, System.Windows.RoutedEventArgs, Boolean)
bei System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
bei System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)
bei System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs, Boolean)
bei System.Windows.Input.InputManager.ProcessStagingArea()
bei System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)
bei System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)
bei System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr, System.Windows.Input.InputMode, Int32, System.Windows.Input.RawMouseActions, In⵰, Int32, Int32)
bei System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef)
bei System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
bei MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
bei MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
bei System.Windows.Threading.Dispatcher.InvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
bei MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
bei System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
bei System.Windows.Threading.Dispatcher.PushFrame(System.Windows.Threading.DispatcherFrame)
bei System.Windows.Threading.Dispatcher.Run()
bei System.Windows.Application.RunDispatcher(System.Object)
bei System.Windows.Application.RunInternal(System.Windows.Window)
bei System.Windows.Application.Run(System.Windows.Window)
bei OmDogTax.App.Main()
And there’s always a second entry in the application-log of windows:
Name der fehlerhaften Anwendung: OmDogTax.exe, Version: 1.1.0.1, Zeitstempel: 0x4df89c19
Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 6.1.7601.17514, Zeitstempel: 0x4ce7bafa
Ausnahmecode: 0xe0434352
Fehleroffset: 0x0000bᖗ
ID des fehlerhaften Prozesses: 0×960
Startzeit der fehlerhaften Anwendung: 0x01cc2f541218d4df
Pfad der fehlerhaften Anwendung: C:\Demos\OMDogTax.NET_01.03\DogTax-Programm\OmDogTax.exe
Pfad des fehlerhaften Moduls: C:\Windows\syswow64\KERNELBASE.dll
Berichtskennung: 56d95be9-9b47-11e0-abec-000c29482306
Consultant, needs help regarding “CrystalReport crashes with System.IO.FileNotFoundException “
Related search terms:
Browse more questions like this in module: BI
