5.8.1 Application Error when closing

5.8.1 Application Error when closing

avatar

I get the following error message whenever I close RDM 5.8.1 after using a RDP session.

The exception unknown software exception (0xc0020001) occurred in the application at location 0x7c812afb
Click on OK to terminate the program.

Clicking OK closes the window and if I restart RDM it works fine, but gives a similar error message each time I close the program.

If I open and close RDM without starting a RDP session, I don't get the error message.

Any Ideas?

RDM_5.8.1_ErrorMessage.jpg

All Comments (21)

avatar

Hi,
If you close the application without connecting to an RDP session, do you get the error ? Also, when you close, all your session are closed ?

David Hervieux

avatar

I only get the error if I have opened an RDP session. If I open RDM and then close it immediately without launching an RDP session, the error does not appear.

All RDP sessions are closed when I shut down RDM. If I open RDM, launch an RDP connection to a server, then close the RDP session and then close RDM, I get the error.

I'm running MSTSC.EXE version 6.1.7600.16385 on Windows XP Professional SP3

avatar

FWIW, I'm running 5.8.1.1 beta, Win7 32-bit with the version of MSTSC.exe that comes with it, and I'm not having an issue.

avatar

Hi,
I suggest that you should try to upgrade to the latest RDP version (7.0):

http://support.microsoft.com/kb/969084

David Hervieux

avatar

That's the version that I'm running. Even though it's called version 7.0 the file version is as shown in my earlier post.

avatar

I have the same problem.
RDP version 7
RDM Version 5.8.2

avatar

Sorry, also
OS: Windows XP SP3

avatar

Hi,
I will try to setup and Windows XP SP3 and do some test, it appear that this OS is causing the problem.
edited by dhervieux on 8/12/2010

David Hervieux

avatar

Hi,
Can you try a small test, Open RDM, open an RDP session, close the RDP session, go in the About box and close the application. Do you get the message.

Why go in the about box, this will trigger a garbage collect.

David Hervieux

avatar

I tried what you suggested. Open RDM, Open RDP session, Close RDP session, Open Help About, Close Help About, Close RDM.

I still get the error message.
Is this the right About box?

I'm running XP SP3 as well.

avatar

I get the same error with 5.8.2.1. The interesting thing for me is that if I just open RDM, and not click on anything, I don't get an error if I close RDM. If I open RDM, select a connection (not launch anything just highlight one of the connections), I get the same error. I am running Windows XP SP2. We can't upgrade to SP3 due to corporate policy. I am currently evaluating this software for my company as a possible solution to connection management so hopefully this won't interfere with my testing (it doesn't seem to be so far).

avatar

Hi,
@rschwer: yes it's the right aboutbox. There is another thing you can try. Close you application and open the application configuration. Change the field "ForceRDP6"value in the file to true. Let me know.

The thing I don't understand is this error is not caught by RDM, this is Windows message. There is another thing I see, maybe you can try to create an xml data source, I saw many problem with the Access driver.

CAn you verify also if you see a entry in the event viewer, maybe we will find a clue?

David Hervieux

avatar

I tested a couple of things.

1. I get the same results as eevul. If I open RDM and close it immediately, I don't get any errors. If I open RDM and select one of the connections, without launching an RDP session and then close RDM, I get the same error.
2. I am using an XML data source for my connection list, and have been since this option has been available.
3. I am getting an entry in the System event log, see attached file.

I'm not sure where to change the field "ForceRDP6".

rdm_error_20100817.txt

avatar

I'm sure that there is something simple we miss, I tested on XP SP3 and can't reproduce the error. For the setting, open the file remotedesktopmanager.cfg and replace <ForceRDP6>false</ForceRDP6>" by <ForceRDP6>true</ForceRDP6>.

Make sure the application is closed before you change the value (or it will be rollback to false).
edited by dhervieux on 8/17/2010
edited by dhervieux on 8/17/2010
edited by dhervieux on 8/17/2010

David Hervieux

avatar

I can't find a remotedesktopmanager.cfg file. I've been using this for over a year with all the upgrades. Where is the file supposed to be?

avatar

Go in the menu Help->View Application Log.. and click the button "Open Folder"at the bottom, it's in the same folder

David Hervieux

avatar

I made the recommended change to the RemoteDesktopMager.cfg file and I still have the same problem.

I did notice that the file is encrypted. This is corporate policy, all files in the Local Settings\Application Data\ folder are encrypted by default. This means that the Connections.log, RemoteDesktopManager.bak, .cfg and .log files are all encrypted. Is it possible that this is the issue?

avatar

Hi,
Maybe, can you try to install the application (another install from the binary will work) in a folder like c:\RDM. When the application is installed anywhere else than program files, the config file is saved directly in the folder. I made this change to be able to use multiple version side by side. Let me know the result

David Hervieux

avatar

Hi,
I was able to reproduce this error when I used IE 6. I upgraded to IE 8 and the error disapear. What version of IE do you use ?

David Hervieux

avatar

I have recently upgraded to IE8 (from IE6) and the problem has disappeared. Thanks for all your help!

avatar

Hi,
Thank you for confirming that. This problem was not easy to find, because the error was not handled in RDM, it's after the managed code unloaded

David Hervieux