When I go to delete a session folder.. im getting a " The current Datastore is unavailable. Specified cast is not valid."
Data source is MSSql.. with offline mode. When I click threw the errors.. I need to go to the datastore and click test on both database, and server and then my sessions will re-appear with the one that I selected to delete is deleted.
Message in Application Log -
[7/8/2013 3:25:25 PM]ERROR System.InvalidCastException: Specified cast is not valid.
at Devolutions.RemoteDesktopManager.Business.DataSources.DatabaseConnectionDataSource.GetConnections()
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnectionsFromDataSource(BaseConnectionDataSource connectionDataSource)
[7/8/2013 3:25:39 PM]ERROR System.InvalidCastException: Specified cast is not valid.
at Devolutions.RemoteDesktopManager.Business.DataSources.DatabaseConnectionDataSource.GetConnections()
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnectionsFromDataSource(BaseConnectionDataSource connectionDataSource)
[7/8/2013 3:27:12 PM]ERROR System.InvalidCastException: Specified cast is not valid.
at Devolutions.RemoteDesktopManager.Business.DataSources.DatabaseConnectionDataSource.GetConnections()
at Devolutions.RemoteDesktopManager.Managers.ConnectionManager.LoadConnectionsFromDataSource(BaseConnectionDataSource connectionDataSource)
att1.png
att2.png
This is Version 8.9.1.0
You get the cash while you are in offline mode or not?
David Hervieux
Online, and then it kicks me to offline when the errors come up.
It doesn't happen on all of the folders, just some. I was able to delete some without getting an error.
We will try to reproduce it.
Thank you
David Hervieux
I have a backup up the database if you need that..
I have assigned the task to André, he will take a look tomorrow. Keep your backup, this could be useful if we can't reproduce it.
By the way, it seems that the crash is in the refresh after the delete. So the folders get deleted I think?
David Hervieux
You are correct. Refresh on delete.
False alarm... the folders came back
Could you try to disable the offline mode and the cache to see if you get the error?
David Hervieux
Disabling both of this removed the folders..