Copied to clipboard

Flag this post as spam?

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


  • Petri Tuononen 17 posts 37 karma points
    May 21, 2012 @ 09:36
    Petri Tuononen
    0

    (Another) Error on login

     

    Hello,

    My Umbraco installation works just fine when debugged locally, but after I made a web deploy (publish in Visual Studio) and try to login to Umbraco I get the following error:

     

     

    An error occurred while processing your request.

    Exception

    Object reference not set to an instance of an object.

    Stack trace

    at Umbraco.Cms.Web.Configuration.UmbracoSettings.<get_Trees>b__f(ITree x) at System.Linq.Set`1.InternalGetHashCode(TElement value) at System.Linq.Set`1.Find(TElement value, Boolean add) at System.Linq.Enumerable.<DistinctIterator>d__81`1.MoveNext() at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at System.Linq.Buffer`1..ctor(IEnumerable`1 source) at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) at Umbraco.Cms.Web.Trees.ApplicationTreeController.Index(String appAlias) at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)


    Any idea what might be the cause?

    Best,
    Petri

     

  • Petri Tuononen 17 posts 37 karma points
    May 21, 2012 @ 09:45
    Petri Tuononen
    0

    Figured out I had to include App_Plugins folder in Visual Studio so that the files get deployed.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies