A few problems post installation


Author
Message
Mike Prager
Mike Prager
StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)
Group: Forum Members
Posts: 4, Visits: 4
Hi Guys,

I've had to re-install SF on a windows Vista machine. Just using the sample apps to test the installation throws the exception below everytime. - Any ideas?

Also, I am getting some licensing issues when using SF in VS. I think it maybe that the license was bound to the network card in my laptop but when I'm out at clients (and sometimes back in the office), I use the wireless connection - different MAC address/different IP address - Could this be the issue and is there anyway to get around it?

Thanks in advance

Mike

TargetInvocationException
  Exception has been thrown by the target of an invocation.
MissingMethodException
  Method not found: 'Void MicroFour.StrataFrame.UI.Windows.Forms.ChildFormDialog.set_ParentForm(MicroFour.StrataFrame.UI.Windows.Forms.BaseForm)'.

Source     : mscorlib

Stack Trace:
   at SampleCRMApplication.CustomerMaintenance.InitializeComponent()
   at SampleCRMApplication.CustomerMaintenance..ctor()
   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.Activator.CreateInstance(Type type)
   at SampleCRMApplication.CRMMain.LaunchForm(Type FormType)
   at SampleCRMApplication.CRMMain.cmdCustomers_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativewindow.WndProc(Message& m)
   at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Edhy Rijo
E
StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Hi Mike,

Based on this error:

TargetInvocationException
  Exception has been thrown by the target of an invocation.
MissingMethodException
  Method not found: 'Void MicroFour.StrataFrame.UI.Windows.Forms.ChildFormDialog.set_ParentForm(MicroFour.StrataFrame.UI.Windows.Forms.BaseForm)'.

You may be having a different SF libraries loaded, so if you just update your Vista computer make sure the SF assemblies are all the same.

There are several messages about updating SF in the forum, do a search on this for more details on keeping all assemblies updated.

About the license, check this post http://forum.strataframe.net/Topic12170-10-1.aspx?Highlight=wireless which deal with a similar situation to see if it can help you.

Edhy Rijo

Mike Prager
Mike Prager
StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)
Group: Forum Members
Posts: 4, Visits: 4
Hi,

Thanks for the reply!

This is a brand new installation on this machine - SF has not been installed at all before so I can't quite see why the SF assemblies would not be up to date.

I'll check out the links you provided regarding the license issue.

Any other suggestions regarding the exception would be most welcome

Regards

Mike

Edhy Rijo
E
StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)StrataFrame VIP (4.7K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Mike Prager (03/30/2008)
Hi,

This is a brand new installation on this machine - SF has not been installed at all before so I can't quite see why the SF assemblies would not be up to date.

Any other suggestions regarding the exception would be most welcome

Hi Mike,

Since this is a new installation, could it be that you build the .EXE file with the current version of SF, but you distribute an old one?

Edhy Rijo

StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Good catch Edhy, a MissingMethodException will almost always occur when the referenced assembly is not the exact same as the assembly that was referenced when the solution was compiled.  The method existed when the solition was compiled, but it's not there at runtime.  Most likely the DLLs that you're distributing (or the DLLs that are already on the client machine) are out-of-date.  If you're distributing it through an install, make sure you set the "force" option when you put SF assemblies in the GAC because the assembly version does not always change... the DLLs are newer, but since the version didn't change, the GAC deployment won't re-deploy the DLLs because it thinks they're already up-to-date.
Mike Prager
Mike Prager
StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)
Group: Forum Members
Posts: 4, Visits: 4
Hi Ben,

Just to clarify, I am not recompiling any application or distributing any app - I haven't even got that far. All I did was run the SF install and then tried to run the sample CRM application (that comes with SF) to test the install worked which then blew up with this exception. Should I try and recompile the sample apps?

Thanks in advance

Mike

Mike Prager
Mike Prager
StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)StrataFrame Beginner (4 reputation)
Group: Forum Members
Posts: 4, Visits: 4
Ben,

Is there anyway you can unbind my licenses - I cannot do this as I have registered them in the last 10 days. I think the issue maybe that I registered SF against a wireless mobile adapter which is not present on my system all the time.

Thanks in advance

Mike

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
Mike,

Run some of the other sample apps and open the CRM application in Visual Studio and recompile it.  If you have an issue then this may be more true to giving us a idea of what you may be missing. 

Also, I have reset your account so that you can reactivate.  Be sure to choose a NIC card that will always be enabled.  You can attached to a wireless adapter, it just has to be left enabled in order to work with the licensing (not actually used).

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