Home  >  Article  >  Database  >  定义了重复的system.web.extensions/scripting/scriptResourceHandler怎

定义了重复的system.web.extensions/scripting/scriptResourceHandler怎

WBOY
WBOYOriginal
2016-06-07 16:22:202497browse

起因: 在Win2008上发布编写好的web服务时,报如下错误 说我的web服务下的web.config 定义了重复的 system.web.extensions/scripting/scriptResourceHandler 分析: 应该是 C:WindowsMicrosoft.NETFramework64v4.0.30128Configmachine.config 里与程序目录下

   起因:

  在Win2008上发布编写好的web服务时,报如下错误

定义了重复的system.web.extensions/scripting/scriptResourceHandler怎么办 三联

  说我的web服务下的web.config 定义了重复的 system.web.extensions/scripting/scriptResourceHandler

  分析:

  应该是 C:WindowsMicrosoft.NETFramework64v4.0.30128Configmachine.config 里与程序目录下的web.config有重复项的缘故。

  解决:

  屏蔽掉程序目录下的相应项目,如下图:

屏蔽掉程序目录下的相应项目

  注意屏蔽时圆角方框中的内容可能在最后,,注意别屏蔽掉。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn