Deploying ASP.NET MVC4 App to GoDaddy Compiler issue

前端 未结 6 1244
无人及你
无人及你 2020-11-30 22:59

Have seen several posts about deploying MVC apps to GoDaddy. None of them seem to address the issue we are having. We have followed the advice about checking runtime versio

6条回答
  •  萌比男神i
    2020-11-30 23:26

    I have struggled with the same problem for months. And finally solved it. In the plesk on godaddy I changed the ASP.Net settings. First changed CAS-trustlevel to Full. Then I changed in the Web.config of my project the following:

    • Add trust level full to the system.web
    • Remove the compilers in the system.codecom
     
        compilation debug="true" targetFramework="4.5.2"/>
        
                     
     
    
     
                  
     
    

    and that solved my problem.

提交回复
热议问题