AzureStorageExplorer
AzureStorageExplorer copied to clipboard
Error on launch: Configuration system failed to initialize
Windows 10 Enterprise Microsoft .NET Framework 4.8.1/4.8/4.7.2 Storage Explorer 1.25.0/1.24.0/1.24.3
Hi, When I try to open Storage Explorer, I receive the error:
The authentication library used by Storage Explorer has failed to start properly. Please ensure you have .NET Framework 4.7.2 or greater installed. If .NET Framework 4.7.2 or greater is already installed then refer to the troubleshooting guide for help. Verbose authentication logging has been enabled.
Error:Configuration system failed to initialize (ErrorKind: Error HResult: 80131500)
When I close the error, Storage Explorer also closes.
I've tried different versions of ASE and installed different versions of the .NET SDK, but get the same error every time.
I tried closing ASE and Visual Studio, clearing logs, then reopening ASE. The logs: azure_storage_explorer_1.25_logs.zip
I've passed your logs onto the responsible team. Will get back to you as soon as possible.
@dfran02 have you installed mono on your machine?
No, but perhaps some other frameworks I have installed may clash:
Hmmmmmmmmmmm. Can you check C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\machine.config
(if you don't have a v4.0.30319
then look for some other v4
folder) and look for any proxy entries? It should have just this
<section name="defaultProxy" type="System.Net.Configuration.DefaultProxySection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
yes, I see that entry.
And no other proxy entries? Ok well then let's just try:
- Open
<Storage Explorer install dir>\resources\app\ServiceHub\MSAL-Services\IdentityService\Microsoft.Developer.IdentityService.exe.config
- Delete the line with
<defaultProxy useDefaultCredentials="true" />
- Try running Storage Explorer again
- If it fails, share the new set of authentication logs with us
That worked! Any chance you could explain why it worked?
To be honest....nope! Something somewhere didn't like that section in the config. 🤷
Going to close this as mitigated now. Please open a new issue if something else comes up. We don't look at closed issues very frequently.