Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ivan 139 posts 302 karma points
    Mar 09, 2014 @ 01:33
    Ivan
    0

    Umbraco 7.0.4 backend not working. Please Help!

    Hello,

    I an trying to make it work correctly an Umbraco 7.0.4 Clean Installation running on 2008 R2 Server.
    .NET Framework 4.5 is correctly installed and website is running perfectly except for the backend.

    No matter what browser i use Chrome, Firefox, Opera, Safari, IE, ... i always get the following error when loading umbraco login page:

    /umbraco/backoffice/UmbracoApi/Authentication/IsAuthenticated 404 (Bad Request)

    And after login successfully:

    The user object is invalid, the remainingAuthSeconds is required. angular.min.js(63)

    Login page does not redirect to main control panel after a successfull login. Anyway the backend panel is broken and not working at all.

    It's driving me crazy! I have been reading older forum topics commenting this issue but could not found a solution.

    Any help?
    Ivan

  • Charles Afford 1163 posts 1709 karma points
    Mar 11, 2014 @ 21:18
    Charles Afford
    0

    Hi, which enviroment are you running in?  Is this a clean install?  Have you got the correct permission on your folder?  Are you running in IIS?

    Charlie.

  • Ivan 139 posts 302 karma points
    Mar 11, 2014 @ 21:41
    Ivan
    0

    Hi Charlie,

    Thanks for your reply.

    My environment:

    Windows 2008 Server R2 SP1 (64 bits).

    IIS 7.5 .7600.16385

    .NET 4.5 Framework and MVC 4 installed.

    For testing for testing purposes i have installed Txt Starter Kit.

    Folder permissions are correct, i guess. As usual i followed this wiki: http://our.umbraco.org/wiki/reference/files-and-folders/permissions ;

    Any ideas?

  • Charles Afford 1163 posts 1709 karma points
    Mar 13, 2014 @ 10:11
    Charles Afford
    0

    Hi Ivan Sorry for the late reply

  • Charles Afford 1163 posts 1709 karma points
    Mar 13, 2014 @ 10:12
    Charles Afford
    0

    Have you tried re-installing a new Umbraco 7 install with out the starter kit.  Those starter kits have had problems in the past :)

  • Charles Afford 1163 posts 1709 karma points
    Mar 13, 2014 @ 10:14
    Charles Afford
    0

    Alos in your / site root / config folder

    Is the application.config andf trees.config file?  and what are the size of those files?

    Thanks,

    Charlie

  • Dan Sørensen 102 posts 327 karma points
    Mar 13, 2014 @ 10:41
    Dan Sørensen
    0

    Like Charles Afford said I got an error for some time ago, and if I remember correct this was with one of the starter kits, i just re-installed the hole thing with nugget I think that's the easiest way.

    Make a new mvc4 project and delete the global file and all files in app_start folder, then run this "Install-Package UmbracoCms" in the Package Manager Console, when you run the installation just take empty instead of a starter kit. This worked for me.

  • Ivan 139 posts 302 karma points
    Mar 13, 2014 @ 10:53
    Ivan
    0

    Hi guys!

    Thanks for your replys. I will try to install it again following your indications.

    Write here again in a while ;-)

  • Ivan 139 posts 302 karma points
    Mar 14, 2014 @ 12:24
    Ivan
    0

    Hi again,

    Unfortunately, after re-installing Umbraco 7 without any starter kit i got the same problem.

    @Charlie:

    Those are my applications.config and tress.config:

    applications.config

    <?xml version="1.0" encoding="utf-8"?>

    <applications>

      <add alias="content" name="Content" icon="traycontent" sortOrder="0" />

      <add alias="media" name="Media" icon="traymedia" sortOrder="1" />

      <add alias="settings" name="Settings" icon="traysettings" sortOrder="2" />

      <add alias="developer" name="Developer" icon="traydeveloper" sortOrder="3" />

      <add alias="users" name="Users" icon="trayuser" sortOrder="4" />

      <add alias="member" name="Members" icon="traymember" sortOrder="5" />

      <add alias="translation" name="Translation" icon="traytranslation" sortOrder="6" />

    </applications>

     

    trees.config

    <?xml version="1.0" encoding="utf-8"?>

    <trees>

      <!--Content-->

      <add initialize="true" sortOrder="0" alias="content" application="content" title="Content" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.ContentTreeController, umbraco" />

      <add initialize="false" sortOrder="0" alias="contentRecycleBin" application="content" title="Recycle Bin" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.cms.presentation.Trees.ContentRecycleBin, umbraco" />

      <!--Media-->

      <add initialize="true" sortOrder="0" alias="media" application="media" title="Media" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.MediaTreeController, umbraco" />

      <add initialize="false" sortOrder="0" alias="mediaRecycleBin" application="media" title="Recycle Bin" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.cms.presentation.Trees.MediaRecycleBin, umbraco" />

      <!--Settings-->

      <add application="settings" alias="stylesheets" title="Stylesheets" type="umbraco.loadStylesheets, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="0" />

      <add application="settings" alias="stylesheetProperty" title="Stylesheet Property" type="umbraco.loadStylesheetProperty, umbraco" iconClosed="" iconOpen="" initialize="false" sortOrder="0" />

      <add application="settings" alias="templates" title="Templates" type="umbraco.loadTemplates, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="1" />

      <add application="settings" alias="partialViews" title="Partial Views" silent="false" initialize="true" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.PartialViewsTree, umbraco" sortOrder="2" />

      <add application="settings" alias="scripts" title="Scripts" type="umbraco.loadScripts, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="3" />

      <add application="settings" alias="dictionary" title="Dictionary" type="umbraco.loadDictionary, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4" />

      <add application="settings" alias="languages" title="Languages" type="umbraco.loadLanguages, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="5" />

      <add application="settings" alias="mediaTypes" title="Media Types" type="umbraco.loadMediaTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="6" />

      <add application="settings" alias="nodeTypes" title="Document Types" type="umbraco.loadNodeTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="7" />

      <!--Developer-->

      <add initialize="true" sortOrder="0" alias="datatype" application="developer" title="Data Types" iconClosed="icon-folder" iconOpen="icon-folder" type="Umbraco.Web.Trees.DataTypeTreeController, umbraco" />

      <add application="developer" alias="macros" title="Macros" type="umbraco.loadMacros, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="2" />

      <add application="developer" alias="packager" title="Packages" type="umbraco.loadPackager, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="3" />

      <add application="developer" alias="packagerPackages" title="Packager Packages" type="umbraco.loadPackages, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" initialize="false" sortOrder="3" />

      <add application="developer" alias="relationTypes" title="Relation Types" type="umbraco.loadRelationTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4" />

      <add application="developer" alias="python" title="Scripting Files" type="umbraco.loadPython, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="4" />

      <add application="developer" alias="xslt" title="XSLT Files" type="umbraco.loadXslt, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="5" />

      <add application="developer" alias="partialViewMacros" type="Umbraco.Web.Trees.PartialViewMacrosTree, umbraco" silent="false" initialize="true" sortOrder="6" title="Partial View Macro Files" iconClosed="icon-folder" iconOpen="icon-folder" />

      <!--Users-->

      <add application="users" alias="users" title="Users" type="umbraco.loadUsers, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="0" />

      <add application="users" alias="userTypes" title="User Types" type="umbraco.cms.presentation.Trees.UserTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="1" />

      <add application="users" alias="userPermissions" title="User Permissions" type="umbraco.cms.presentation.Trees.UserPermissions, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="2" />

      <!--Members-->

      <add initialize="true" sortOrder="0" alias="member" application="member" title="Members" iconClosed="icon-folder" iconOpen="icon-folder-open" type="Umbraco.Web.Trees.MemberTreeController, umbraco" />

      <add application="member" alias="memberGroup" title="Member Groups" type="umbraco.loadMemberGroups, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="1" />

      <add application="member" alias="memberType" title="Member Types" type="umbraco.loadMemberTypes, umbraco" iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="2" />

      <!--Translation-->

      <add silent="false" initialize="true" sortOrder="1" alias="openTasks" application="translation" title="Tasks assigned to you" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.loadOpenTasks, umbraco" />

      <add silent="false" initialize="true" sortOrder="2" alias="yourTasks" application="translation" title="Tasks created by you" iconClosed="icon-folder" iconOpen="icon-folder" type="umbraco.loadYourTasks, umbraco" />

      <!-- Custom -->

      <!--<add application="myApplication" alias="myTree" title="Me Tree" type="MyNamespace.myTree, MyAssembly"

           iconClosed="icon-folder" iconOpen="icon-folder" sortOrder="10" />-->

    </trees>

     

  • Ivan 139 posts 302 karma points
    Mar 16, 2014 @ 20:16
    Ivan
    0

    No way. I can't make Umbraco 7.x work on my Windows 2008 R2 SP1 production server.

    7.1 beta version won't even begin installation process.

    I will keep working with Umbraco 6 and hope Umbraco 7 problems get fixed in the near future.

     

  • Dan Sørensen 102 posts 327 karma points
    Mar 17, 2014 @ 11:24
    Dan Sørensen
    0

    Can you explain the installation process ?

    because mine is working fine.

  • Ivan 139 posts 302 karma points
    Mar 17, 2014 @ 11:48
    Ivan
    0

    Hello Dan,

    My environment:

    Windows 2008 Server R2 SP1 (64 bits).
    IIS 7.5 .7600.16385
    .NET 4.5 Framework and MVC 4 installed.
    SQL Server 2008 R2 Express Edition (64 bits) - Version 10.50.4000.0
    WebsitePanel 2.0.0 for managing domain/websites
    OS language Spanish (Spain) - Timezone Madrid. 

    I am doing a manual installation. First at all, i create a new clean domain and website using Websitepanel, with ASP.NET 4.0 (Integrated) dedicated application pool.
    After that i create a clean 2008 DB and upload all files  from "UmbracoCms.7.0.4.zip" downloaded from: http://our.umbraco.org/ReleaseDownload?id=109719

    Then i set all read/write permissions following http://our.umbraco.org/wiki/reference/files-and-folders/permissions instructions (also setting Modify/Full control to "Add_Browsers", "Add_Plugins" and "Views"). Finally i go through whole installation process without errors and making a clean installation (no starter kits selected).

    No matter what browser i use Chrome, Firefox, Opera, Safari, IE, ... i always get the following error when loading umbraco login page:

    /umbraco/backoffice/UmbracoApi/Authentication/IsAuthenticated 404 (Bad Request)

    And after login successfully:

    The user object is invalid, the remainingAuthSeconds is required. angular.min.js(63)

  • Zakhar 171 posts 397 karma points
    Mar 17, 2014 @ 12:11
    Zakhar
    0

    Hey Ivan,

    I've never used Websitepanel, but have you tried to create a website directly via IIS? It's a long shot, but I had an experience when Plesk messed with permissions and reset them from time to time.

  • Ivan 139 posts 302 karma points
    Mar 17, 2014 @ 13:49
    Ivan
    0

    Hi Zakhar,

    As you suggested, i tried to install Umbraco 7 creating a new website directly via IIS.

    Same results ...

  • Zakhar 171 posts 397 karma points
    Mar 17, 2014 @ 17:01
    Zakhar
    0

    Do you have full access to the server you are trying to install? Are you sure Websitepanel doesn't mess/lock anything on your website? Have you tried to install on a different machine and if that works copy the website folder on your server?

  • Ivan 139 posts 302 karma points
    Mar 20, 2014 @ 17:07
    Ivan
    0

    Hi Zakhar,

    It's quite weird because I have never had problems with previous Umbraco versions (4.X, 6.X) and Websitepanel. It's just Umbraco 7.

    I have full access to the server where i usually deploy Umbraco solutions. I have tried installing Umbraco 7 locally (Windows 7) and then move it to production server but still got same problems.

     

  • Ivan 139 posts 302 karma points
    Mar 22, 2014 @ 15:23
    Ivan
    0

    If i call http://mysite.com/umbraco/backoffice/UmbracoApi/Authentication/GetCurrentUser i get the following data:

    )]}',
    {"Email":"[email protected]","Culture":"en-GB","EmailHash":"5ab892085cdb448c088633adfa9fd1fe","UserType":"admin","SecondsUntilTimeout":1167.5208,"AllowedSections":["content","developer","media","member","settings","users"],"UserId":0,"Name":"admin"}

    May be malformed?

    I still got the same error despite the fact that i have logged in correctly:

    The user object is invalid, the remainingAuthSeconds is required.


  • Ivan 139 posts 302 karma points
    Mar 22, 2014 @ 18:59
    Ivan
    0

    Locally, Windows 7 Home Edition, Umbraco 7 works correctly and calling http://localhost/umbraco/backoffice/UmbracoApi/Authentication/GetCurrentUser i get the following data: 

    )]}',
    {"email":"[email protected]","locale":"en-GB","emailHash":"5ab892085cdb448c088633adfa9fd1fe","userType":"admin","remainingAuthSeconds":1101.1718203,"allowedSections":["content","developer","media","member","settings","users"],"id":0,"name":"admin"}

    In this case, the view returns "remainingAuthSeconds":1101.1718203, so Umbraco 7 Backend works as expected but in Windows 2008 R2 production server it returns "SecondsUntilTimeout":1167.5208, instead of "remainningAuthSeconds" value.

    Could it be related to System date/time configuration? My server runs spanish OS version by default setting UTC+1 (Madrid).

  • Ulrich Wagner Gade Ebsen 127 posts 277 karma points
    Apr 04, 2014 @ 11:42
    Ulrich Wagner Gade Ebsen
    1

    Hi 

    I have had a lot of trouble with this also (7.0.2 and 7.1) ... spend somehours trouble shooting, and I think I found the issue! If Helicon Ape (http://www.helicontech.com/ape/) is installed at server/IIS, something makes umbraco 7 break... I tried installing / uninstalling three times just make sure...!

     

    Ulrich Ebsen

  • Ivan 139 posts 302 karma points
    Apr 04, 2014 @ 11:45
    Ivan
    0

    Hi Ulrich!

    I have Helicon Ape installed too. Tried disabling Helicon Ape for Umbraco 7 domain but still got same errors. Did you manage to solve it with Helicon Ape installed?

    Ivan

  • Ulrich Wagner Gade Ebsen 127 posts 277 karma points
    Apr 04, 2014 @ 11:48
    Ulrich Wagner Gade Ebsen
    0

    Hi Ivan

    I tried that also - you have to completely remove Helcon Ape.. and that really sucks.. :-/

    Ulrich

  • Ivan 139 posts 302 karma points
    Apr 04, 2014 @ 11:51
    Ivan
    0

    Oops! I can't remove Helicon Ape from server (several php sites running). Hope Umbraco team can find a solution soon ;-)

  • Ulrich Wagner Gade Ebsen 127 posts 277 karma points
    Apr 04, 2014 @ 11:59
    Ulrich Wagner Gade Ebsen
    0

    I'm in the excact same situation.. :-/

  • Jeroen Wolfslag 4 posts 22 karma points
    Apr 04, 2014 @ 15:49
    Jeroen Wolfslag
    0

    Same here. Shared web hosting, so I cannot remove anything, using 7.0.4. Also two issues concerning this behaviour have been registered:

  • Ivan 139 posts 302 karma points
    May 08, 2014 @ 19:55
    Ivan
    100

    As Ulrich pointed, seems the problem was related to how Helicon Ape rewrites url and ajax calls.

    Version 7.1.1 solves the problem. Based on my personal experience, i find Umbraco 7 a bit unstable yet so i will keep using Umbraco 6 version for a while.

  • Flavio Spezi 128 posts 314 karma points
    Oct 07, 2014 @ 15:11
    Flavio Spezi
    0

    I'm deploying a website with Umbraco 7.1.6 to a provider with HELICON APE service.
    Unfortunatelly I have the issue.

    There are someone with the same experience?

    How can I solve it?

Please Sign in or register to post replies

Write your reply to:

Draft