StrataFrame Forum

Main Form error

http://forum.strataframe.net/Topic32745.aspx

By Ian Johnston - 11/17/2014

http://forum.strataframe.net/Uploads/Images/82e0cf03-fdbc-4162-9170-bc47.JPG

Anyone give me any idea why this should suddenly show up. I have re installed startaframe (after error started).
By Andrew Harper - 11/17/2014

Hi Ian,

I am unable to read your screenshot as the text is too small. Perhaps you could repost the screen shot as an attachment,

regards,

Andy
By Edhy Rijo - 11/18/2014

Hi Ian,

It is always better to copy the exception error and paste it in here instead of the image which in most cases it is not readable.
By Ian Johnston - 11/18/2014

ApplicationException
  An error occurred while creating the main form
TargetInvocationException
  Exception has been thrown by the target of an invocation.
InvalidCastException
  Unable to cast object of type 'MicroFour.StrataFrame.UI.Windows.Forms.ThemedSplitContainer' to type 'System.ComponentModel.ISupportInitialize'.

Source     : MicroFour StrataFrame UI

Stack Trace:

   at WindowsApplication1.MainFrm.InitializeComponent() in c:\Users\Ian\Documents\Visual Studio 2010\Projects\WindowsApplication1\WindowsApplication1\MainFrm.Designer.cs:line 63
   at WindowsApplication1.MainFrm..ctor() in c:\Users\Ian\Documents\Visual Studio 2010\Projects\WindowsApplication1\WindowsApplication1\MainFrm.cs:line 30

   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
   at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
   at MicroFour.StrataFrame.Application.StrataFrameApplication.RunApplication()