2024年4月6日发(作者:)

HTTPError500.19-InternalServerError

Therequestedpagecannotbeaccessedbecausetherelatedconfiguration

dataforthepageisinvalid.

DetailedErrorInformation

ModuleIISWebCore

NotificationUnknown

HandlerNotyetdetermined

ErrorCode0x80070005

ConfigErrorCannotreadconfigurationfileduetoinsufficientpermissions

?C:UsersEricSunDocumentsVisualStudio

ConfigFile

Requested

10.2.5.153:10001/

URL

PhysicalPath

Logon

Notyetdetermined

Method

LogonUserNotyetdetermined

ConfigSource

LinksandMoreInformationThiserroroccurswhenthereisaproblemreadingthe

cases,theeventlogs

maycontainmoreinformationaboutwhatcausedthiserror.

Viewmoreinformation»

-1:0:

Cause:1)没有向iis中注册.netframework(引起的原因之一:先安装了.net

framework

,后安装的

iis

2)没有对IIS中所配置的site有足够的操作权限(Modify权限)

Solution:

1)

C:mework64v2.0.50727

下,

用命令向iis中重新注册一下.netframework:aspnet_regiis-i

2)IISManager-->Sites-->相应的site-->点击右键-->EditPermissions

-->Security-->Grouporusernames-->Edit-->Add-->添加赋予FullControl权

限(实质上带有Modify的权限就可以)的Everyone用户

2:

ServerErrorin'/'Application.

ConfigurationError

Description:Anerroroccurredduringtheprocessingofaconfigurationfile

reviewthespecificerrordetailsbelow

andmodifyyourconfigurationfileappropriately.

ParserErrorMessage:Unrecognizedattribute'targetFramework'.Notethat

attributenamesarecase-sensitive.

SourceError:

Line9:

Line10:<>

Line11:

Line12:

Line13:

timeout="2880"/>

SourceFile:C:UsersEricSunDocumentsVisualStudio

Line:11

VersionInformation:meworkVersion:2.0.50727.4963;

sion:2.0.50727.4955

Cause

:当前程序所运行的

.NETFramework

版本与

IIS

中相应

site

所设置的

.NET

Framework版本不相同

Solution:启动IISManager-->ApplicationPools-->选择相应的Name(site)-->

点击右键-->AdvancedSettings-->(General).NETFramworkVersion-->由2.0

更改到4.0即可

3