microsoft / microsoft/AzureStorageExplorer
Need to give a better error on a sharing violation
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 452
- Forks
- 92
- Avg merge
- 15h 20m
- Merged PRs (30d)
- 3
Description
Storage Explorer Version: 1.14.0
Build Number: 20200624.3
Platform/OS: Windows 10
Architecture: x64
Regression From: unknown
Bug Description
When another program has a file open with exclusive access, ASE gives a confusing error message when uploading.
Steps to Reproduce
- Open c:\temp\foo.csv in Excel (Excel opens with exclusive access)
- In ASE, try to upload c:\temp\foo.csv to blob storage
Expected Experience
An error message like "Unable to open c:\temp\foo.csv because another program has it open"
Actual Experience
Transfer of 'C:\temp\foo.csv' to 'datacontainer' failed: error: failed to perform copy command due to error: cannot start job due to error: cannot scan the path \?\C:\temp\foo.csv, please verify that it is a valid. (used SAS, discovery not completed)
Additional Context
I thought since I took a recent update, it was getting confused about this "\?\c:" path format. Instead it was a sharing violation.
Considering Excel is so unfriendly about sharing, this has to happen on occasion.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the upload from c:\temp\foo.csv while Excel holds the file with exclusive access, using the listed Windows and Storage Explorer versions as context. Trace how the sharing violation becomes the transfer error, and consider the issue done when the upload reports that another program has the file open instead of the confusing scan-path message.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100