.net在发布网站时出现的错误

麦麦_同学 2010-11-01 09:37:08
网上查了一下是服务器上没安装3.5 不过公司因为以前服务器上有很多网站 不知道安装了3.5其他的会不会出错 求解

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: Child nodes not allowed.

Source Error:

Line 70: <compilers>
Line 71: <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
Line 72: <providerOption name="CompilerVersion" value="v3.5"/>
Line 73: <providerOption name="WarnAsError" value="false"/></compiler>
Line 74: <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">


Source File: E:\88jingying\co\co-10-279\web.config Line: 72

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
...全文
70 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
烈火蜓蜻 2010-11-01
  • 打赏
  • 举报
回复
不会,可以安装3.5,这个安装不是覆盖安装,也不是升级安装,几个不同的版本是可以放在一台机器里的,因此,可以安装
麦麦_同学 2010-11-01
  • 打赏
  • 举报
回复
都很忙吗。。。。

110,568

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