Options

SDK Examples

awagnerawagner Posts: 2
edited October 6, 2010 9:22AM in SmartAssembly 5
I am trying to get the '3 Custom UI' sample for c# (vs2008) running.

Can't do it.
AttachExceptionHandler(new UnhandledExceptionHandlerWithAdvancedUI());

It dies on that line in 'UnhandledExceptionHandlerWithAdvancedUI.cs'. This is after I call 'SmartAssembly.SmartExceptionsWithAdvancedUI.UnhandledExceptionHandlerWithAdvancedUI.AttachApp();'.

Here is the stack trace:

System.TypeInitializationException was unhandled
Message="The type initializer for 'SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler' threw an exception."
Source="SmartExceptionsCore"
TypeName="SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler"
StackTrace:
at SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler..ctor()
at SmartAssembly.SmartExceptionsWithAdvancedUI.UnhandledExceptionHandlerWithAdvancedUI..ctor()
at SmartAssembly.SmartExceptionsWithAdvancedUI.UnhandledExceptionHandlerWithAdvancedUI.AttachApp() in C:\Users\awagner\Documents\Visual Studio 2008\Projects\SQLDatabaseMaintenance\UnhandledExceptionHandlerWithAdvancedUI.cs:line 65
at SQLDatabaseMaintenance.Program.Main() in C:\Users\awagner\Documents\Visual Studio 2008\Projects\SQLDatabaseMaintenance\Program.cs:line 43
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
at System.Activator.CreateInstance(ActivationContext activationContext)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException: System.FormatException
Message="String was not recognized as a valid Boolean."
Source="mscorlib"
StackTrace:
at System.Boolean.Parse(String value)
at System.Convert.ToBoolean(String value)
at SmartAssembly.SmartExceptionsCore.UnhandledExceptionHandler..cctor()
InnerException:

I have purchased support. Let me know, if I have better options for getting my question answered swiftly.

Thank you.

Comments

Sign In or Register to comment.