RDM 5.7.0.4 crashes the Layout

RDM 5.7.0.4 crashes the Layout

avatar

Hi RDM team,

i was running a RDM 5.6.3.0 without problems.
After exchange the binaries from 5.7.0.4 the RDM session window is empty.. no option are enabled in the Layout. No defined sessions are visible.
I tried to enabled the View -> Layout -> Session Pane, but nothing happens.
So i go back to 5.6.3.0 and there the same behavior, but i can reenable this for e.g. Session Pane with success.
Verifing for the 7.5.0.0 build it seems the Layout options setting are not working 100% !
There is no entry in the RMD Application log.
RDM using on Windows 2003 and Windows XP Prof SP3 latested MS fixes

maybe you can fix this.

rgs Bob

All Comments (20)

avatar

Hi,
I will verify what might be the problem. If you unzip the binaries in another folder, not in program files, you will be able to run both version side by side, can you try it please ?

Thank you

David Hervieux
Devolutions inc.

David Hervieux

avatar

Hi David,
i have unziped the 7.5.0.4 into a new folder, start RDM and can add a new (the 1st) session. Everything seems to work.
Stop and restart the RDM and the session window is empty, in the right corner where the version is displayed is only a 1.0 visible.
Starting the old 5.6.3.0 everything is OK.

rgs Bob

avatar

Hi David,
still a info, i have RDM 5.6.3.0 under C:\RDM\56 and RDM 5.7 under C:\RDM\57... i can't start both version side by side at the same time.

rgs Bobf

avatar

Hi,
I just tried on another machine, and I was able to reproduce it, but I don't know the problem. I will try to find out. If I open and close RDM, the second time, everything is ok.

Thank you

David Hervieux
Devolutions inc.

David Hervieux

avatar

Hi David,

many thanks. i tried it several times 3times and more ...... and i can reproduce it always.

Bob

avatar

Can you send me your config file (support@devolutions.net) ? Maybe it will help. Can you try the version 5.7.0.3 also ?

David Hervieux
Decolutions inc.

David Hervieux

avatar

Hi Bob,
I uploaded a new zip file with the more debug information (set the debug level to 1).

If you try it and verify if you get the message "Main form Loaded" in the log

Thank you

David Hervieux
Devolutions inc.

David Hervieux

avatar

Hi David,

i found the following.
As already mentioned so i have a i have RDM 5.6.3.0 under C:\RDM\56 and RDM 5.7 under C:\RDM\57.
Now i have tried the deleted ALL files of 5.7.0.4 from the C:\RDM\57 and add the files of 5.7.0.3. Start RDM and he is asking the version and if run at startup and
oops i see my session config of 5.7.0.4. So i wondering because ALL files where be delete.
I searched for the Connections.mdb and found it under: c:\Documents and Settings\Administrator\Local Settings\Application Data\Devolutions\RemoteDesktopManager\

This Connections.mdb of 5.6.3.0 i use since verion 2.x always from the RDM application folder C:\RDM\56. So could this be the problem?
Which informations are all stored in the Connections.mdb?
Is there a possibility to set the path of the Connections.mdb in the RDM settings?

Can you please verify this before i send the config file?

Bob

avatar

Hi,
I'm not sure that it's the problem, but it might be related. By default, if no configuration is found, the database is created in "c:\Documents and Settings\Administrator\Local Settings\Application Data\Devolutions\RemoteDesktopManager\" but you can go in the menu Data Source and change it. The application also ask for "run at startup" if no cfg file is found.

The mdb only contains the session information, no configuration.

Can you try to set the path in the data source menu and see if it works ?

Let me know

David Hervieux
Devolutions inc.

David Hervieux

avatar

Hi David,

i changed the datasource to the old connections.mdb but the problem still occurs.
I have downloaded the 5.7.0.4 again and set the debug level to 1. In the log i see :

[03.12.2009 15:25:44] Started with parameters:
[03.12.2009 15:25:46] Main form loaded
[03.12.2009 15:26:25] Started with parameters:
[03.12.2009 15:26:27] Main form loaded

thx Bob

RDM5704.jpg

avatar

