Support Forums

Razor Compilation E…
Clear all

Razor Compilation Error

7 Posts
2 Users
Topic starter


Need assistance please.

We’ve suddenly started getting compilation errors whenever we try to access the Users page of a company. Please find attached copied exception codes.

2 Answers

Can you please tell em what version you are on? Also go to IIS and find the CloudPanel application pool, right click and then click Recycle. Let me know if it works after that

Topic starter

Hi Jacob,

Version is 3.2.350.0

I have recycled application pool, tried again, then restarted server. Still same issue.




Jacob Dixon 2022-06-16 09:05

@jjb1989 Did you just upgrade or did this randomly start happening? If you just upgraded you may want to reboot because some DLL’s files may have not been replaced during the upgrade. Basically this is occurring from a race condition of the amount of sessions trying to hit the server when it first starts up. It is very noticeable if the server is low on the amount of memory that it has. We have fixed this in the next version where it won’t stick but we have not released it yet.

Jared Topic starter 2022-06-16 09:09

Jacob, this wasn’t from an upgrade. The only clue I can give is that an admin was in there changing passwords as shes does monthly. Then she reported getting timed out then logged out. Then her password to log in stopped working. Whilst I investigated her initial issue I came upon this Users page issue. Hope that helps at all.

Jacob Dixon 2022-06-16 09:14

@jjb1989 I will email you a link so I can connect and take a look

Jared Topic starter 2022-06-16 09:19

@Jacob apologies, it seems to have fixed itself for some unknown reason. Thank you very much for your quick assistance as always.

Jacob Dixon 2022-06-16 09:21

@jjb1989 Well at least it is working now! We do know about this issue for some time. Basically when CloudPanel first starts up it is compiling the DLL files which contains a cache of all the views. Something happens with too many requests and the creation of certain views fail and the bad views get cached which means it will never fix it self. We put some delays in there but the biggest thing we did is not let the bad view get cached. So in the future if you do get that page after restarting CloudPanel, all you have to do is refresh the page and it should be back to normal.