What does Invalid Handle in Visual Designer mean?

Posted by jquerijero on 04-Mar-2010 17:05

I'm getting "Invalid handle. Not initialized or points to a deleted object. (3135)" when loading a Form. Does anyone know exactly what it means?

All Replies

Posted by Admin on 04-Mar-2010 17:18

Did you check the stack-trace of the message? It might actually be coming from the constructor of a UserControl (when used).

Posted by jquerijero on 04-Mar-2010 17:20

It's a designer error. The big red X.

Posted by Matt Baker on 04-Mar-2010 18:30

Since it is a progress message and not a .net message it normally means you tried to run some code against an invalid handle.  Check the .log file to see if there is any more details there.

Posted by jquerijero on 04-Mar-2010 18:55

I found what causing it. The -q parameter when you add it to the project's startup parameter, you get the error message.

Posted by jquerijero on 10-May-2010 16:55

. . .

This thread is closed