Copied to clipboard

Flag this post as spam?

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


  • Soeren Sprogoe 575 posts 259 karma points
    Jan 13, 2014 @ 10:51
    Soeren Sprogoe
    0

    Install & Website fails, error in UmbracoExamineEvents.cs

    Hiya,

    I'm trying out uBlogsy Webforms 3.0.2 on a local install of an existing website running Umbraco v6.0.5. But the package install gives a YSOD, and afterwards the entire site gives a YSOD until I remove the u* DLL's.

    What am I missing here? What am I doing wrong?

    The stack trace of the error message is:

    [NullReferenceException: Object reference not set to an instance of an object.]

       uBlogsy.BusinessLogic.EventHandlers.UmbracoExamineEvents.OnApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) in d:\_PROJECTS\Personal\uBlogsy\uBlogsy MVC\Source\uBlogsy.BusinessLogic\EventHandlers\UmbracoExamineEvents.cs:35

       Umbraco.Core.EnumerableExtensions.ForEach(IEnumerable`1 items, Action`1 action) +147

       Umbraco.Core.CoreBootManager.Complete(Action`1 afterComplete) +143

       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +30

     

    [HttpException (0x80004005): Object reference not set to an instance of an object.]

       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +12864205

       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +175

       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +304

       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +404

       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +475

     

    [HttpException (0x80004005): Object reference not set to an instance of an object.]

       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12880948

       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159

       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722137

  • Erik Eelman 79 posts 319 karma points
    Jan 13, 2014 @ 14:15
    Erik Eelman
    0

    I have the same issues. The install gives a YSOD and after that the entire site gives a YSOD.

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 27, 2014 @ 16:02
    Martin Griffiths
    0

    Has anyone found a solution to this? I'm having the same problem.

    Martin

  • Soeren Sprogoe 575 posts 259 karma points
    Jan 28, 2014 @ 11:49
    Soeren Sprogoe
    0

    Nope. I gave up and went down a different route.

    /SoerenS

  • Martin Griffiths 826 posts 1269 karma points c-trib
    Jan 28, 2014 @ 12:11
    Martin Griffiths
    1

    Hurrah Success!

    I managed to kick it up the backside and get it working.

    I should explain in detail my issues...

    My build is Umbraco 6.1.6 with uBlogsy 2.1.1.2 installed, I soon realised I had little hope of upgrading what we have, so I took to uninstalling this version and effectively starting again! It's going to be such fun, building up my own customisations again! Sigh oh well!

    Anyway, I kept getting the error on installing the package extension and realised the package wasn't completing as a consequence, so no doctypes, templates etc. 

    My next step was to download the source code and comment out the line that was setting up the examine index on application startup, this was enough to get the package to complete. So a short re-compile and copy in of the modded uBlogsy business logic dll and the package completed successfully YAY!

    Then it was a case of working out why on earth the index was failing! For me (as far as I can tell) it was because my Examine settings weren't quite right as they have been dragged across from lots and lots of upgrades. After a few tweaks of the index settings I dropped the unmodified dll back into my BIN folder and all was good again.

    I hope this helps.

    Martin.

  • Soeren Sprogoe 575 posts 259 karma points
    Jan 28, 2014 @ 12:59
    Soeren Sprogoe
    0

    Hmmm, that may be the problem in my case too. My site has gone through a couple of upgrades as well, unfortunately I can't exactly remember which.

    Too bad I gave up and chose a different path, now that way may have figured out a solution.

    /SoerenS

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Mar 03, 2014 @ 18:30
    Anthony Dang
    1

    nice investigation work martin!

    erik, did that solve your issue too?

     

     

     

Please Sign in or register to post replies

Write your reply to:

Draft