简体   繁体   English

在IIS7.5上上传网站时遇到问题

[英]facing issue with the upload of the website on IIS7.5

I am trying to upload my website to hosting space which looks to be using IIS 7.5. 我正在尝试将我的网站上载到看起来正在使用IIS 7.5的托管空间。 Website uploads but when I try to view it is generates error. 网站上载,但是当我尝试查看时会产生错误。 the issue is not very obvious . 这个问题不是很明显。 but the error says that there is some problem with the web.config but on the development machine it is ok. 但是错误表明web.config出现了一些问题,但是在开发机器上还可以。 check the www.spiralsnet.com for further detailed error message. 有关更多详细的错误消息,请访问www.spiralsnet.com。 I am not sure what is cuasing this issue. 我不确定是什么导致了这个问题。 please help. 请帮忙。

As the error message states: 如错误消息所述:

There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined 定义了重复的“ system.web.extensions / scripting / scriptResourceHandler”部分

Remove the entry from your web configuration and try again. 从您的Web配置中删除该条目,然后重试。

Your hosting space has a web.config higher up that already defines the scriptResourceHandler section. 您的托管空间具有一个更高的web.config,它已经定义了scriptResourceHandler部分。 Remove the definition from your config. 从配置中删除定义。

In the Detailed Error Information section of your error page, the specific error is provided 在错误页面的“详细错误信息”部分中,提供了特定的错误

Config Error: There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined 配置错误:定义了重复的'system.web.extensions / scripting / scriptResourceHandler'部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM