2020年3月2日

Not been pre-compiled in .Net Framework 4.7



Scenario:
Website Hosted  In  windows server 2016   using  .Net  4.7


Symptoms:
When Web run a period.. masterpage.master or  some page missing,
then  *.dll.delete file is generated  In ASP.NET dynamic compilation path
(Temporary ASP.NET Files\..\assembly\...)

"*.dll.delete" file that prevents web applications from running

Mitigate:
when occurring ,change web.config  tempDirectory path to new path


Solution:
upgrade Web Server  .Net Framework  to  4.8 (not target framework of project  )






沒有留言: