IIS7 deployment - duplicate 'system.web.extensions/scripting/scriptResourceHandler' section

后端 未结 15 2125
萌比男神i
萌比男神i 2020-11-29 15:56

On attempting to deploy a .net 3.5 website on the default app pool in IIS7 having the framework section set to 4.0, I get the following error.

There i

15条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 16:22

    If, like me, you need to target v4 but can only build with .net 3.5, follow the instruction here. Just replace in your web.config the whole content of the with:

    
    
      
        

提交回复
热议问题