Getting issue when convert webpage to image

Jul 21 2013 11:47 AM

My code for Convert webpage into Image and save it in local machine is get it from this link:Convert webpage to image from ASP.NET.

This code is Works fine in My local machine,but in our Testing machine its doesn't get Exported. when i am debugging in our testing machine, i found browser.ReadyState does not comes to complete state,It comes to interactive state then ,it will exit from while loop and also hanging in m_thread.Join().

enter image description here

Is there any other code for convert webpage to Image without using thread?

Please guide me to do resolve that.