fatal issue with last StrataFrameSetupExe


Author
Message
Michel Levy
Michel Levy
StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Hi,

I've downloaded last StrataFrameSetupExe from http://forum.strataframe.net/Topic13284-22-1.aspx#bm14258 

after install, first launch of Visual Studio 2005 raises an error:

TypeLoadException
  La méthode 'RemoveObjectFromInitOnFormLoad' du type 'MicroFour.StrataFrame.UI.Windows.Forms.BaseForm' de l'assembly 'MicroFour StrataFrame Business, Version=1.6.0.0, Culture=neutral, PublicKeyToken=99fe9917f71608a7' n'a pas d'implémentation.

Source     : mscorlib

Stack Trace:
   à System.Signature._GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, IntPtr fieldHandle, IntPtr methodHandle, IntPtr declaringTypeHandle)
   à System.Signature.GetSignature(SignatureStruct& signature, Void* pCorSig, Int32 cCorSig, RuntimeFieldHandle fieldHandle, RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
   à System.Signature..ctor(RuntimeMethodHandle methodHandle, RuntimeTypeHandle declaringTypeHandle)
   à System.Reflection.RuntimeMethodInfo.get_Signature()
   à System.Reflection.RuntimeMethodInfo.GetParameters()
   à System.Diagnostics.StackTrace.ToString(TraceFormat traceFormat)
   à System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   à System.Exception.get_StackTrace()
   à MicroFour.StrataFrame.Tools.Exceptions.CreateExceptionDetails(Exception Ex)
   à MicroFour.StrataFrame.Application.ApplicationErrorwindow..ctor(Exception Ex)
   à MicroFour.StrataFrame.AddIns.AddInManager.OnConnection(Object application, ext_ConnectMode connectMode, Object addInInst, Array& custom)

Same error is raised each time I launch VS2005

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
The good news is that this is not really specific to the new update nor is it related to VS 2005 or VS2008.  The problem is that the StrataFrame assemblies are "out of sync."  More than likely you have an older version of the StrataFrame assemblies in the GAC (or at least the business assembly).  Really the only time I have seen this is when you build the SF source on your side and the install has a hard time removing the assemblies from the GAC.  If this is the case, then you might want to rebuild the source. 

The reason this happens each time, is because the StrataFrame add-in is trying to talk to the StrataFrame database (which in turn uses BOs in the Business assembly).  One other thing could cause this as well, if you did not allow the StrataFrame databases to be updated.  There have been structure changes.

I have posted the 1.6.5 source code in the My Account area, the first thing I would try would be to rebuild the source on your machine to see if it resolved the issue of the assembly differences.

Michel Levy
Michel Levy
StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
Trent,

I've downloaded 1.6.5 source code from MyAccount, but I can't figure out what I could do with that Ermm

When you say

the first thing I would try would be to rebuild the source on your machine to see if it resolved the issue of the assembly differences
, I assume that "source" are StrataFrame Source? Right?

.None of these sln files seems to be compatible with VS2005, so what??Sad

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Yeah, all source files are going to only support VS2008 (this is just the projects and solutions).  Instead of trying to load the source, manually remove all of the MicroFour StrataFrame assemblies in the GAC (c:\windows\assembly) and then install the latest update again: http://forum.strataframe.net/FindPost14258.aspx .  If you have not downloaded the latest version in the last 24 hours, then you will want to get the newer version.
Michel Levy
Michel Levy
StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)StrataFrame User (441 reputation)
Group: StrataFrame Users
Posts: 193, Visits: 9K
thanks you, Trent,

with your help I've retrieved my VS2005 and Strataframe BTW BigGrin (never, I remember to update that GAC).

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Glad you got it going Smile
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search