Home > Net >  C # application problems
C # application problems

Time:10-05

Development environment: vs2015 framework: NET4.5
Problem description: use vs2015 developed an app, on the part of the computer installation. Can be run directly after NET4.5 (win10 system), but under the Windows 7 installation. NET4.5 runtime error, can not find the reason and solution

CodePudding user response:

What is error message? And what is your procedure of the target platform? If you have X64 program installed on 32-bit computer either Win a few will go wrong,
Mainly what error message are not you

CodePudding user response:

Collapse after the program runs for a period of time, and then note online check the solution and close the program, the target platform is. NET4.5, running environment of the machine is also windows64

CodePudding user response:

In the event viewer logs

CodePudding user response:

refer to the second floor qq_32454651 response:
program is running for a period of time after the crash, and then note online check the solution and close the program, the target platform is. NET4.5, running environment of the machine is also windows64

Run collapse collapse after a period of time you should have your information posted, in addition, the.net framework 4.5 is not platform, disorderly with thread?

CodePudding user response:

CodePudding user response:

Tested on multiple machines, have a plenty of can have normal operation, have a more old-fashioned computer running for a while will be an error

CodePudding user response:


this

CodePudding user response:

Log name: Application
Source: the.net Runtime
Date: 2019-09-02 17:29:27
Event ID: 1026
Task categories: no
Error levels:
Key words: classical
Filled by any user:
Computer: HP - PC
Description:
Application: CKDataCollection. Exe
Framework version: v4.0.30319
Note: untreated anomaly, process terminates,
Abnormal information: System. Windows. Markup. XamlParseException
Stack:
In the System. Windows. Markup. WpfXamlLoader. Load (System. Xaml. XamlReader System. The Xaml. IXamlObjectWriterFactory, Boolean, System. Object, System. Xaml. XamlObjectWriterSettings, System. Uri)
In the System. Windows. Markup. WpfXamlLoader. LoadBaml (System. The Xaml. XamlReader, Boolean, System. Object, System. Xaml. Permissions. XamlAccessLevel, System. Uri)
In the System. Windows. Markup. XamlReader. LoadBaml (System. IO Stream, System. Windows. The Markup. ParserContext, System. Object, Boolean)
In the System. Windows. Application. LoadBamlStreamWithSyncInfo (System. IO Stream, System. Windows. The Markup. ParserContext)
In the System. Windows. Application. LoadComponent (System. Uri, Boolean)
In the System. Windows. Application. DoStartup ()
In the System. Windows. Application. & lt; . Ctor> B__1 System. (Object)
In the System. Windows. Threading. ExceptionWrapper. InternalRealCall (System. The Delegate, System. Object, Int32)
In MS, Internal Threading. ExceptionFilterHelper. TryCatchWhen (System. Object, System. The Delegate, System. Object, Int32, System. The Delegate)
In the System. Windows. Threading. DispatcherOperation. InvokeImpl ()
In the System. Windows. Threading. DispatcherOperation. InvokeInSecurityContext System. (Object)
In the System. The Threading. -- an optional ExecutionContext. RunInternal (System) Threading) -- an optional ExecutionContext, System. Threading. ContextCallback, System. Object, Boolean)
In the System. The Threading. -- an optional ExecutionContext. Run (System) Threading) -- an optional ExecutionContext, System. Threading. ContextCallback, System. Object, Boolean)
In the System. The Threading. -- an optional ExecutionContext. Run (System) Threading) -- an optional ExecutionContext, System. Threading. ContextCallback, System. Object)
In the System. Windows. Threading. DispatcherOperation. Invoke ()
In the System. Windows. Threading. Dispatcher. ProcessQueue ()
In the System. Windows. Threading. Dispatcher. WndProcHook (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
In Ms. Win32. HwndWrapper. WndProc (IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
In Ms. Win32. HwndSubclass. DispatcherCallbackOperation System. (Object)
In the System. Windows. Threading. ExceptionWrapper. InternalRealCall (System. The Delegate, System. Object, Int32)
In MS, Internal Threading. ExceptionFilterHelper. TryCatchWhen (System. Object, System. The Delegate, System. Object, Int32, System. The Delegate)
In the System. Windows. Threading. Dispatcher. LegacyInvokeImpl (System. Windows. Threading. DispatcherPriority, System. TimeSpan, System. The Delegate, System. Object, Int32)
In Ms. Win32. HwndSubclass. SubclassWndProc (IntPtr, Int32, IntPtr, IntPtr)
In Ms. Win32. UnsafeNativeMethods. DispatchMessage (System. Windows. Interop. MSG ByRef)
In the System. Windows. Threading. Dispatcher. PushFrameImpl (System. Windows. Threading. DispatcherFrame)
In the System. Windows. Threading. Dispatcher. PushFrame (System. Windows. Threading. DispatcherFrame)
In the System. Windows. Threading. Dispatcher. The Run ()
In the System. Windows. Application. RunDispatcher (System. Object)
In the System. Windows. Application. RunInternal (System. Windows. Windows)
In the System. Windows. Application. The Run (System. Windows. Windows)
In CKDataCollection. App. The Main ()

Event Xml:


2 & lt;/Level>
0
0 x80000000000000 & lt;/Keywords>
47687 & lt;/EventRecordID>
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  •  Tags:  
  • C#
  • Related