StrataFrame Forum

Method not found error

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

By Jeff Pagley - 10/4/2007

Hi StrataFrame Team,

I am getting the following error on the client's machine.  Please help!

Method not found: 'Void MicroFour.StrataFrame.UI.ListPopulationSettings.set_DropDownFormatString(System.String)'.

Exception (MissingMethodException): Source="Project Tracker"; Target=null; Tag=null;

Message = "Method not found: 'Void MicroFour.StrataFrame.UI.ListPopulationSettings.set_DropDownFormatString(System.String)'."

Environment: ThreadIdentity="" DateTime=["2007-10-04 10:12:34.734"] ThreadName=null WindowsIdentity="STRUSS\JPagley" ThreadId="1" DomainName="projecttracker.exe" OSVersion=["Microsoft Windows NT 5.0.2195 Service Pack 4"] MachineName="INVENTORY"

UserName="JPagley"

Remaining Stack Trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

at Project_Tracker.JobForm.InitializeComponent()

at Project_Tracker.JobForm..ctor()

at Project_Tracker.MDIMainForm.tsmiDataEntry_Click(Object sender, EventArgs e)

at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

at System.Windows.Forms.ToolStripMenuItem.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.ToolStripDropDown.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.ToolStripDropDown.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)

By Trent L. Taylor - 10/4/2007

More than likely you do not have the latest StrataFrame assemblies on the clients machine.  A MissingMethodException is generally due to the assembly that is required is not available on the machine.  Be sure to copy out the latest StrataFrame assemblies to the client's machine and then try again.  Also, be sure that you do not have any old assemblies in the GAC or something.  The GAC is always pulled from first, so if you have an old assembly in the GAC it will try to use that assembly first.

MicroFour StrataFrame Base.dll
MicroFour StrataFrame Business.dll
MicroFour StrataFrame UI.dll

Above are the 3 primary assemblies (excluding Security) that you may need to distribute.  The problem you are dealing with is probably in the UI assembly.

By Jeff Pagley - 10/4/2007

Trent you were correct.  I was using older dlls which were generating the error. 

Thanks alot!

By Trent L. Taylor - 10/4/2007

No problem Smile