What causes kernell base error / .net framework error if there's a windows update or crashed?

Anonymouse703

New member
Joined
Sep 18, 2022
Messages
1
Programming Experience
3-5
Hello guys, we have this running app in our client a queuing management develop in c#. Last year the app was okay until there's changes in windows. The error triggered if there's an update or it will crashed after a months.

What are the possible cause of this? Is there an adjustment on how we build?

This is the sample error in the event log of windows

277821982_524336939295172_7147433536786322286_n.png


another one
279271728_780084612974579_9115030945264075643_n.png


So both our Monitor App and Kiosk App is crashed.
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
5,698
Location
Chesapeake, VA
Programming Experience
10+
Chances are that your incoming XML is invalid and there was a recent .NET Framework patch that went out that now causes the framework to throw an exception instead of just accepting the XML.

Actually the first step is to go look at the rest of the logged event and see what line and character number of the XML file the parser is unable to handle. Look at the corresponding XML file for that line and character position. Is the XML valid?

Second step is to make sure that you are running the latest version of .NET Framework: 4.8. After that make sure that you have all the latest Windows patches installed. After that, if you are still getting the exception, then it is time to get that specific XML file, and try to reduce it to the minimal amount of XML that will reproduce the issue. Once you have that minimal XML, make sure that it is truly valid XML. If it is valid XML, then open a bug with Microsoft's developer support giving the step to reproduce the problem and the minimal XML to reproduce the problem.
 
Last edited:

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
5,698
Location
Chesapeake, VA
Programming Experience
10+
I'm not seeing where you think that you are getting a kernel based error. It seems to me like you are getting an exception while parsing XML and the exception is at the .NET Framework level, not down at the kernel level.
 
Top Bottom