Copied to clipboard

Flag this post as spam?

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


  • Srdjan Lukic 34 posts 166 karma points
    Apr 13, 2015 @ 15:21
    Srdjan Lukic
    0

    A server error occurred during installation of Umbraco 7

    Hi

    Everytime I wanna install a new Umbraco 7 with MySQL as DB I get the following error at the end on the installation. If I use MS SQL then there is no issues at all.  After the error I have no problems loggong on to Umbraco Backoffice and using the Umbraco, but it makes me think what this bug is all about.

    ----------------

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.library.GetXmlNodeByXPath(String xpathQuery) +14
    
    [TargetInvocationException: Exception has been thrown by the target of an invocation.]
       System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
       System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +92
       System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +155
       UmbracoExamine.LegacyLibrary.GetXmlNodeByXPath(String xpathQuery) +78
       UmbracoExamine.DataServices.UmbracoContentService.GetPublishedContentByXPath(String xpath) +10
       UmbracoExamine.BaseUmbracoIndexer.GetXDocument(String xPath, String type) +89
       UmbracoExamine.BaseUmbracoIndexer.AddNodesToIndex(String xPath, String type) +20
       UmbracoExamine.BaseUmbracoIndexer.PerformIndexAll(String type) +755
       UmbracoExamine.UmbracoContentIndexer.PerformIndexAll(String type) +117
       Examine.LuceneEngine.Providers.LuceneIndexer.IndexAll(String type) +142
       UmbracoExamine.BaseUmbracoIndexer.IndexAll(String type) +29
       UmbracoExamine.BaseUmbracoIndexer.PerformIndexRebuild() +80
       UmbracoExamine.UmbracoContentIndexer.RebuildIndex() +68
       Umbraco.Web.WebBootManager.Complete(Action`1 afterComplete) +238
       Umbraco.Core.UmbracoApplicationBase.StartApplication(Object sender, EventArgs e) +158
       Umbraco.Core.UmbracoApplicationBase.Application_Start(Object sender, EventArgs e) +9
    
    [HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +9916613
       System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +118
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +172
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +336
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +296
    
    [HttpException (0x80004005): Exception has been thrown by the target of an invocation.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9930508
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +101
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +254
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34212

    ---------------

  • John Churchley 272 posts 1258 karma points c-trib
    Apr 13, 2015 @ 17:24
    John Churchley
    0

    It could be permissions issue. Have you tried

    • Rebuilding the solution after install
    • Deleting the App_Data/umbraco.config file then rebuilding/recycling application pool.
    Hope this helps.

    //JC
  • Srdjan Lukic 34 posts 166 karma points
    May 27, 2015 @ 00:55
    Srdjan Lukic
    100

    Apperently is a knowen case-sensitivity issue in Umbraco :(

  • Adam Anthony 8 posts 79 karma points
    Jan 08, 2016 @ 13:38
    Adam Anthony
    0

    Can you clarify what your solution was? I am currently having the same issue.

    Thanks.

  • Srdjan Lukic 34 posts 166 karma points
    Jan 08, 2016 @ 13:48
    Srdjan Lukic
    0

    The only work-around was to use MSSQL instead of MySQL :(

Please Sign in or register to post replies

Write your reply to:

Draft