通过IIS上传localhost网站 [英] Upload localhost website through IIS

查看:78
本文介绍了通过IIS上传localhost网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好我的问题是



如何通过IIS上传localhost网站。



但它显示的错误如下:



''/''应用程序中的服务器错误

配置错误



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



分析器错误信息:无法识别的属性''targetFramework''。注意属性名称区分大小写..



来源错误:

< configuration>

< system.web>

< compilation debug =truetargetframework =4.0>

< assemblies>

< add assembly =System .Design,Version = 4.0.0.0,Culture = neutral,PublicKeyToken = B03F5F7F11D50A3A>

Hello My Question is

How to Upload localhost website through IIS.

But it shows Errors which are as follows:

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 ''targetFramework'' .Note that attribute names are case-sensitive..

Source Error:
<configuration>
<system.web>
<compilation debug="true" targetframework="4.0">
<assemblies>
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A">

推荐答案

确保IIS中的Web应用程序使用4.0(或更高版本)框架。
Make sure the web application in IIS is using 4.0 (or higher) framework.


这篇关于通过IIS上传localhost网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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