skeezix,

Are you, by any chance, getting the error while trying to step into a control in the debugger? I have found that I get a variety of messages (including yours) if I step through my code although it seems to execute fine when I run past calls to controls.