473,382 Members | 1,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Strange Error : Open File Dialog

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



Expand|Select|Wrap|Line Numbers
  1. See the end of this message for details on invoking 
  2. just-in-time (JIT) debugging instead of this dialog box.
  3.  
  4. ************** Exception Text **************
  5. System.MissingMethodException: Method not found: 'System.String[] System.Windows.Forms.OpenFileDialog.get_SafeFileNames()'.
  6.    at PepmanAdmin.Form1.button4_MouseClick(Object sender, MouseEventArgs e)
  7.    at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
  8.    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
  9.    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  10.    at System.Windows.Forms.Control.WndProc(Message& m)
  11.    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
  12.    at System.Windows.Forms.Button.WndProc(Message& m)
  13.    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
  14.    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
  15.    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
  16.  
  17.  
  18. ************** Loaded Assemblies **************
  19. mscorlib
  20.     Assembly Version: 2.0.0.0
  21.     Win32 Version: 2.0.50727.832 (QFE.050727-8300)
  22.     CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
  23. ----------------------------------------
  24. PepmanAdmin
  25.     Assembly Version: 1.0.3162.23072
  26.     Win32 Version: 1.0.3162.23072
  27.     CodeBase: file:///C:/Program%20Files/Siemens%20AG/PepMan%20Admin%20Installer/PepmanAdmin.exe
  28. ----------------------------------------
  29. System.Windows.Forms
  30.     Assembly Version: 2.0.0.0
  31.     Win32 Version: 2.0.50727.832 (QFE.050727-8300)
  32.     CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
  33. ----------------------------------------
  34. System
  35.     Assembly Version: 2.0.0.0
  36.     Win32 Version: 2.0.50727.832 (QFE.050727-8300)
  37.     CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
  38. ----------------------------------------
  39. System.Drawing
  40.     Assembly Version: 2.0.0.0
  41.     Win32 Version: 2.0.50727.832 (QFE.050727-8300)
  42.     CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
  43. ----------------------------------------
  44. System.Web.Services
  45.     Assembly Version: 2.0.0.0
  46.     Win32 Version: 2.0.50727.42 (RTM.050727-4200)
  47.     CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
  48. ----------------------------------------
  49. System.Xml
  50.     Assembly Version: 2.0.0.0
  51.     Win32 Version: 2.0.50727.832 (QFE.050727-8300)
  52.     CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
  53. ----------------------------------------
  54. System.Configuration
  55.     Assembly Version: 2.0.0.0
  56.     Win32 Version: 2.0.50727.832 (QFE.050727-8300)
  57.     CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
  58. ----------------------------------------
  59. ymuazfsw
  60.     Assembly Version: 1.0.3162.23072
  61.     Win32 Version: 2.0.50727.832 (QFE.050727-8300)
  62.     CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
  63. ----------------------------------------
  64. Microsoft.JScript
  65.     Assembly Version: 8.0.0.0
  66.     Win32 Version: 8.0.50727.832
  67.     CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/Microsoft.JScript/8.0.0.0__b03f5f7f11d50a3a/Microsoft.JScript.dll
  68. ----------------------------------------
  69.  
  70. ************** JIT Debugging **************
  71. To enable just-in-time (JIT) debugging, the .config file for this
  72. application or computer (machine.config) must have the
  73. jitDebugging value set in the system.windows.forms section.
  74. The application must also be compiled with debugging
  75. enabled.
  76.  
  77. For example:
  78.  
  79. <configuration>
  80.     <system.windows.forms jitDebugging="true" />
  81. </configuration>
  82.  
  83. When JIT debugging is enabled, any unhandled exception
  84. will be sent to the JIT debugger registered on the computer
  85. rather than be handled by this dialog box.
Sep 3 '08 #1
4 3322
Plater
7,872 Expert 4TB
Sounds like they do not have the correct version of .NET on the remote machine?
Sep 3 '08 #2
balabaster
797 Expert 512MB
Sounds like they do not have the correct version of .NET on the remote machine?
Oh, I think I missed the point - I interpreted that it was running on the remote machine when run interactively - just not when run over remote desktop? Is that not right?
Sep 3 '08 #3
Hello,
Firstly the build worked fine in both debug and release modus. Then i installed the setup.exe file from the Release in the remote maschine. However there is no Visual Studio on the remote maschine and its a Windows form application.

probably this info might help
Sep 4 '08 #4
balabaster
797 Expert 512MB
Hello,
Firstly the build worked fine in both debug and release modus. Then i installed the setup.exe file from the Release in the remote maschine. However there is no Visual Studio on the remote maschine and its a Windows form application.

probably this info might help
Chances are then, as Plater said... either the .NET framework isn't installed, or the correct version of the .NET framework isn't installed on the remote machine that the software is being installed on.
Sep 4 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
6
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much...
3
by: GrantS | last post by:
I am needing to permit users to select files using the 'Open file' common dialog box. The format of the names of the files are along the names of: GB00((&X.001.jpg I am not able to show these...
1
by: Shrishail Rana | last post by:
Hello all, Here's another mind puzzle from me :-) Today I tried to add a new resource to my program and VS.NET (v 7.0.9466) just died. What I mean by that is that it silently and quickly...
2
by: Mattbooty | last post by:
Hello, Not sure if anyone else has seen this bug, but I have a form where the entire form is covered with a picturebox. The picturebox has a mouseup event. I also have an open file dialog for...
4
by: Praveen_db2 | last post by:
Hi All I am getting strange errors in my db2diag.log can any one tell me what these errors mean?? Following is the code from my db2diag.log...
6
by: Eric_Dexter | last post by:
I am writing out zero byte files with this (using python 2.5). I have no idea why I am having that problem, I am also looking for an example of readlines where I can choose a number of lines say...
3
lifeisgreat20009
by: lifeisgreat20009 | last post by:
I am getting the following error :- 1>------ Build started: Project: Polygon Drawer, Configuration: Debug Win32 ------ 1>Compiling... 1>Dialog.cpp 1>g:\my subjects\3rd semester\project...
1
by: =?Utf-8?B?cnNvbWFzdW5kYXI=?= | last post by:
Hi, I got the following error while trying to run the project in ASP.Net 2003 to one of my application in my machine. I think some where im loosing the IIS configurations. Error Detail:...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.