Thanks for the report,
can you provide us with stack trace of this exception?
You can add following code to your app to handle unhandled exceptions and provide us with full info about this problem:
[c#]
[STAThread]
static void Main()
{
//connect to unhandled exceptions handler
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
//init and run your app
//.....
}
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
Exception exception = args.ExceptionObject as Exception;
if (exception != null)
{
string exceptionInfo = string.Format(\"Exception Info: {0}]\\r\\nStackTrace:\\r\\n{1}\\r\\nClick Yes if you want to continue, No - to close application\", exception.Message, exception.StackTrace);
if (System.Windows.Forms.MessageBox.Show(exceptionInfo, \"Unhandled Exception\", MessageBoxButtons.YesNo) == DialogResult.No)
{
Application.Exit();
}
}
}