zaterdag 25 juni 2022

Undeprecated: OleDb

Vandaag kwam ik erachter dat Microsoft een undeprecate gedaan heeft na 6 jaar. In 2011 besloot Microsoft om OleDb uit te faseren en dus deprecated te maken. Toendertijd vond ik dat vervelend omdat ik OleDb gebruikte om informatie over tabellen en kolommen op te halen. Dat heb ik toen omgeschreven naar de native SQLServer driver.

Nu blijkt dat Microsoft in 2018 weer een release gedaan heeft van OleDb en ook regelmatig daarna een update heeft uitgebracht. De uitfasering van OleDb was een vergissing volgens hen. Grappig.

vrijdag 17 juni 2022

Event Viewer Windows Logs Application receives old APPCRASH messages

Problem

Are there a lot of APPCRASH messages in the Windows Logs / Application section of the Event Viewer?

And the same messages keep coming back and reappearing? Then you have error messages that are "stuck" in de windows log system.

Solution

It is not enough to just "clear" the messages in the Event Viewer application itself. You must run Disk Cleanup.

In Disk Cleanup, there is a option "Clean up system files", choose that. After that you will see the entry "System created Windows Error Reporting" (and also select System error memory dump files). That will clean up the log messages that are stuck in de Windows Event Viewer. Now the old messages will not reappear again.