On a certain Windows machine Fiddler is always running in background which seem to trigger problems because when ever I want to exit Fiddler (or Windows is shutting down) I am getting an Exception which blocks the Windows shutdown process:
System.ComponentModel.Win32Exception (0x80004005): Der RPC-Server ist nicht verfügbar
bei Telerik.NetworkConnections.Windows.WinINetPInvokes.ExecuteInternetQueryOrSetOption(String connectionName, INTERNET_PER_CONN_OPTION[] pOptions, Func`3 internetQueryOrSetOption, Action`1 success)
bei Telerik.NetworkConnections.Windows.WinINetPInvokes.SetProxySettingsForNetworkConnection(WinINetProxySettings proxySettings, String connectionName)
bei Telerik.NetworkConnections.NetworkConnectionsManager.SetProxySettingsForConnections(ProxySettings settings, IEnumerable`1 fullNames)
bei ..() in C:\Jenkins\Fiddler_Windows\workspace\FiddlerCore\FiddlerCore.Shared\Common\Core\Connectoids.cs:Zeile 199.
bei Fiddler.Proxy.Detach(Boolean ??) in C:\Jenkins\Fiddler_Windows\workspace\FiddlerCore\FiddlerCore.Shared\Common\Core\Proxy.cs:Zeile 1356.
bei Fiddler.frmViewer.actDetachProxy() in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Fiddler.Shared\Viewer.cs:Zeile 7177.
bei Fiddler.frmViewer.??(Object , CancelEventArgs ) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Fiddler.Shared\Viewer.cs:Zeile 10773.
bei System.Windows.Forms.Form.OnClosing(CancelEventArgs e)
bei System.Windows.Forms.Form.WmClose(Message& m)
bei Fiddler.frmViewer.WndProc(Message& m) in C:\Jenkins\Fiddler_Windows\workspace\Fiddler2\Fiddler.Shared\Viewer.cs:Zeile 12465.
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Note that this happens on all Windows systems I have tried, when ever Fiddler is running for a long time (e.g. multiple days) it is no longer able to shut down cleanly.
As I wrote this is a problem as when this Exception occurs the Windows shutdown process is blocked and e.g. a reboot for installing Windows Updates can not continue until someone manually closes the exception dialog. But the error does not have to do anything with the shutdown process. It also occurs when you just close Fiddler after running for a long time.