Users

All Posts (126)

avatar

sander01

Powershell embedded script editor > refused to connect

avatar
avatar
avatar

Hey sorry for the delay again... This is my output

Powershell embedded script editor > refused to connect

avatar
avatar
avatar

Normally not, 127.0.0.1 should be my localhost.

Powershell embedded script editor > refused to connect

avatar
avatar
avatar

Sorry for the delay - when I enabled 'silent logs' I get this message.

Performance windows shows:


http://127.0.0.1:42384/

Connection States: Refresh...

GetOpenedConnections...

Opened - by process...

RDP (Microsoft Remote Desktop) : 1 ms

XManager : 8 ms

Opened - by process : 22 ms

GetOpenedConnections : 22 ms

Connection States: Refresh : 53 ms

Silent: System.Net.HttpListenerException (1232): The network location cannot be reached. For information about network troubleshooting, see Windows Help.

at System.Net.HttpListener.AddPrefixCore(String registeredPrefix)

at System.Net.HttpListener.AddAllPrefixes()

at System.Net.HttpListener.Start()

at Devolutions.RemoteDesktopManager.Managers.MonacoEditorManager.StartListener()

Silent: System.ArgumentException: WebView2 was already initialized with a different CoreWebView2Environment. Check to see if the Source property was already set or EnsureCoreWebView2Async was previously called with different values.

at Microsoft.Web.WebView2.WinForms.WebView2.EnsureCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)

at...

Silent: System.ArgumentException: WebView2 was already initialized with a different CoreWebView2Environment. Check to see if the Source property was already set or EnsureCoreWebView2Async was previously called with different values.

at Microsoft.Web.WebView2.WinForms.WebView2.EnsureCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)

at...

Silent: System.ArgumentException: WebView2 was already initialized with a different CoreWebView2Environment. Check to see if the Source property was already set or EnsureCoreWebView2Async was previously called with different values.

at Microsoft.Web.WebView2.WinForms.WebView2.EnsureCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)

at...

Silent: System.ArgumentException: WebView2 was already initialized with a different CoreWebView2Environment. Check to see if the Source property was already set or EnsureCoreWebView2Async was previously called with different values.

at Microsoft.Web.WebView2.WinForms.WebView2.EnsureCoreWebView2Async(CoreWebView2Environment environment, CoreWebView2ControllerOptions controllerOptions)

at...

http://127.0.0.1:19198/

http://127.0.0.1:19198/


Thread : 5

Powershell embedded script editor > refused to connect

avatar
avatar
avatar

I'm having issue's editing embedded Powershell scripts. The editor loads but show's "127.0.0.1 refused to connect"

I'm having this issue quite a while now; but since I didn't needed to change any powershell scripts didn't mind untill today.

Any clue what is wrong on my installation? Or what to check?

'Save Document As' for pfx file

avatar
avatar
avatar

No problem :)


The mode is set to 'stored in database' (which is the default option).

'Save Document As' for pfx file

avatar
avatar
avatar

Hello,


RdM version 2019.2.19.0 64 bit (normally i always try to use the latest version)

Storage mode? we use Azure SQL as a data source.


Printscreen of entry in attachment.

'Save Document As' for pfx file

avatar
avatar
avatar

Hello,


We store certificates in RdM (entry type is file i suppose). In 'More' allow export is checked. Myself as administrator I am able to do 'Save Document As'. However non - administrators cannot do this.


They can double click it, which will ask to install the certificate locally (meaning the user has rights to open it).

As a temp workaround we stored is as ZIP file which he can open (also not 'Save Document As') and then extract the pfx-file from it.


Am i missing some security setting? Or is this just a bug?

4k laptop Sizing Idea

avatar
avatar
avatar
avatar
avatar

I have a 15" laptop with 4K display and do not have the issue's you are having... The only thing i do have is that in RDP window it can be the mouse pointer is so small it is completely not visible (in notepad when displayed as a I). Solution there is to set is the mouse pointer as inversed colour.

SQL requests loading less at once

avatar
avatar
avatar
avatar
avatar

For offline, if RDM starts for the first time since login, but connected previously, and it cannot connect to the database, it does not show anything. The offline database would need to stay somewhere between computer or session restart.



