Sharing Violation error when saving image

Still need help?

The Atlassian Community is here for you.

Ask the community


Problem

When using Internet Explorer, if you attach an image to a ticket, the file keeps locked after uploading it.

The following error appears in Windows:

A sharing violation occurred while accessing <filename>

Diagnosis

Environment

  • Internet Explorer 10 and 11; Windows OS (any version with IE10 or IE11); Any JIRA version.

Diagnostic Steps

    1. Start JIRA;
    2. Start Paint;
    3. Create an image on Paint and save it;
    4. Create an Issue in JIRA and add the file created as an attachment;
    5. Submit the Issue;
    6. Edit the image in Paint;
    7. Save Paint (same filename) - Error appears.

Cause

This problem occurs due to a bug in Internet Explorer 10 and Internet Explorer 11, tracked by Microsoft here. Unfortunately, seems this was closed as "Won't Fix", so you need to follow the Workaround from this document in those cases.

Workaround

There are two different workarounds for this case:

  • Use a different browser during the uploads;
  • Close the Internet Explorer browser after the upload, so it will release the file again for the other application.

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.