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
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.
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
I have the same issues. The install gives a YSOD and after that the entire site gives a YSOD.
Has anyone found a solution to this? I'm having the same problem.
Martin
Nope. I gave up and went down a different route.
/SoerenS
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.
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
nice investigation work martin!
erik, did that solve your issue too?
is working on a reply...