We have the same behavior - would be nice if this gets updated! A failed login (we use Azure SQL with Azure AD authentication) results in empty screen. Since we have MFA enabled i need to fill in password + do the MFA verification ; quite annoying f you want to use RdM to quickly open a session - and my authenticator app is only on my phone which is charging and not within hand-reach... .


Since i am allowed to go 14 (or 7) days offline this should also be possible when I just don't login.

Would be nice if you receive a retry / go offline choise after failed login.

'run as Admin' option for file explorer entry

avatar
avatar
avatar
avatar
avatar

I can confirm open 'internal / tabbed' is working fine while doing open external shows the windows credential pop-up...

Note that the credential pop-up show my windows username and not the username which is bound with the entry.


see image in attachment.



Can you guys find a way to fix the 'external' mode of the entry? I think that would solve my issue's without the need of the admin option ;)

'run as Admin' option for file explorer entry

avatar
avatar
avatar
avatar
avatar

Hold your horses; i might not even need the 'admin' option. I noticed when i pressed "open externally" a popup came to enter my credentials while internal i don't have the issue. When i entered the credential info (pasted from RdM) it went trough.


( Note that i assume there is a difference in running the application as admin and not running as admin. )

'run as Admin' option for file explorer entry

avatar
avatar
avatar
avatar
avatar

a.t.m. i am not opening it in external mode ; but no problem to open it external. The only reason we use those entries in this case is to open the fileshare which will save the credentials and allow other applicatien (running in the same account) to access files and folders in the fileshare.

'run as Admin' option for file explorer entry

avatar
avatar
avatar
avatar
avatar

We use the 'file explorer' entry to open a fileshare with specific username + password. Once opened the fileshare can be used in other applications without having a credential entry popup.


However when that application runs as admin it has no access to that fileshare. Running RdM as admin and opening the fileshare that way solves that issue;


For us it would be nice if "run as admin" was a option on that entry (like the powershell entry).



[Info: We use this to map drives on Dev/Test Virtual machines running externally (cloud hosted). For debugging from Visual Studio (which in my case runs under admin credentials) i need to map that fileshare as admin. ]

Password prompt behind RdM startup logo

avatar
avatar
avatar
avatar

The loading screen is always present while i need to type in the password.

Note that this is a popup when accessing the Azure SQL database (this comes from the adal module).

I just noticed that when i have displays it showed the login on the 2nd display this time - so no overlap issue this time.



I can move the underlaying window and then enter my credentials so its quite ok ; but not used friendly ;)

Password prompt behind RdM startup logo

avatar
avatar
avatar
avatar

Hey,


We use Azure SQL as datasource; this prompts for a password. I notice the prompt is behind the 'topmost' window with the RdM logo (loading screen).

I only noticed since I am using the beta (using 20119.2.9.0 64 bit).



See printsceen in attachment.

Windows clipboard history < > copy username + password

avatar
avatar
avatar
avatar
avatar

Hey Stefane,


I noticed there was a update of the Beta version today with something about this in the release notes


For me this is not working as should be:

  • "copy username and password" >> only pasted password ; nothing appears in clipboard history (windows + V)

  • "copy password" works as should be ; note that clipboard history (windows + V) does contain the password

  • "copy username" works as should be ; note that clipboard history (windows + V) does contain the username




Remarks:

  • "copy username and password" : not working

  • inconsistent behavior regarding clipboard history

  • (since this is sensitive information it seems like good idea to have a setting not to allow info to go into the clipboard history)



To be positive ; it is definitely working a bit more then in the past :D

Installed Visual Studio 2019 and now RDM won't connect to Azure SQL data source

avatar
avatar
avatar
avatar
avatar

I am using the Beta now; after VS upgrade it is still working. So this i a good sign. Thanks.

Installed Visual Studio 2019 and now RDM won't connect to Azure SQL data source

avatar
avatar
avatar
avatar
avatar

At the moment we are all using version 1.41.0 (latest release version) combined with Azure SQL data source.

Installed Visual Studio 2019 and now RDM won't connect to Azure SQL data source

avatar
avatar
avatar
avatar
avatar

Thanks David. I tried the beta; but this required a DB-update which i probably best not perform since other colleagues use the same datasource. I cannot force them to use the beta - and cannot risk to break there version of RdM.


