在iis上部署Web应用程序时显示错误 [英] while deploying web application on iis shows error

查看:83
本文介绍了在iis上部署Web应用程序时显示错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生;



i已经在asp.net中创建了samll web应用程序,并在浏览其显示错误时尝试在iis上执行web应用程序后在iis上部署。 br />


dear sir;

i have created samll web application in asp.net and try to deploy on iis after depolying web application on iis while browsing its shows error.

Server Error in '/' Application.
--------------------------------------------------------------------------------

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 10: <configuration>
Line 11:    <configSections>
Line 12:        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 13:            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
Line 14:                <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: C:\deep\QeryStringExample\web.config    Line: 12



亲切的帮助


kindly helpout

推荐答案

这是虚拟目录版本问题。

在iis设置属性中右键单击您的web应用程序更改asp.net版本2.0
it was virtual directory version issue.
right click your web applcation in iis setting properties change the asp.net version 2.0


这篇关于在iis上部署Web应用程序时显示错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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