# Unexpected error EPERM

**URL:** <https://forum.radzen.com/t/unexpected-error-eperm/5990>\
**Category:** Blazor Server\
**Created:** [December 11, 2020, 8:54am UTC](https://forum.radzen.com/t/unexpected-error-eperm/5990 "2020-12-11T08:54:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChrisI](https://forum.radzen.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@ChrisI](https://forum.radzen.com/u/ChrisI)\
**Post date:** [December 11, 2020, 8:54am UTC](https://forum.radzen.com/t/unexpected-error-eperm/5990/1 "2020-12-11T08:54:40Z")

</div>

Hello,

I'm having an issue when clicking on a page in the Radzen editor. Everytime I click on a page, the following error appears:

 ![image](https://forum.radzen.com/uploads/default/original/2X/b/b21bfcb29fe29d7edc08034190a486162f55bb48.png)

EPERM: operation not permitted, rename 'C:\Users\VMware\Documents\Layout1\meta\pages\log-plc-events.json.tmp' -\> 'C:\Users\VMware\Documents\Layout1\meta\pages\log-plc-events.json'

The application is running just fine but it's kind of annoying that this pop-up is appearing everytime I switch from page.

Do you guys know how I can get rid of this unexpected error?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Thomas](https://forum.radzen.com/letter_avatar_proxy/v4/letter/t/e36b37/32.png) [@Thomas](https://forum.radzen.com/u/Thomas)\
**Post date:** [December 11, 2020, 1:13pm UTC](https://forum.radzen.com/t/unexpected-error-eperm/5990/2 "2020-12-11T13:13:54Z")

</div>

Hi @ChrisI,  
i suggest a antivirus program. I got that error in the past and after excluding my radzen Project Folder all works fine. 🤔 Somewhere a had read which directory from Radzen should be excluded from Antivirus software... but dont remember where.

Thomas

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [December 11, 2020, 3:45pm UTC](https://forum.radzen.com/t/unexpected-error-eperm/5990/3 "2020-12-11T15:45:33Z")

</div>

Indeed this error could happen due to overzealous antiviral software. Usually the solution is to exclude both Radzen's installation directory (c:\program files\radzen) AND your application directory (it looks to be c:\users\VMWare\Documents)

---

<div class="post-metadata">

**Author:** ![ChrisI](https://forum.radzen.com/letter_avatar_proxy/v4/letter/c/bb73d2/32.png) [@ChrisI](https://forum.radzen.com/u/ChrisI)\
**Post date:** [December 14, 2020, 10:44am UTC](https://forum.radzen.com/t/unexpected-error-eperm/5990/4 "2020-12-14T10:44:18Z")

</div>

Hello @korchev,

I've excluded the directories in my Windows Defender but it's still giving the error message. However, I am using a VM without any antivirus software except for Windows Defender. Do I need to exclude the VM directory instead?

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [December 14, 2020, 11:39am UTC](https://forum.radzen.com/t/unexpected-error-eperm/5990/5 "2020-12-14T11:39:24Z")

</div>

> [@ChrisI](#):
>
> However, I am using a VM without any antivirus software except for Windows Defender.

You should exclude the directories in windows defender too. Also make sure the user has write access to `C:\Users\VMware\`
