Click here to Skip to main content
15,911,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
i am developing a simple browser application in C#. It works fine for me but sometimes it shows Exception:

COM Exception
The requested resource is in use. (Exception from HRESULT: 0x800700AA)

How can i handle it?
Posted
Updated 14-Dec-11 1:00am
v2
Comments
Sunasara Imdadhusen 14-Dec-11 7:05am    
Please provide details exception like Stack Trace!!
Harish Kumar Bansal 14-Dec-11 7:58am    
A dialog box appears showing the message: "An error has occurred in the script on this page" and if asks "do you want to continue running script on this page?". Either we choose Yes or Not it throws the Exception i have mentioned :(

1 solution

Make sure you're accessing the browser object from the UI thread. Accessing it from a thread that didn't create it might cause problems.

There are other possible reasons. Google is your friend.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900