如何解决IIS 6中托管的.Net 1.1框架中的配置错误? [英] How Do I Solve The Configuration Error In .Net 1.1 framework hosted in IIS 6?

查看:69
本文介绍了如何解决IIS 6中托管的.Net 1.1框架中的配置错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对.net应用程序来说是全新的,如果我的术语错误,请原谅我。



我有一个在IIS 6中运行的Web应用程序a .Net 1.1版本。



当我点击应用程序中的某些链接时,我收到以下错误。



配置错误

描述:处理为此请求提供服务所需的配置文件时发生错误。请查看下面的具体错误详细信息并相应地修改配置文件。



Am totally new to the .net applications,so kindly pardon me if my terminologies are wrong.

I have a web application that runs in IIS 6 and has a .Net 1.1 version.

when i click on some links in the application,i get the following error.

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'type'.

Source Error:


Line 2:  <configuration>
Line 3:     <configsections>
Line 4:         <sectiongroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 5:             <sectiongroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 6:                 <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirepermission="false" allowdefinition="MachineToApplication" />


Source File: D:\WebProjects\JSCWeb\web.config    Line: 4















确保代码没有任何问题。



IIS的某些属性在某处应该是错误的,我需要尽快解决。



任何帮助都是感谢,提前致谢。



编辑:更新问题,以便配置文件可见 - F-ES Sitecore








Am sure that there is nothing wrong with the code.

some properties of IIS should be wrong somewhere, i need to solve this ASAP.

Any help would be appreciated,Thanks in advance.

question updated so that config file was visible - F-ES Sitecore

推荐答案

您正在引用web.config中的.Net 3.5文件,所以不要配置它as .Net 1.1。如果可以选择,请更改为.Net 2.0甚至尝试4.0。
You are referencing .Net 3.5 files in your web.config so don't configure it as .Net 1.1. Change to .Net 2.0 or even try 4.0 if that is an option.


这篇关于如何解决IIS 6中托管的.Net 1.1框架中的配置错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