Hi Markus,
Thanks for your reply.
From your description, I understood this is a design-time issue, the error
message comes up when you open the designer view of a Form which have this
user control.
I suspect these error message is generated when designer trying to
de-serialize the usercontrol, to further investigate on this issue, a
simple reproduction project would be a great help.
Since it's not able to reproduce this problem in a small sample, I'd like
to first analyze the stack trace information when the internal exception
throws. You may enable caching the first-chance exception in VS.IDE
debugger paste the stack trace information.
Note, in order to get correct and complete stack trace inforamtion you you
need load all the related symbols.
Here are the steps to enable first-chance exception in VS.NET IDE:
1.Open the Exceptions dialog, tell VS.NET break into the debugger when an
CLR exception happens, you may open the dialog by "Debug"->"Exception"
command.
select the "Common Language Runtime Exceptions" and select "Break into the
debugger".
2.run your program in release build, when exception happens, a dialog will
appear with message such as "A first chance exception of type....",
please write down the exception type name, then choose break. You may get a
warning says no source code, it's ok, click ok to close it.
For how to Load Symbol files in VS.NET IDE, you may referr to the KB
article below:
<HOW TO: Use a Symbol Server with the Visual Studio .NET Debugger>
http://support.microsoft.com/?id=319037
If you make an progress on this issue or meet problem when trying my
suggestions please feel free to reply this thread to let me know.
Thanks!
Best regards,
Ying-Shen Yu [MSFT]
Microsoft Community Support
Get Secure! -
www.microsoft.com/security
This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.