注册 登录
编程论坛 ASP.NET技术论坛

asp.net在windows xp 下怎么配置

jingjing316 发布于 2010-04-06 15:12, 1082 次点击
“/”应用程序中的服务器错误。
--------------------------------------------------------------------------------

配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。

分析器错误信息: 无法识别的属性“type”。

源错误:
行 2:  <configuration>
行 3:      <configSections>
行 4:          <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
行 5:              <section name="Maticsoft.Web.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
行 6:          </sectionGroup>


请问这是什么原因造成的啊?

8 回复
#2
jingjing3162010-04-06 16:18
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 2:  <configuration>
Line 3:      <configSections>
Line 4:          <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
Line 5:              <section name="Maticsoft.Web.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
Line 6:          </sectionGroup>
 
这个又是什么原因呢?
#3
yms1232010-04-07 16:34
.NET2.0?
#4
misswang2010-04-08 00:48
Parser Error Message: Unrecognized attribute 'type'
#5
jingjing3162010-04-08 08:47
以下是引用yms123在2010-4-7 16:34:01的发言:

.NET2.0?
是的,下载的.net2.0,不过安装时好像显示3.5来。
#6
jingjing3162010-04-08 08:52
只有本站会员才能查看附件,请 登录

这是控制面板中添加删除程序中出现的,是不有问号那说明没有安装成功啊!
#7
jingjing3162010-04-08 09:01
只有本站会员才能查看附件,请 登录

发现了一个问题,请点大图片后观看。
代码中的version我自己改成了3.5.0.0
可是最后一行显示的 version 为1.1.4322.573
是不是由于版本的问题造成的错误
该怎么解决呢?

[ 本帖最后由 jingjing316 于 2010-4-8 09:04 编辑 ]
#8
jingjing3162010-04-08 09:26
只有本站会员才能查看附件,请 登录

这个错误是怎么回事?
如何解决呢?
#9
czyzhuo2010-04-08 09:42
Maticsoft.web.index这个类找不到
Inherits=""双引号里面的应该是index.aspx.cs文件里面的类名,是不是这个类名不正确?
1