The directory '/website/App_Code/' is not allowed because the application is precompiled

前端 未结 4 942
旧时难觅i
旧时难觅i 2021-01-03 17:41

How can I resolve the below issue that I get when I am running my precompiled web app?

Server Error in \'/CRM\' Application.
    The directory \'/CRM/App_Cod         


        
4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-03 18:29

    In my case I compiled with "ASPX files are updateable" option checked OFF. I guess the IIS my website was running on did not like that.

    Once I recompiled with "ASPX files are updateable" option checked ON, the issue disappeared.

提交回复
热议问题