I'm writing an application that sequentially loads several web pages into a web browser control, but on subsequent loads, I'm seeing the following error:
System.Runtime.InteropServices.COMException was unhandled by user code
Message=The requested resource is in use. (Exception from HRESULT: 0x800700AA)
This is being called in the Browser_DocumentCompleted event, so the page should be done.
Calling Stop on the browser after a pause doesn't seem to fix things. WebBrowser.IsBusy is continuously True, and doesn't switch to False after the document is finished (even after 60 seconds).
What is the recommended way of getting use of the browser back?