Skip to content

Event ID 1026: .NET application ended with an unhandled exception

Windows Event ID Lookup: What Windows event IDs mean: 4625, 4624, 4740, 6008, 41, 7045, 1102 and 3,000 more, with Windows' own message text, the fields and what to check.

Look up a Windows event ID from Event Viewer, a SIEM alert or a log export: what it means, the fields it records, and what to check. Many IDs are used by more than one source (event 41 is both a Kernel-Power crash and a boot error), so every definition is shown, the one people usually mean first. The message text is Windows' own, read from the event providers of Windows 10.0.26200.0, 2026-10-28; the notes are ours, based on Microsoft's security auditing reference.

Try: 4625, 4624, 4740, 6008, 41, 1074, 7045, 1102, 4104, 1149

.NET application ended with an unhandled exception.

Event 1026
.NET Runtime
Application log
Error

A .NET application ended because of an unhandled exception; the exception type and stack trace are in the message.

What to check: The first exception line (e.g. System.IO.FileNotFoundException) and the stack say what failed.

Related: 1000

Message and fields (as Event Viewer shows them)
…

The question (…) in the response from server … does not match the original question …, client PID …, send blob …, context

Event 1026
DNS-Client
System log
Information
Message and fields (as Event Viewer shows them)
The question (…) in the response from server … does not match the original question …, client PID …, send blob …, context …

File leasing has been disabled for the SMB2 and SMB3 protocols.

Event 1026
SMBServer
SMBServer/Operational log
Warning
Message and fields (as Event Viewer shows them)
File leasing has been disabled for the SMB2 and SMB3 protocols.  This reduces functionality and can decrease performance.

Registry Key: HKLM\System\CurrentControlSet\Services\LanmanServer\Parameters
Registry Value: DisableLeasing
Default Value: 0 (or not present)
Current Value: non-zero

Guidance:

You should expect this event when disabling SMB 3 Leasing. Microsoft does not recommend disabling SMB Leasing. Once disabled, traffic from client to server may increase since metadata and data may no longer be retrieved from a local cache.