IIS 7 and Above
Error on compilation
Re: Error on compilation
Dec 05, 2018 08:56 AM|Brando Zhang|LINK
As far as I know, this issue may be casuing by having one page reference another without the actual reference directive. During a normal compile paged are batched together during the compile for compile performance. if one page refereneces another
but they are in the same batch ok. now when a single page compiles without it batch mate, it fails.
I suggest you could try below solution.
1 Change some code on the page so that page recompiles
2 Change something in the Web.config so the entire app recompiles
3 Delete all the files in the "Temporary ASP.Net Files" directory