Unsolved
This post is more than 5 years old
3 Posts
0
43912
December 28th, 2012 15:00
csc.exe text box error
when I turn off my laptop, some times it give me thistext box csc.exe error. It says the a program is running, or something like this. How can I fix it?


speedstep
9 Legend
•
47K Posts
1
December 28th, 2012 16:00
"The application csc.exe failed to initialize properly (0xc0000142). Click on OK to terminate the application"
Some investigation reveals that the issue has to do with the .NET class XmlSerializer.
THE application stores user data into an XML file, which gets saved when the application is closed.
In particular, the following code seems to cause the problem:
Dim serializer As New XmlSerializer(ConfigObj.GetType())
Dim writer As New StreamWriter(datafile)
serializer.Serialize(writer, ConfigObj)
writer.Close()
csc.exe is creating temporary files in C:\Windows\Temp, which is
interrupted by the shutdown process, causing the above problem.
WINDOZE IS HOZED.
TIME FOR REINSTALL.
ejn63
9 Legend
•
87.5K Posts
0
December 28th, 2012 16:00
Start with a deep scan using malwarebytes (do so in safe mode, F8 before Windows loads)
www.malwarebytes.com (the free version is fine - you don't need the paid version).
nbaptista007
3 Posts
0
December 29th, 2012 10:00
yes, but how can I fix it? I don´t want to format and reinstall all the software