Unless you can tell me the db-changes are backward compatible with the current RdM client?

Windows clipboard history < > copy username + password

avatar
avatar
avatar
avatar
avatar

When using the new windows clipboard history feature the copy username and password function of RdM does not behave well. Both entries are copies directly into the clipboard history. Note that the same thing occurs when you use other clipboard managers (for example ClipClip).



Since this is a regular windows feature it would be nice if both just would work .


Note that keepass had an option to "Do not store data in the Windows clipboard history and the cloud clipboard."

(maybe this helps in the lookout for a solution).

Installed Visual Studio 2019 and now RDM won't connect to Azure SQL data source

avatar
avatar
avatar
avatar
avatar

I assume it is possible to support multiple versions ; meaning when a new version is out you just need to add support for the new version. I also don't understand why these adal versions just are not backwards compatible. Meaning why cant i use the latest and greatest version while RDM workt with a slightly older version... Really dont get it why this software has such a hard dependency on the adal version.


I mean my old SSMS versions dont stop working when i install latest VS version and or other SMSS version side-by-side.

But i'll stop wanking about it - just wanted to let you know this is really annoying. Please think about solving this the good way ;)

Installed Visual Studio 2019 and now RDM won't connect to Azure SQL data source

avatar
avatar
avatar
avatar
avatar

Our dev team is getting quite fed up with these issue's. Vs update about every week ; meaning the procedure tot uninstall - install had to ben done quite a lot.

Installed Visual Studio 2019 and now RDM won't connect to Azure SQL data source

avatar
avatar
avatar
avatar
avatar

I installed VS2019 today and fixed the issue.


After installing VS 2019 it installed version=16.0.61903.25110. The MSI could be found in :

C:\ProgramData\Microsoft\VisualStudio\Packages\sql_adalsql,version=16.0.61903.25110,chip=x64,language=en-US



Which I used to uninstall. Afterwards installed the right version .

Note VS also has package "sql_adalsql,version=15.1.61810.11040,chip=x64,language=en-US" in the same "Packages" folder.



BTW: how do you guys reference / use ADAL? Do you use the nuget package https://www.nuget.org/packages/Microsoft.IdentityModel.Clients.ActiveDirectory ?

Installed Visual Studio 2019 and now RDM won't connect to Azure SQL data source

avatar
avatar
avatar
avatar
avatar

@sander01,


What version of ADALSQL.DLL is installed on his computer?


I would recommend installing the version below

https://www.microsoft.com/en-us/download/details.aspx?id=48742


Best regards,



It says:

Installation of Active Directory Authentication Library' for SQL Server failed because

a higher version already exists on the machine. To proceed, uninstall the higher

version and then run Active Directory Authentication Library' for SQL Server Setup

again. Not a clue which version is installed - does not appear in installed program seperatly.


Is it possible for you to test this (install VS2019). It wont be long for VS2019 launches and a lot of devs will have issue's with RDM i guess...

Note that in the past we also had loads of issue's with ADAL after installing SQL mgmt studio.

Installed Visual Studio 2019 and now RDM won't connect to Azure SQL data source

avatar
avatar
avatar
avatar
avatar

My collegue has the same issue.... RDM doens't work for him anymore:

System.Data.SqlClient.SqlException (0x80131904): Unable to load adalsql.dll (Authentication=ActiveDirectoryPassword). Error code: 0x2. For more information, see http://go.microsoft.com/fwlink/?LinkID=513072

at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, DbConnectionPool pool, String accessToken, Boolean applyTransientFaultHandling, SqlAuthenticationProviderManager sqlAuthProviderManager)

at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)

at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)

at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)

at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)

at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)

at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)

at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)

at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)

at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)

at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)

at System.Data.SqlClient.SqlConnection.Open()

at Devolutions.RemoteDesktopManager.Business.DataSources.SQLServerConnectionDataSource.cb237041e20b5e69dd4663ff2ed975633(String c18973cea236a9feff75c32ca7d1697d5, String c5b591b7955deb9ddac9f502d298faf48, String ceb81d1ee93f91e0bc57f34876c263863)

ClientConnectionId:486a2e28-8009-49b7-a083-93bc88b69539


The error does NOT appear in the application logs.

1 - 25 of 126 items