> Source: [sk166013](https://support.checkpoint.com/results/sk/sk166013)

# sk166013 - "code 0x8003001D could not access file for write operation" received when trying to change Security Gateway version

| Property | Value |
|----------|-------|
| Solution ID | sk166013 |
| Date Created | 2020-08-03 |
| Last Modified | 2020-10-10 |
| Technical Level | Advanced |
| Products | SmartConsole |
| Versions | R82.10, R82.20, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * Changing the Security Gateway version to R80.10 causes the object to be unable to saved, the following error is shown:  
  `
  "failed to save object ` server error is an internal error has occored. code 0x8003001D could not access file for write operation. Please contact internal support".

* Following log is found in the cpm.elg file:  
  `
  [DATE TIME] INFO threat.coresvc.ThreatIpsRulebaseTrigger [qtp1053459787-94]: The IPS exception rule has more then 1 install on targets - remove the gateway from it`  
  `
  [DATE TIME] ERROR coresvc.internal.LockingSvcImpl [qtp1053459787-94]: Object 1fbc8f1a-655c-4a8c-89dd-0a32b7df9b08 is locked for operation CP_LOCK_OPERATION_EDIT by other session`  
  `
  [DATE TIME] ERROR coresvc.internal.LockingSvcImpl [qtp1053459787-94]: locking session id: 821440ab-2bef-44e7-b470-06e07ceeeafd`  
  `
  [DATE TIME] ERROR coresvc.internal.InterBeanNotificationSvcImpl [qtp1053459787-94]: Throwing exception to publisher`  
  `
  [DATE TIME] ERROR internal.rulebase.RulebaseCrudSvcImpl [qtp1053459787-94]: Lock exception was occurred: {}`  
  `
  com.checkpoint.management.coresvc.ngm_api.EntityLockException: Object 1fbc8f1a-655c-4a8c-89dd-0a32b7df9b08 is locked for operation CP_LOCK_OPERATION_EDIT by other session`  
  `
  at com.checkpoint.management.dleserver.coresvc.internal.LockingSvcImpl.throwEntityLockException(LockingSvcImpl.java:1668)`  
  `
  at com.checkpoint.management.dleserver.coresvc.internal.LockingSvcImpl.throwEntityLockExceptionLockExists(LockingSvcImpl.java:400)`  
  `
  at com.checkpoint.management.dleserver.coresvc.internal.LockingSvcImpl.getLockRequestsToLockOrUnlock(LockingSvcImpl.java:156)`  
  `
  at com.checkpoint.management.dleserver.coresvc.internal.LockingSvcImpl.getLockRequestsToLock(LockingSvcImpl.java:1017)`  
  `
  at com.checkpoint.management.dleserver.coresvc.internal.LockingSvcImpl.doLock_aroundBody12(LockingSvcImpl.java:1457)`  
  `
  at com.checkpoint.management.dleserver.coresvc.internal.LockingSvcImpl$AjcClosure13.run(LockingSvcImpl.java:1)`

## Cause

A lock exists on an IPS exception.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
