# Error opening file for writing (SQLite.Interop.dll) when trying to install upgrade for CData Arc

**URL:** <https://community.cdata.com/t/error-opening-file-for-writing-sqlite-interop-dll-when-trying-to-install-upgrade-for-cdata-arc/756>\
**Category:** Editions\
**Tags:** article, cdata-arc, iis, upgrade, installer\
**Created:** [June 7, 2024, 9:52pm UTC](https://community.cdata.com/t/error-opening-file-for-writing-sqlite-interop-dll-when-trying-to-install-upgrade-for-cdata-arc/756 "2024-06-07T21:52:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@anonymous](https://community.cdata.com/u/anonymous)\
**Post date:** [June 7, 2024, 9:52pm UTC](https://community.cdata.com/t/error-opening-file-for-writing-sqlite-interop-dll-when-trying-to-install-upgrade-for-cdata-arc/756/1 "2024-06-07T21:52:39Z")

</div>

When trying to install an upgrade to CData Arc, an error is encountered midway through the installer:

Error opening file for writing:

%InstallPath%\www\bin\x64\SQLite.Interop.dll

Click Abort to stop the installation,

Retry to try again, or

Ignore to skip this file.

 ![9fbedb0a-aa33-4952-898c-bad850ff1b23.png](https://us1.discourse-cdn.com/cdata/original/2X/3/31475c75e050b50ef99d98c011fe1af98eabe4bc.png)

**Cause** : You will see this error if you attempt to upgrade an instance of CData Arc that is running in IIS at the time of the upgrade – the dll in question is locked by the IIS process.

To proceed, simply open **Internet Information Services (IIS) Manager** and stop the Application Pool for Arc:

 ![901bd748-0199-41f9-bfca-b7a79d2bac80.png](https://us1.discourse-cdn.com/cdata/original/2X/2/2ee5749218e2c78a5ffd68f686c85e3c37d4e0a7.png)

Once the application is stopped, click Retry to proceed with the installation, and when complete, Start the application pool to start the upgraded Arc service.
