Red Gate forums :: View topic - SDK Examples
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SmartAssembly 5
SmartAssembly 5 forum

SDK Examples

Search in SmartAssembly 5 forum
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Jump to:  
Author Message
awagner



Joined: 05 Oct 2010
Posts: 1

PostPosted: Tue Oct 05, 2010 7:45 pm    Post subject: SDK Examples Reply with quote

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

Can't do it.

Code:

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.
Back to top
View user's profile Send private message
nick.maidment



Joined: 29 Jan 2010
Posts: 74

PostPosted: Wed Oct 06, 2010 2:22 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies. All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group