.NET Questions and Solutions

As a software engineer, I focus on .NET, especially asp.net, C#, WCF and so on, and I am also very interested in Search Engine Optimization.

Entries Tagged ‘filter’

An event may be logged after you restart Windows Server 2008: “Event ID: 5 Message: The Virtual Storage Filter Driver is disabled through the registry. It is inactive for all disk drives”

Symptoms
After you restart Windows Server 2008, the following event may be logged in the System log:

Log Name:System
Source:storflt
Event ID:5
Level:Warning
Task Category:None
Message:The Virtual Storage Filter Driver is disabled through the registry. It is inactive for all disk drives.
Resolution
This event is logged when one of the following scenarios is true:The virtual storage filter driver cannot attach to the virtual storage device. The virtual storage filter driver is included in Windows Server 2008. This driver optimizes the performance of disk I/O if Windows Server 2008 is running on a Microsoft Hyper-V Server.Windows Server 2008 is installed as the host operating system or as the guest operating system before the most recent version of Hyper-V Server is installed.

BUG: Unhandled exception filter not called inside debugger

Symptoms
Win32 processes can install an unhandled exception filter function to catchexceptions that are not handled in a __try/__except block on a process-widebasis. When debugging such a process, you find that the unhandled exceptionfilter is never executed, even when you put a breakpoint inside it.However, when the process is not being debugged, its unhandled exceptionfilter is called as expected.
Resolution
When called from a process being debugged, the UnhandledExceptionFilter()Win32 API function does not call the application-installed unhandledexception filter.
Note The UnhandledExceptionFilter() API determines whether the process is being debugged. If the process is being debugged, the UnhandledExceptionFilter API passes the exception to the debugger. Then, the UnhandledExceptionFilter API calls the unhandled exception filter for the process.