“Error Creating Window Handle” and UI threads

“Error Creating Window Handle” is not a .NET error, but is coming from Win32, which, in itself, is a big clue when trying to solve this problem, which I had to do today. [Read more …]

[A DevLife post]

Don’t Forget: www.acehaid.org

  Sign up for my newsletter so you don't miss my conference & Pluralsight course announcements!  

One thought on ““Error Creating Window Handle” and UI threads

  1. I got same error in my application.I am loading many controls in single page.In button click event i am clearing the controls.clearing the controls doesnot release the controls from memory.So dispose the controls from memory. I just commented controls.clear() method and include few lines of code to dispose the controls. Something like this

    for each ctl as control in controlcollection

    ctl.dispose()

    Next

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

This site uses Akismet to reduce spam. Learn how your comment data is processed.