I am trying to navigate to a website and login using asp.net C#. Once logged in, it goes to the data entry page and enters the data. I am using visual studio 2010 and IE8. My application was running fine in IE6 & IE7. It says the IE application is busy.. Any help\[code\]namespace test_webtool {public partial class _Default : System.Web.UI.Page { private AutoResetEvent documentComplete; protected void Page_Load(object sender, EventArgs e) { //InitializeComponent(); } protected void Button1_Click(object sender, EventArgs e) { //// Cache Disable HttpContext.Current.Response.Cache.SetExpires(DateTime.UtcNow.AddDays(-1)); HttpContext.Current.Response.Cache.SetValidUntilExpires(false); HttpContext.Current.Response.Cache.SetRevalidation(HttpCacheRevalidation.AllCaches); HttpContext.Current.Response.Cache.SetCacheability(HttpCacheability.NoCache); HttpContext.Current.Response.Cache.SetNoStore(); InternetExplorer explorer = new InternetExplorer(); explorer.DocumentComplete += OnIEDocumentComplete; // Setting the documentComplete Event to false documentComplete = new AutoResetEvent(false); //object mVal = System.Reflection.Missing.Value; explorer.Navigate("https://xyz/login.asp"); // Waiting for the document to load completely documentComplete.WaitOne(); HTMLDocument doc = (HTMLDocument)explorer.Document; HTMLInputElement tClerk_ID = (HTMLInputElement)doc.all.item("tClerk_ID"); tClerk_ID.value = "http://stackoverflow.com/questions/12711653/9985"; HTMLInputElement pClerk_PW = (HTMLInputElement)doc.all.item("pClerk_PW"); pClerk_PW.value = "http://stackoverflow.com/questions/12711653/asdfghj"; HTMLInputElement sSubmit = (HTMLInputElement)doc.all.item("sSubmit"); sSubmit.click(); explorer.Visible = true; } // Definition of the function that sets the documentComplete event to true private void OnIEDocumentComplete(object pDisp, ref object URL) { documentComplete.Set(); } }}\[/code\]