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.
4 3322
Sounds like they do not have the correct version of .NET on the remote machine?
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?
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
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.
Sign in to post your reply or Sign up for a free account.
Similar topics
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
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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:...
|
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...
|
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...
|
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...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |