“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!
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