Terminals 3.0 Beta 1 date bug?

Apr 17, 2013 at 8:56 AM
Hi,

I started to test the Terminals 3.0 Beta 1 from yesterday and imported all Favorites from Terminals 2.0. Today I found out that all the imported connection are gone, it seems to have something to do with the date. You can reproduce this by changing the Data to tomorrow.
Coordinator
Apr 17, 2013 at 4:44 PM
Do you mean: "changing the Date to tomorrow"?
Apr 17, 2013 at 5:26 PM
Edited Apr 17, 2013 at 5:28 PM
Exactly. Sorry I made a typo (Data = Date).

Yesterday we configured all, I made the Credentials by hand because we can't export and then I exported and imported the connections.

But this morning I found out that the connections were gone, there was only one connection left the default "Terminals" connection (HTTP).

You can reproduce by changing the Date to tomorrow.
Coordinator
Apr 17, 2013 at 10:10 PM
Edited Apr 17, 2013 at 10:11 PM
Can you provide more details (Exact steps) how to reproduce? I was not able to...
Apr 18, 2013 at 6:24 AM
I downloaded the portable version of Terminals, extracted, then you will get the wizard put in the following information:
Master password: test
Domain, username, password: (leave it empty)
Minimize to tray: turn it off
Warn on disconnect: turn it off

Then go to View and turn off "Lock taskbar" and turn off "Favorites" and "Shortcuts", after that turn on "Lock taskbar" again.

Go to Tools, Options, Interface/favorites turn off "Enable Favorites Panel".
Go to Connections under Tools, Options and turn off "Show confirm dialog on close or warn on disconnect"

Go to the credential management and make a new credential:
Name: test
Username: test
Password: test
Domain: test.local

Go to the favorites and create a new connections with following information:
Protocol: rdp
Computer: 192.168.1.1
Name: test
Credentials: the newly created "test" credentials

Under the rdp tab:
Desktop size: fit to window
Connect to console: on

And then save the connection.

After that try the newly created connection, you can disconnect directly after that.

Then close Terminals and change the Date to tomorrow and start Terminals again.

If you will look in the "Connect to" bar or open the Favorites you will notice that the newly created "test" connection is gone.

Don't forget to change back the Date on your computer.
Apr 18, 2013 at 9:58 AM
I got some more information. (Note: I changed my username in %username% in the logfile beneath)

When I put "Read only" on Favorites.xml and I change the Date, the connections are not removed.
It seems that Favorites.xml is restored to default or overwritten when the problem occurs.
Beneath is the logfile when I put "Read only" on Favorites.xml:


INFO 2013-04-19 10:49:49,102 343ms Terminals Main - -------------------------------Title: Terminals 3.0.0.0 started Version:3.0.0.0 Date:15-4-2013 18:25:33-------------------------------
INFO 2013-04-19 10:49:49,211 452ms Terminals Main - Start state 1 Complete: Unhandled exceptions
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - CommandLine:"C:\Users\%username%\Documents\Terminals\Terminals.exe"
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - CurrentDirectory:C:\Users\%username%\Documents\Terminals
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - MachineName:PC
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - OSVersion:Microsoft Windows NT 6.2.9200.0
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - ProcessorCount:2
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - UserInteractive:True
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - Version:4.0.30319.18033
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - WorkingSet:23429120
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - Is64BitOperatingSystem:True
INFO 2013-04-19 10:49:49,226 467ms Terminals gGeneralProperties - Is64BitProcess:True
INFO 2013-04-19 10:49:49,226 467ms Terminals Main - Start state 2 Complete: Log General properties
INFO 2013-04-19 10:49:49,226 467ms Terminals Main - Start state 3 Complete: Set application properties
INFO 2013-04-19 10:49:49,304 546ms Terminals Main - Start state 4 Complete: Parse command line
INFO 2013-04-19 10:49:49,304 546ms Terminals Main - Start state 5 Complete: User account control
INFO 2013-04-19 10:49:49,304 546ms Terminals Main - Start state 6 Complete: Set Single instance mode
INFO 2013-04-19 10:49:49,304 546ms Terminals Main - Start state 7 Complete: Configuration upgrade
INFO 2013-04-19 10:49:49,304 546ms Terminals Main - Start state 8 Complete: Check application updates
INFO 2013-04-19 10:49:49,336 577ms Terminals TryLoadFile - Loading History from: C:\Users\%username%\Documents\Terminals\Data\History.xml
ERROR 2013-04-19 10:49:50,544 1785ms Terminals Save - File persistence was unable to save Favorites.xml
System.UnauthorizedAccessException: Access to the path 'C:\Users\%username%\Documents\Terminals\Data\Favorites.xml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at Unified.Serialize.SerializeXMLToDisk(Object request, String Filename) in D:\viewstore3\CodePlex\Terminals\Main\Source\Terminals\Unified\Serialization\Serialize.cs:line 91
at Terminals.Data.FilePersistence.Save() in D:\viewstore3\CodePlex\Terminals\Main\Source\Terminals\Data\FilePersisted\FilePersistence.cs:line 247
ERROR 2013-04-19 10:49:50,559 1800ms Terminals Save - File persistence was unable to save Favorites.xml
System.UnauthorizedAccessException: Access to the path 'C:\Users\%username%\Documents\Terminals\Data\Favorites.xml' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at Unified.Serialize.SerializeXMLToDisk(Object request, String Filename) in D:\viewstore3\CodePlex\Terminals\Main\Source\Terminals\Unified\Serialization\Serialize.cs:line 91
at Terminals.Data.FilePersistence.Save() in D:\viewstore3\CodePlex\Terminals\Main\Source\Terminals\Data\FilePersisted\FilePersistence.cs:line 247
INFO 2013-04-19 10:49:55,625 6866ms Terminals SaveHistory - History saved. Duration:16 ms
INFO 2013-04-19 10:49:57,606 8847ms Terminals Main - -------------------------------Terminals 3.0.0.0 Stopped-------------------------------
Coordinator
Apr 18, 2013 at 9:47 PM
Thank you very much for really helpful details. Now i was able to reproduce the issue.
Coordinator
Apr 18, 2013 at 9:52 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Apr 19, 2013 at 11:20 AM
Your welcome.

Yesterday I tried some different variation like enable or disable the master password and turn the different options on/off to troubleshoot but I couldn't find out what was causing this problem.