I'm trying to deploy an application to a Windows 2000 Server. The way we deploy applications here is that a folder is created that contains the .exe and all the required .dll's. Then users only have to click a shortcut to the app's .exe file. I keep getting a "Method not found" exception whenever I try to open a couple forms from an MDI. Here is the stack trace:
====================================================================================================================================================
Method not found: 'Void MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem.set_SecurityKey(System.String)'.
Exception (MissingMethodException): Source="UJ.ExceptionManagement"; Target=null; Tag=null;
Message = "Method not found: 'Void MicroFour.StrataFrame.UI.Windows.Forms.SearchFieldItem.set_SecurityKey(System.String)'."
Environment: ThreadIdentity="" DateTime=["2007-06-01 13:45:27.475"] ThreadName=null WindowsIdentity="STRUSS\rmoore" ThreadId="1" DomainName="CMPR.exe" OSVersion=["Microsoft Windows NT 5.0.2195 Service Pack 4"] MachineName="INVENTORY"
UserName="rmoore"
Frame0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
at CMPR.CreditMemoForm.InitializeComponent()
at CMPR.CreditMemoForm..ctor()
at CMPR.MDIMainForm.tsbtnCreditMemo_Click(Object sender, EventArgs e)
Implementer (MDIMainForm): components=System.ComponentModel.Container; tsbtnCreditMemo=(->sender); tsbtnProblemReview={Problem Review Form}; ToolStripSeparator1=System.Windows.Forms.ToolStripSeparator;
ToolStripSeparator2=System.Windows.Forms.ToolStripSeparator; tsbtnSettings=Settings; tsbtnCustomerMaintenance={Customer Maintenance}; ToolStripSeparator3=System.Windows.Forms.ToolStripSeparator; tsbtnEditMonths={Lock/Unlock Months};
ToolStripSeparator4=System.Windows.Forms.ToolStripSeparator; LockedMonthsBO1={ [CMPR.LockedMonthsBO]};
scrollPosition (Point): x=0; y=0;
ToolStrip1 = {System.Windows.Forms.ToolStrip, Name: ToolStrip1, Items: 9}
Parameters: sender={Credit Memo Form}; e=System.EventArgs;
Remaining Stack Trace - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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)
I've confirmed that the Security Key in the Security Project Properties dialog matches what is in AppMain.vb as
SecurityBasics.SecurityDataSourceKey = "CMPR.EncryptionKey"
There is no ViewSecurityKey set on any of the forms in question. Any ideas why I'm getting this error?
Thanks