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

后端 未结 15 2173
萌比男神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:19

    This error message seems to come up in various situations.

    In my case, on top of my application's Web.Config file I had an extra Web.Config file in the root folder (C:\Inetpub\www.root). Probably left there after some testing, I had forgotten all about it, and couldn't figure out what the problem was.

    Removing it solved the problem for me.

提交回复
热议问题