异常错误CrystalDecisions.Shared

2020-08-21 10:26发布

点击此处---> 群内免费提供SAP练习系统(在群公告中)加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)我正在努力理解为什么我的报告导致...

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我正在努力理解为什么我的报告导致我的程序崩溃。 在VS 2019的开发中工作正常。这是我从Windows获得的日志文件。 我已经重新安装了Crystal Reports。 任何帮助,我将不胜感激:

日志名称:应用程序

来源:.NET运行时

日期:2020年3月18日09:12:30

事件ID:1026

任务类别:无

级别:错误

关键字:经典

用户:N/A

计算机:首页

说明:

应用程序:Schedular.exe

框架版本:v4.0.30319

说明:由于未处理的异常,进程已终止。

异常信息:System.IO.FileLoadException

在CrystalDecisions.Shared.SharedUtils..cctor()

异常信息:System.TypeInitializationException

在CrystalDecisions.Shared.SharedUtils.get_CurrentControl()

在CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture()

在CrystalDecisions.CrystalReports.Engine.CREngineRes.GetString(System.String)

在CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime()

在CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()

异常信息:System.TypeInitializationException

在CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

在Schedular.WindowMissions.MissionsItemList.QuickPrint_Click(System.Object,System.Windows.RoutedEventArgs)

在System.Windows.EventRoute.InvokeHandlersImpl(System.Object,System.Windows.RoutedEventArgs,布尔值)上

在System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject,System.Windows.RoutedEventArgs)

在System.Windows.Controls.Primitives.ButtonBase.OnClick()

在System.Windows.Controls.Button.OnClick()

在System.Windows.Controls.Ribbon.RibbonButton.OnClick()

在System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(System.Windows.Input.MouseButtonEventArgs)

在System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate,System.Object)

在System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object,System.Windows.RoutedEventArgs)

在System.Windows.EventRoute.InvokeHandlersImpl(System.Object,System.Windows.RoutedEventArgs,布尔值)上

在System.Windows.UIElement.ReRaiseEventAs(System.Windows.DependencyObject,System.Windows.RoutedEventArgs,System.Windows.RoutedEvent)

在System.Windows.UIElement.OnMouseUpThunk(System.Object,System.Windows.Input.MouseButtonEventArgs)

在System.Windows.RoutedEventArgs.InvokeHandler(System.Delegate,System.Object)

在System.Windows.RoutedEventHandlerInfo.InvokeHandler(System.Object,System.Windows.RoutedEventArgs)

在System.Windows.EventRoute.InvokeHandlersImpl(System.Object,System.Windows.RoutedEventArgs,布尔值)上

在System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject,System.Windows.RoutedEventArgs)

在System.Windows.UIElement.RaiseTrustedEvent(System.Windows.RoutedEventArgs)

在System.Windows.Input.InputManager.ProcessStagingArea()

在System.Windows.Input.InputManager.ProcessInput(System.Windows.Input.InputEventArgs)

在System.Windows.Input.InputProviderSite.ReportInput(System.Windows.Input.InputReport)

在System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr,System.Windows.Input.InputMode,Int32,System.Windows.Input.RawMouseActions,Int32,Int32,Int32)

在System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr,MS.Internal.Interop.WindowMessage,IntPtr,IntPtr,布尔ByRef)

在System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr,Int32,IntPtr,IntPtr,布尔ByRef)

at MS.Win32.HwndWrapper.WndProc(IntPtr,Int32,IntPtr,IntPtr,布尔ByRef)

在MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)

在System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate,System.Object,Int32)

在System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object,System.Delegate,System.Object,Int32,System.Delegate)

在System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority,System.TimeSpan,System.Delegate,System.Object,Int32)

在MS.Win32.HwndSubclass.SubclassWndProc(IntPtr,Int32,IntPtr,IntPtr)

在MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)

在System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)

在System.Windows.Application.RunDispatcher(System.Object)

在System.Windows.Application.RunInternal(System.Windows.Window)

在Schedular.App.Main()

15条回答
愤怒的猪头君
2020-08-21 10:46

因此,在DEV PC上,您可以正确运行EXE。

在工作站上您安装的MSI是32位还是64位?

CRE运行时适用于您的应用平台而不是操作系统,因此,如果将您的应用设置为x86或x64,则需要 安装相同的MSI软件包。

MSI确实需要使用本地Admin帐户进行安装。

和/或它可能缺少依赖项,VC 2015 C ++运行时和4.x框架。

Don

一周热门 更多>