fatal issue with last StrataFrameSetupExe
 
Home My Account Forum Try It! Buy It!
About Contact Us Site Map
StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



fatal issue with last StrataFrameSetupExeExpand / Collapse
Author
Message
Posted 02/11/2008 4:57:01 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: Yesterday @ 8:53:48 AM
Posts: 30, Visits: 588
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

Post #14269
Posted 02/11/2008 7:21:58 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 9:36:54 PM
Posts: 4,200, Visits: 4,251
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.

Post #14273
Posted 02/11/2008 8:52:31 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: Yesterday @ 8:53:48 AM
Posts: 30, Visits: 588
Trent,

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

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??

Post #14277
Posted 02/11/2008 8:58:32 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 9:36:54 PM
Posts: 4,200, Visits: 4,251
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.
Post #14280
Posted 02/11/2008 10:47:42 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: StrataFrame Users
Last Login: Yesterday @ 8:53:48 AM
Posts: 30, Visits: 588
thanks you, Trent,

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

Post #14290
Posted 02/11/2008 11:09:38 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 9:36:54 PM
Posts: 4,200, Visits: 4,251
Glad you got it going
Post #14291
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 1:32am

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.141. 9 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.