# Error: \[Excel: Sharing violation. Try saving to a different file.\]

**URL:** <https://help.nextcloud.com/t/error-excel-sharing-violation-try-saving-to-a-different-file/127965>\
**Category:** ℹ️ Support\
**Tags:** nc22\
**Created:** [November 25, 2021, 5:22am UTC](https://help.nextcloud.com/t/error-excel-sharing-violation-try-saving-to-a-different-file/127965 "2021-11-25T05:22:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DevMarkOfficial](https://help.nextcloud.com/user_avatar/help.nextcloud.com/devmarkofficial/32/37357_2.png) [@DevMarkOfficial](https://help.nextcloud.com/u/DevMarkOfficial)\
**Post date:** [November 25, 2021, 5:22am UTC](https://help.nextcloud.com/t/error-excel-sharing-violation-try-saving-to-a-different-file/127965/1 "2021-11-25T05:22:45Z")

</div>

Nextcloud version _(eg, 20.0.5)_: `22.2.3`-Stable  
Operating system and version _(eg, Ubuntu 20.04)_: `TrueNAS 12.0 STABLE`  
Apache or nginx version _(eg, Apache 2.4.25)_: `nginx 1.20.1`  
PHP version _(eg, 7.4)_: `php 7.4.25`

The issue you are facing:  
Cant save Excel files with size larger than 10MB, indicating “Sharing Violation”

Is this the first time you’ve seen this error? _(Y/N)_:  
YES  
Steps to replicate it:

1. Save Excel file size morethan 10MB to Nextcloud folder
2. Edit excel and save.
3. Error will occur (Sharing violation, Try saving to a different file.

The output of your Nextcloud log in **Admin \> Logging** :

```auto
May not related to the Error but here: https://pastebin.com/gbzBMfnP

```

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

```auto
https://pastebin.com/bHVaDD7u

```

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
https://pastebin.com/ifM860Td

```

Note: my current solution is pause the sync before saving then resume.

---

<div class="post-metadata">

**Author:** ![Conwork](https://help.nextcloud.com/letter_avatar/conwork/32/5_5575768a8748004e209b776fc1b2916d.png) [@Conwork](https://help.nextcloud.com/u/Conwork)\
**Post date:** [January 11, 2023, 4:29pm UTC](https://help.nextcloud.com/t/error-excel-sharing-violation-try-saving-to-a-different-file/127965/3 "2023-01-11T16:29:35Z")

</div>

This exact problem still persists for me in the current version.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 2:49pm UTC](https://help.nextcloud.com/t/error-excel-sharing-violation-try-saving-to-a-different-file/127965/4 "2024-12-14T14:49:45Z")

</div>


