Hi all,
I am having issues with Visual Studio DIS login popup window. When I launch VS, a blank login window appears that I need to close to be able to open the VS IDE. When I navigate to the DIS extension Account, I see that I am not logged in and trying to login opens the same blank login popup. See screenshot.
Our IT colleagues confirm that nothing is blocked on the proxy we use. My other colleagues using the same set up have no issues. Also I am able to login to About DataMiner Dojo - DataMiner Dojo from this environment.
Do you have an idea on what could be going wrong and what I can do to solve this issue?
Hi Pedro,
Does the Output window provide some details? (View > Output, then select DIS from the dropwown)
Another thing you could try is close Visual Studio, remove the msalcache.bin file from the C:\Users\<userName>\AppData\Local\Microsoft\VisualStudio\17.0_<randomString>\Skyline\DataMinerIntegrationStudio folder and then restart Visual Studio.
Hi, can you send an email to techsupport@skyline.be for further follow-up? In the mail, you can also link to this Dojo question. Please provide all details that could be relevant such as the version of DIS, Visual Studio, OS.
Posting the cause of the issue in case others run into a similar issue: Make sure that traffic is not blocked for the URLs that are mentioned in https://docs.dataminer.services/develop/TOOLS/DIS/Installing_and_configuring/Prerequisites.html#communication. Also, make sure the content of following CDNs is not blocked: https://stackpath.bootstrapcdn.com/ and https://cdnjs.cloudflare.com/ as these are referenced for the login page.
Hi Pedro, below is the output of trying to login on the DIS account and then closing the blank login popup. Removing the msalcache.bin did not help, situation persists.
—————————————————————————————
2024/10/17 11:44:35.486|SkylineAPI|Signing in…
2024/10/17 11:44:35.486|AzureB2C|Always|False MSAL 4.61.3.0 MSAL.Desktop 4.8 or later Windows Server 2016 Standard [2024-10-17 11:44:35Z] [Internal cache] Total number of cache partitions found while getting refresh tokens: 0
2024/10/17 11:45:10.408|AzureB2C|Error|False MSAL 4.61.3.0 MSAL.Desktop 4.8 or later Windows Server 2016 Standard [2024-10-17 11:45:10Z] Exception type: Microsoft.Identity.Client.MsalClientException
, ErrorCode: authentication_canceled
To see full exception details, enable PII Logging. See https://aka.ms/msal-net-logging
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.VerifyAuthorizationResult(AuthorizationResult authorizationResult, String originalState)
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.d__7.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.AuthCodeRequestComponent.d__4.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.d__11.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.Requests.InteractiveRequest.d__9.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.c__DisplayClass11_1.<b__1>d.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Utils.StopwatchService.d__4.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.Identity.Client.Internal.Requests.RequestBase.d__11.MoveNext()