StrataFrame Forum

Deployment, error, are there any other files to deploy?

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

By Ross L. Rooker, Sr. - 3/28/2008

When deployed I deployed the following dll's:

MicroFour StrataFrame Base.dll, MicroFour StrataFrame Business.dll, MicroFour StrataFrame DBEngine.dll, MicroFour StrataFrame UI.dll.

When the client runs the app, the error appears:

ApplicationException

  An error occurred while creating the main form

TargetInvocationException

  Exception has been thrown by the target of an invocation.

MissingMethodException

  Method not found: 'Void MicroFour.StrataFrame.UI.Windows.Forms.ThemedGroupBox.set_TransparentBackground(Boolean)'.

 

Source     : MicroFour StrataFrame UI

 

Stack Trace:

   at VisualOfficeNET.frmNames.InitializeComponent()

   at VisualOfficeNET.frmNames..ctor() in C:\VisualOfficeNET\VisualOfficeNET\frmNames.cs:line 15

   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()

 

By Trent L. Taylor - 3/28/2008

You have an older verison of the SF assembly out there that is being used instead of the newer assembly.  You have to distribute the SF assemblies with each build and ensure that any that are held in the GAC (if you are using the GAC) are removed and updated with the new assemblies.  But this is the problem you are running into.  If you get the assemblies up to date on the client machine then this error will go away.