在Internet上部署Web应用程序后,无法访问Umbraco 7.5.4中的登录表单 [英] Unable to access Login form in Umbraco 7.5.4 after deploying the web-application on Internet
问题描述
在互联网上部署我的网络应用程序后,我无法访问umbraco admin后台的登录表单 [http://www.cake-and-art.de//umbraco] [1]
After deploying my web application on internet, I cannot access to Login form for umbraco admin back-office [http://www.cake-and-art.de//umbraco][1]
我遇到了错误。
我该如何解决?请帮帮我。
我用 Umbraco 7.5.4
和 ASP.NET MVC
How can I solve it? Please help me.
I've used Umbraco 7.5.4
and ASP.NET MVC
'/'应用程序中的服务器错误。
Server Error in '/' Application.
运行时错误
描述:服务器上发生了应用程序错误。此应用程序的当前
自定义错误设置可防止远程查看
应用程序错误的详细信息(出于安全原因)。
然而,可以在本地服务器
机器上运行的浏览器查看。
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
详细信息:要在远程计算机上查看此特定错误消息的详细信息为
,请在
aweb.config中创建一个标记配置文件位于
当前Web应用程序的根目录中。然后,此标记应将其
模式属性设置为关闭。
Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
注意:您看到的当前错误页面可以替换为
自定义错误页面,修改
应用程序配置标记的defaultRedirect属性,指向自定义
错误页面网址。
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
我将 customErrors模式
的值更改为在 web.config
文件中关
。
I changed the value of customErrors mode
to Off
in web.config
file.
<customErrors mode="Off" />
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
<httpRuntime requestValidationMode="2.0" enableVersionHeader="false" targetFramework="4.5" maxRequestLength="51200" fcnMode="Single" />
现在我看到了这个错误:
'/'应用程序中的服务器错误。
Server Error in '/' Application.
配置错误
描述:处理为此请求提供服务所需的
配置文件时发生错误。请查看下面的
特定错误详细信息,并相应地修改配置文件
。
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.
分析程序错误消息:在应用程序级别之外使用注册为
allowDefinition ='MachineToApplication'的部分是错误的。这个
错误可能是因为虚拟目录未在IIS中配置为
应用程序。
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.
源错误:
服务器上发生应用程序错误。此应用程序的当前自定义错误
设置会阻止远程查看应用程序
错误的详细信息(出于安全原因)。然而,可以通过在本地服务器计算机上运行的浏览器查看
。
An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
源文件:C:\ ClientSites \ cake-and-art .de\httpdocs\web.config
行:406
Source File: C:\ClientSites\cake-and-art.de\httpdocs\web.config
Line: 406
在webconfig文件中:
<authentication mode="Forms">
<forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
</authentication>
推荐答案
阅读这个问题在 stackoverflow.com
中,我可以解决问题。
After reading this question in stackoverflow.com
, I could solve the problem.
我清理了项目解决方案,重建它并最终部署它。
I cleaned project solution, rebuild it and finally deployed it.
这篇关于在Internet上部署Web应用程序后,无法访问Umbraco 7.5.4中的登录表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!