I'm getting issues when trying to sort pages in CMS, just from right hand menu, clicking sort, and loader is spinning for few seconds, and kicking me out from CMS, asking to login again. Same happens when I try to access any document type..
Umbraco 7.1.6, but tried to update to 7.1.9, database SQL Express 2012 and on the server SQL 2012 Web.
Messages from console log, says error (401 Unauthorized):
XHR finished loading: GET "http://localhost:63075/umbraco/backoffice/UmbracoTrees/ContentTree/GetNodes?id=-1&application=content&tree=&isDialog=false".
angular.min.js:106 XHR finished loading: GET "http://localhost:63075/umbraco/backoffice/UmbracoTrees/ContentTree/GetMenu?id=1052&application=content&tree=&isDialog=false".
trying investigate this issue, in event viewer I see error:
Exception information: Exception type: InvalidOperationException Exception message: Sequence contains more than one matching element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate) at umbraco.BusinessLogic.User.GetApplications() at Umbraco.Web.UI.LegacyDialogTask.ValidateUserForApplication() at Umbraco.Web.UI.Umbraco.CreateDialog.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
sorted, for some reason when server was doing backups, killed IIS, I saw in event viewer "Out of space" and after that site was down, when I looked into /config, found that applications.config file was empty, then I copied from the backup, but seems when I developed some custom sections in my old backup file was duplicate section entries and that caused this issue, removed duplicate section entry, restarted the site and site working again.
Logging out from CMS when trying to sort or access document type
Hello,
I'm getting issues when trying to sort pages in CMS, just from right hand menu, clicking sort, and loader is spinning for few seconds, and kicking me out from CMS, asking to login again. Same happens when I try to access any document type..
Umbraco 7.1.6, but tried to update to 7.1.9, database SQL Express 2012 and on the server SQL 2012 Web.
Messages from console log, says error (401 Unauthorized):
XHR finished loading: GET "http://localhost:63075/umbraco/backoffice/UmbracoTrees/ContentTree/GetNodes?id=-1&application=content&tree=&isDialog=false".
angular.min.js:106 XHR finished loading: GET "http://localhost:63075/umbraco/backoffice/UmbracoTrees/ContentTree/GetMenu?id=1052&application=content&tree=&isDialog=false".
angular.min.js:106 GET http://localhost:63075/umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds 401 (Unauthorized)
angular.min.js:106 XHR finished loading: GET "http://localhost:63075/umbraco/backoffice/UmbracoApi/Authentication/GetRemainingTimeoutSeconds".
Thanks, for any ideas guys :)
Hi Renaldas
Don't know if the issue can be related to this one in some obscure fashion? http://issues.umbraco.org/issue/U4-5896
Do you make use of any 3rd party packages or some custom usage of the Umbraco API?
/Jan
Hi Jan,
trying investigate this issue, in event viewer I see error:
Exception information:
Exception type: InvalidOperationException
Exception message: Sequence contains more than one matching element
at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
at umbraco.BusinessLogic.User.GetApplications()
at Umbraco.Web.UI.LegacyDialogTask.ValidateUserForApplication()
at Umbraco.Web.UI.Umbraco.CreateDialog.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
/umbraco/create.aspx?nodeId=init&nodeType=initnodeTypes&nodeName=Document Types&rnd=635526863525995105
Request path: /umbraco/create.aspx
Thanks
Hi Renaldas
Do you, on your document types, have any tabs that have the same name where the one is inherited from at parent document type?
I've seen this issue before but I think it can be caused by different things. I just found this post where the above was the culprit in one scenario. You can read it here http://our.umbraco.org/forum/umbraco-pro/contour/43513-Sequence-contains-more-than-one-matching-element
/Jan
Jan,
thanks it was fake alarm :)
sorted, for some reason when server was doing backups, killed IIS, I saw in event viewer "Out of space" and after that site was down, when I looked into /config, found that applications.config file was empty, then I copied from the backup, but seems when I developed some custom sections in my old backup file was duplicate section entries and that caused this issue, removed duplicate section entry, restarted the site and site working again.
Thanks :)
Hi Renaldas
Happy to hear you found the issue and it's sorted know :)
/Jan
is working on a reply...