获取Erorr:'/'应用程序中的服务器错误。 [英] Getting Erorr :-Server Error in '/' Application.

查看:86
本文介绍了获取Erorr:'/'应用程序中的服务器错误。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 24:                <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/></assemblies>
Line 25:    </compilation>
Line 26:        <authentication mode="Forms">
Line 27:            <forms loginUrl="Login.aspx" timeout="30" defaultUrl="Index.aspx"/>
Line 28:        </authentication>

Source File: D:\INETPUB\VHOSTS\ads4market.com\httpdocs\afterlogin\web.config    Line: 26


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. (D:\INETPUB\VHOSTS\ads4market.com\httpdocs\afterlogin\web.config line 29)

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. (D:\INETPUB\VHOSTS\ads4market.com\httpdocs\afterlogin\web.config line 35)

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. (D:\INETPUB\VHOSTS\ads4market.com\httpdocs\afterlogin\web.config line 41)


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18055





更多有关错误的详细信息请点击以下链接



< a href =http://www.ads4market.com/Login.aspx>点击此处访问< / a>



for More details about the error click below link

<a href="http://www.ads4market.com/Login.aspx">Click Here to visit</a>

推荐答案

Google [ ^ ]回复我。


也许你可以尝试这个...



右键单击IIS中的目录并选择转换为应用程序..
May be you can try this...

Right click on the directory in IIS and select convert to application..


谢谢你们宝贵的解决方案。我解决了我的问题。在此先感谢。

Krishanpal Singh Chundawat
thanks guys your valuable solution . I solved out my problem. Thanks in advance.
Krishanpal Singh Chundawat


这篇关于获取Erorr:'/'应用程序中的服务器错误。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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