Hello Gurus,
i implemented the OpenFileDialog in my Windows Form Applications and it worked perfectly fine.However when it was run on a remote desktop i got the below error .
rt now im not sure where the problem is . is it something to do with any dll file which i need to include. if yes could u suggest me which dll files are involved in the open file dialog?
thank u in advance
- See the end of this message for details on invoking
-
just-in-time (JIT) debugging instead of this dialog box.
-
-
************** Exception Text **************
-
System.MissingMethodException: Method not found: 'System.String[] System.Windows.Forms.OpenFileDialog.get_SafeFileNames()'.
-
at PepmanAdmin.Form1.button4_MouseClick(Object sender, MouseEventArgs e)
-
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
-
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
-
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
-
at System.Windows.Forms.Control.WndProc(Message& m)
-
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
-
at System.Windows.Forms.Button.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)
-
-
-
************** Loaded Assemblies **************
-
mscorlib
-
Assembly Version: 2.0.0.0
-
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
-
CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
-
----------------------------------------
-
PepmanAdmin
-
Assembly Version: 1.0.3162.23072
-
Win32 Version: 1.0.3162.23072
-
CodeBase: file:///C:/Program%20Files/Siemens%20AG/PepMan%20Admin%20Installer/PepmanAdmin.exe
-
----------------------------------------
-
System.Windows.Forms
-
Assembly Version: 2.0.0.0
-
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
-
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
-
----------------------------------------
-
System
-
Assembly Version: 2.0.0.0
-
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
-
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
-
----------------------------------------
-
System.Drawing
-
Assembly Version: 2.0.0.0
-
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
-
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
-
----------------------------------------
-
System.Web.Services
-
Assembly Version: 2.0.0.0
-
Win32 Version: 2.0.50727.42 (RTM.050727-4200)
-
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
-
----------------------------------------
-
System.Xml
-
Assembly Version: 2.0.0.0
-
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
-
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
-
----------------------------------------
-
System.Configuration
-
Assembly Version: 2.0.0.0
-
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
-
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
-
----------------------------------------
-
ymuazfsw
-
Assembly Version: 1.0.3162.23072
-
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
-
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
-
----------------------------------------
-
Microsoft.JScript
-
Assembly Version: 8.0.0.0
-
Win32 Version: 8.0.50727.832
-
CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/Microsoft.JScript/8.0.0.0__b03f5f7f11d50a3a/Microsoft.JScript.dll
-
----------------------------------------
-
-
************** JIT Debugging **************
-
To enable just-in-time (JIT) debugging, the .config file for this
-
application or computer (machine.config) must have the
-
jitDebugging value set in the system.windows.forms section.
-
The application must also be compiled with debugging
-
enabled.
-
-
For example:
-
-
<configuration>
-
<system.windows.forms jitDebugging="true" />
-
</configuration>
-
-
When JIT debugging is enabled, any unhandled exception
-
will be sent to the JIT debugger registered on the computer
-
rather than be handled by this dialog box.