SDK Examples

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, Alex.Davies, melvyn.harbour

SDK Examples

Postby awagner » Tue Oct 05, 2010 7:45 pm

I am trying to get the '3 Custom UI' sample for c# (vs2008) running.

Can't do it.

Code: Select all
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.
awagner
 
Posts: 1
Joined: Tue Oct 05, 2010 7:35 pm

Postby nick.maidment » Wed Oct 06, 2010 2:22 pm

Thanks for getting in touch, I've sent you an email as your assembly didn't get through first time. please respond with F0039846 in the subject line
nick.maidment
 
Posts: 74
Joined: Fri Jan 29, 2010 1:55 pm


Return to SmartAssembly 5

Who is online

Users browsing this forum: No registered users and 0 guests