asked    Les     2018-10-12       iis       32 view        1 Answer

[SOLVED] Unable to access Login form in Umbraco 7.5.4 after deploying the web-application on Internet

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]

I've encountered an error.

How can I solve it? Please help me. I've used Umbraco 7.5.4 and ASP.NET MVC

Server Error in '/' Application.

Runtime Error

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.

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>

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>

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" />

And now I see this error:

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:

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.

Source File: C:\ClientSites\cake-and-art.de\httpdocs\web.config
Line: 406

In webconfig file:

<authentication mode="Forms">
      <forms name="yourAuthCookie" loginUrl="login.aspx" protection="All" path="/" />
</authentication>

  1 Answer  

        answered    Primo     2018-10-12      

After reading this question in stackoverflow.com, I could solve the problem.

I cleaned project solution, rebuild it and finally deployed it.





Your Answer





 2018-10-12         Bella

Umbraco 7.3.4 - Custom Data Type Value Doesn't Change

I have created a custom data type to deal with character limits on text areas. I have previously been following a demo where $scope.info = "Hello World" before the user started typing in the text area. I have since deleted this so it should have removed this text from the umbraco content interface. But it is still showing the "Hello World" On the right side of the text box. Customer Editor Angular Controller: angular.module("umbraco").controller("My.CustomEditorController", function ($scope, notificationsService) { $scope.info = ""; $scope.limitChars = fun...
 angularjs                     1 answers                     13 view
 2018-10-12         Celeste

Custom Sections & Custom Trees MVC approach

I have spent hours and hours trying to get a custom tree to show up in a custom section in umbraco. - With out success.So far I have managed to create a new section, but when I click that section nothing happens.What should happen is a custom tree should be displayed with one node. When you click that node It should display an MVC view.This is what I have done so far, it is based around this tutorial.http://www.jondjones.com/learn-umbraco-cms/umbraco-developers-guide/customising-umbraco-ui/how-to-display-an-mvc-view-in-the-umbraco-backendA. Create the section{ [Applicati...
 asp.net-mvc                     1 answers                     13 view
 2018-10-12         Olive

How To call An Action In Umbraco Controller?

I created an Umbraco DocumentType with the alias Personal and created a controller that inherits Umbraco.Web.Mvc.RenderMvcControllerI added two Actions, one is the default action and the other is called Test. How can I fire the Test Action from the Personal controller?public class PersonalController : Umbraco.Web.Mvc.RenderMvcController{ // GET: Personal public override ActionResult Index(RenderModel model) { return base.Index(model); } public String Test(RenderModel model) { return "fff"; }}When I put the url like this: localHost/persona...
 asp.net-mvc                     1 answers                     15 view