# Can't view or edit any page of my application in Radzen IDE: "Assignment to constant variable." error popup

**URL:** <https://forum.radzen.com/t/cant-view-or-edit-any-page-of-my-application-in-radzen-ide-assignment-to-constant-variable-error-popup/12917>\
**Category:** Blazor Server\
**Created:** [January 25, 2023, 6:05pm UTC](https://forum.radzen.com/t/cant-view-or-edit-any-page-of-my-application-in-radzen-ide-assignment-to-constant-variable-error-popup/12917 "2023-01-25T18:05:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Evan-TwinHats](https://forum.radzen.com/user_avatar/forum.radzen.com/evan-twinhats/32/13168_2.png) [@Evan-TwinHats](https://forum.radzen.com/u/Evan-TwinHats)\
**Post date:** [January 25, 2023, 6:05pm UTC](https://forum.radzen.com/t/cant-view-or-edit-any-page-of-my-application-in-radzen-ide-assignment-to-constant-variable-error-popup/12917/1 "2023-01-25T18:05:24Z")

</div>

This started after merging two branches.

- Visual Studio shows 0 errors, 0 warnings, and is able to launch the application in IIS.
- Each page works correctly with no errors in Chrome's dev console.
- I am unable to view or edit any page of this application in Radzen.
- I see no information in log.txt except for the same error that shows in the UI.

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

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

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 25, 2023, 6:13pm UTC](https://forum.radzen.com/t/cant-view-or-edit-any-page-of-my-application-in-radzen-ide-assignment-to-constant-variable-error-popup/12917/2 "2023-01-25T18:13:26Z")

</div>

If you have Radzen subscription you can zip and send us your application meta folder at [info@radzen.com](mailto:info@radzen.com) to check locally what’s going on.

---

<div class="post-metadata">

**Author:** ![Evan-TwinHats](https://forum.radzen.com/user_avatar/forum.radzen.com/evan-twinhats/32/13168_2.png) [@Evan-TwinHats](https://forum.radzen.com/u/Evan-TwinHats)\
**Post date:** [January 26, 2023, 5:33pm UTC](https://forum.radzen.com/t/cant-view-or-edit-any-page-of-my-application-in-radzen-ide-assignment-to-constant-variable-error-popup/12917/3 "2023-01-26T17:33:16Z")

</div>

The problem was with the Main layout. Not sure exactly what, but recreating the layout fixed the issue.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [January 26, 2023, 5:55pm UTC](https://forum.radzen.com/t/cant-view-or-edit-any-page-of-my-application-in-radzen-ide-assignment-to-constant-variable-error-popup/12917/4 "2023-01-26T17:55:27Z")

</div>

The issue was caused by leading [Unicode BOM](https://en.wikipedia.org/wiki/Byte_order_mark) character in your main layout json file.
