IIS中的ASP.NET应用程序错误 [英] ASP.NET application error in the IIS

查看:98
本文介绍了IIS中的ASP.NET应用程序错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以在部署应用程序后运行该应用程序以帮助我显示此错误消息,请告诉我是什么问题

谢谢

hi any one can help me after deployed the application to run the application display this error message please tell me what is the problem

Thanks

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 14:     <compilation strict="false" explicit="true" targetFramework="4.0" />
Line 15:
Line 16:     <authentication mode="Forms">
Line 17:       <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
Line 18:     </authentication>


Source File: C:\inetpub\wwwroot\Test\zerfie_deploy\web.config    Line: 16

推荐答案



我认为您尚未为您的站点选择默认池.
请访问下面的链接以解决此问题.
http://www.dotnetfunda. com/articles/article1247-how-to-host-aspnet-application-on-the-web-server-iis.aspx [
Hi,

I think you have not selected the default pool for you site.
Visit the link below to resolve the issue.
http://www.dotnetfunda.com/articles/article1247-how-to-host-aspnet-application-on-the-web-server-iis.aspx[^]

This may help you.
-AK


这篇关于IIS中的ASP.NET应用程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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