Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use Storage Explorer #969

Closed
FrankPan1990 opened this issue Dec 6, 2018 · 9 comments
Closed

Cannot use Storage Explorer #969

FrankPan1990 opened this issue Dec 6, 2018 · 9 comments

Comments

@FrankPan1990
Copy link

Storage Explorer Version: 1.6.0
Platform/OS Version: Windows
Architecture:
Regression From:

Steps to Reproduce:

  1. When I log in my account for subscriptions, the problem happened
  2. The problem happened when click load more.
  3. The problem happened like "the requested action could not be completed." Details: Cannot read property 'connectionString' of undetfined. Then, the explorer unable to retrieve child resources. Details Cannot read property 'connectionString' of undefined.

EXPLORER part.
image

ERROR message
image

image

Expected Experience:

The Azure Storage Explorer should work and load all storage account.

Actual Experience:

The Azure storage explorer cannot load all storage account under my subscription.

@bretthackermsft
Copy link

I have this same issue, and I've had it for several versions now, and nobody seems to care. The workaround, if you're interested, is to click "File - New Window".

Since this has been complained about for so long, I'm assuming it's a config corruption or something rather than an actual bug. If that's the case, then TEAM, could you please update the readme, or the doc, or the Wiki, or something, to let us know how to fix it? I've even offered to share my session with a dev so they could see the repro - no response.

@MRayermannMSFT
Copy link
Member

Hi @bretthackermsft and @FrankPan1990 , can y'all try something for me? Note: doing this will remove all of your attached resources, though I think it should fix your issue.

Open dev tools (f12)

  1. Go to the Application tab
  2. Navigate to Local Storage -> file:// (see picture)
  3. Filter by CustomConnections
  4. For all results, double click on the Value cell, and replace the value with []
  5. Restart the app

image

If losing all of your attached resources is a big deal for you, let me know, and we can try to only get rid of the corrupted connection.

@bretthackermsft
Copy link

!!!!

That worked, thanks very much. The string in that array was a since-removed manual connection. Since this is the fix, can't you trap that error, assuming it's throwing as you loop that array and setup each connection, and prompt to remove it? Alternatively, at least update the error message in the dialog?

@MRayermannMSFT
Copy link
Member

MRayermannMSFT commented Dec 10, 2018

Yes! We should definitely do that. I've made a new issue to track that effort. #985 We'll also be adding resetting custom connections to the Help -> Reset dialog soon.

@MRayermannMSFT
Copy link
Member

@FrankPan1990 , since the workaround unblocked Bret, I'll assume it'll work for you too so I'll close this issue. Please comment if that ends up being not the case.

@FrankPan1990
Copy link
Author

Sorry for the delay. the problem disappear after clear custom connection. Thank you.

@raphabritto
Copy link

Hi @bretthackermsft and @FrankPan1990 , can y'all try something for me? Note: doing this will remove all of your attached resources, though I think it should fix your issue.

Open dev tools (f12)

  1. Go to the Application tab
  2. Navigate to Local Storage -> file:// (see picture)
  3. Filter by CustomConnections
  4. For all results, double click on the Value cell, and replace the value with []
  5. Restart the app

image

If losing all of your attached resources is a big deal for you, let me know, and we can try to only get rid of the corrupted connection.

Perfect!!!

@rustam-umarov
Copy link

@MRayermannMSFT you're the best! Thanks!

@MRayermannMSFT
Copy link
Member

Thanks @rustam-umarov 😄 We try really hard to be the best! Sorry for the times we don't get quite there, and thanks for being patient when that happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants