asp.net出现 Server Error in '/' Application. 错误
ServerErrorin'/'Application.---------------------------------------------------------...
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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 152: 它为成员站点提供单独登录和核心配置文件服务。
Line 153: -->
Line 154: <authentication mode="Windows" />
Line 155: <!-- 授权
Line 156: 此节设置应用程序的授权策略。可以允许或拒绝不同的用户或角色访问
Source File: F:\网站测试\web\web.config Line: 154
Show Additional Configuration Errors:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (F:\网站测试\校信通系统200701版8888888\web.config line 182)
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 展开
--------------------------------------------------------------------------------
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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 152: 它为成员站点提供单独登录和核心配置文件服务。
Line 153: -->
Line 154: <authentication mode="Windows" />
Line 155: <!-- 授权
Line 156: 此节设置应用程序的授权策略。可以允许或拒绝不同的用户或角色访问
Source File: F:\网站测试\web\web.config Line: 154
Show Additional Configuration Errors:
It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. (F:\网站测试\校信通系统200701版8888888\web.config line 182)
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 展开
3个回答
Storm代理
2023-08-29 广告
2023-08-29 广告
"StormProxies是全球大数据IP资源服务商,其住宅代理网络由真实的家庭住宅IP组成,可为企业或个人提供满足各种场景的代理产品。点击免费测试(注册即送1G流量)StormProxies有哪些优势?1、IP+端口提取形式,不限带宽,I...
点击进入详情页
本回答由Storm代理提供
展开全部
将web.config里的
<customErrors mode="RemoteOnly" />改成
<customErrors mode="Off" />
然后再看看是什么错误
<customErrors mode="RemoteOnly" />改成
<customErrors mode="Off" />
然后再看看是什么错误
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
进web.config把 <authentication mode="Windows" />删除
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询