Details of Error are given below. This error happens only occasionally / rarely / sometimes and there aren\'t any steps to reproduce it.
How can I know which Control
Unfortunately there is no way to see which exactly is the guilty control that is not added correctly to the control hierarchy.
There is!
Disable "Just my code" in debugging settings. And catch all thrown exceptions (check 'thrown' for Common Language Runtime in the dialog opened by Ctrl-Alt-E).
After the exception occurs, go to the nearest stack frame where the Control object is available and examine its ClientID and parents.
You can probably reproduce this by stopping the page before it is fully loaded, and then submitting a postback. If the server wasn't able to get the complete viewstate from the server, then it won't be able to re-create it on postback, hence the crash.
I've seen this error when using a gridview. It would happen when user interaction caused a postback before the page was done rendering completely.
I believe it was fixed in VS2005 SP1 however.