Hi Bob,
Sorry to ask, when you have 2 seconds, can you try again :(

You can clear you log, open once and post the content here

David Hervieux
Devolutions inc.

David Hervieux

avatar

still the same.

[03.12.2009 16:28:40] Started with parameters:
[03.12.2009 16:28:42] Main form loaded

Bob

avatar

I really don't understand, because you should get at least one other message


http://remotedesktopmanager.com/download/Devolutions.RemoteDesktopManager.Bin.5.7.0.4c.zip

Just to be sure, I changed the message "Main form loaded" in this build

David Hervieux
Devolutions inc.
edited by dhervieux on 12/3/2009

David Hervieux

avatar

FYI: this is exactly the screen i got with allow multiple instances + adding new data source ...

KR
plague

just to know .. why is it showing version "1.0" on the bottom right?

avatar

The 1.0 is here because something is not initialized and I can't find why.

But, maybe your previous post will help.

Thank you

David Hervieux
Devolutions inc.

David Hervieux

avatar

Hi guys,
I posted a new build, I not sure that your problem is fixed, but maybe I will get more clue. Bob, if you can try to give me the log again, like you did

Thank you

David Hervieux
Devolutions inc.

David Hervieux

avatar

Hi David,

many thanks for your update and the new build.
Running the 5.7.0.5 i got different behaviors.
1) fresh 5.7.0.5 -> create a new session -> stop/restart RDM and everything works also after 10times
2) 5.7.0.0 (was previous 5.6.0.3) -> update to 5.7.0.5 -> -> stop/restart RDM and everything works also after 10times
3) 5.6.3.0 working -> update to 5.7.0.4 -> the known error -> update to 5.7.0.5 i got a new error see on the bottom.
backlevel the RemoteDesktopManager.exe of version 5.6.3.0 and everything works again.
4) 5.6.3.0 working -> update to 5.7.0.4 -> the known error -> update to 5.7.0.5 and use an "old saved" RemoteDesktopManager.cfg
not touched with a 5.7.0.4 build and the 5.7.0.5 is also working.

So it seem's that the cause is related in the RemoteDesktopManager.cfg.
I have compared the RemoteDesktopManager.cfg working and failing and see relevant differences.
differences are:
The following lines are missing in the 5630 cfg:
<AlwaysRestoreWhenOpeningExternal>false</AlwaysRestoreWhenOpeningExternal>
<ApplicationLogPath />
<CollapseRoot>false</CollapseRoot>
<DefaultScreenShotFolder />
<StartupFormState>Minimized</StartupFormState>
<TaskbarVisibility>Default</TaskbarVisibility>
<TrayiconVisibility>AlwaysVisible</TrayiconVisibility>


The questions are:
- Why fails the RDM with the 5.7.0.5 cfg and is still working with 5.6.3.0?
- could the cfg be corrupted by 5.7.0.4?

-----------------------------------------------------------------------------------------------------------------------------------------------------
error from scenario 3
NullReferenceException - Object reference not set to an instance of an object.

at Devolutions.RemoteDesktopManager.Managers.MenuManager.SetControlStates()
at Devolutions.RemoteDesktopManager.Forms.FrmMain.SetControlStates()
at Devolutions.RemoteDesktopManager.Forms.FrmMain.FrmMain_Shown(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnShown(EventArgs e)
at System.Windows.Forms.Form.CallShownEvent()
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Maybe you can see something in the error here.
Neverthless, the 5.7.0.5 works better than the 5.7.0.4 build, and it works... so go ahead to finalize the 5.7.x build.
many thanks for your support.

Bob

avatar

Hi Bob,
Yesterday, I was "hunting" two bug, the one you reported and another one, this one. Another user gave me an info and I think that it's related to a new configuration option (StartupFormState). This is why you don't get the error in the previous version, because it was not read. I hope to fix it today.

Thanks a lot for your help, I really appreciate.

David Hervieux
Devolutions inc.

David Hervieux

avatar

David Hervieux

avatar

Hi David,

absolutely great !! 5.7.0.6
it works also with the RemoteDesktopManager.cfg of 5.6.3.0 (see scenario 3) ).

many thanks
Bob

Sysadminotaur pondering a question Special Q&A

Our CTO is answering your AI questions

A rare opportunity — ask our CTO directly.

8 questions already asked Ends in 7 days
Ask your question →