c# - How to fix "The requested resource is in use. (Exception from HRESULT: 0x800700AA)" -
How can I resolve this error?
"The requested resource is in use. (Exception from HRESULT: 0x800700 AA)".
It appears when navigating to a different website using the WebBrowser control in C # .NET. Why?
Web browser controls are considered "in use", if any navigation action is currently being processed , Or no blocking dialog is currently open from the control (context menu, javascript alert, NTLM login dialog etc.). You can use the WebBrowser.IsBusy
property to locate these states.
If currently due to incomplete navigation action, you can try to stop current navigation (if you really want to stop when page load is not completed) or new in a request queue Add navigation and use the WebBrowser.IsBusy
until the timer is used to wait.
Instead of busy position one or more open blocking dialogs, you can do the same waiting technology and maybe Messagebox.Show ()
send a message to the user that Pending navigation is delayed due to an open dialog window.
Comments
Post a Comment