# SQLITE\_READONLY: attempt to write a read-only database

![](https://4143609165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLk7br3Yi6QanniF9kY%2F-MBdBbnmV63w6Zz3-VoE%2F-MBdBirCFd98Sg2OrkOi%2Fimage.png?alt=media\&token=baa62e2b-10b6-4f08-8079-ae1d0f2c164e)

#### **Solution 1: Follow the below steps**

**Step 1:** Right-click on the Biz Analyst Desktop App shortcut.Select Properties

![](https://4143609165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLk7br3Yi6QanniF9kY%2F-MBdBbnmV63w6Zz3-VoE%2F-MBdE2KZkVPg4cnAIAon%2Faa.png?alt=media\&token=d13a226c-66a5-4195-b3ed-adec58f0cfd7)

**Step 2:** Go into the **General** option and checkmark the **Read-only** permission and save the changes.&#x20;

![](https://4143609165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLk7br3Yi6QanniF9kY%2F-MBdBbnmV63w6Zz3-VoE%2F-MBdELc1Qb-xj643N2wN%2Fimage.png?alt=media\&token=83e40e59-ecd7-40c5-8f9e-070824b0417a)

**Step 3:** Then try to restart the Biz Analyst Desktop app and sync your data.

If it still doesn't work untick the **Read-only** option, save the changes and again restart the app.

#### Solution 2:

Step 1: Go into the **Security** tab select the user.

![](https://4143609165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLk7br3Yi6QanniF9kY%2F-MBdBbnmV63w6Zz3-VoE%2F-MBdF1lx-u5HBhEcNy3K%2Fimage.png?alt=media\&token=535c3fee-e7b1-4a72-af4d-5b71970f5a10)

**Step 2:** Click on the **Edit** option and give full permission for that user and save the changes.

![](https://4143609165-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LLk7br3Yi6QanniF9kY%2F-MBdBbnmV63w6Zz3-VoE%2F-MBdFU4bRpO9GKzbo5pX%2Fimage.png?alt=media\&token=197a66ee-c93e-42fb-9a98-3abecd87b762)

**Step 3**: Then restarts the biz analyst desktop app and sync your data. It will work fine.
