Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • João Ferreira 19 posts 40 karma points
    Jul 01, 2013 @ 16:03
    João Ferreira
    0

    Unable to load UCommerce navigation tree

    Good afternoon,

    I've installed ucommerce v3.6.1.13149 to my umbraco solution v4.7.0

    There was no errors on the installation but when I go the new ucommerce section on the backend the tree fails to load, there seems to be an error loading your TreeDataService.ashx trough webservices.

    The console message we can see there is "NetworkError: 500 Internal Server Error - http://flowersprototype.localhost/umbraco/webservices/TreeDataService.ashx?rnd=12f1a376a343420facdf72357ed93c5a&id=-1&contextMenu=true&isDialog=false&app=uCommerce&rnd2=13.5"

    Umbraco log table registered the following on that time:

    id userId NodeId Datestamp logHeader logComment

    3019730 0 -1 2013-07-01 14:47:21.400 Error At /umbraco/webservices/TreeDataService.ashx?rnd=08af0226e6894c41bb660450e340955f&id=-1&contextMenu=true&isDialog=false&app=uCommerce&rnd2=43.4 (Referred by: http://flowersprototype.localhost/umbraco/): ;

    3019729 0 -1 2013-07-01 14:46:56.897 Error Error loading IApplication: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Examine.ExamineManager' threw an exception. ---> System.Configuration.ConfigurationErrorsException: Method not found: 'Void Examine.Providers.BaseIndexProvider.set_SupportUnpublishedContent(Boolean)'. (C:\inetpub\wwwroot\flowersprototype.localhost\config\ExamineSettings.config line 12) ---> System.MissingMethodException: Method not found: 'Void Examine.Providers.BaseIndexProvider.set_SupportUnpublishedContent(Boolean)'.     at UmbracoExamine.UmbracoContentIndexer.Initialize(String name, NameValueCollection config)     at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)     --- End of inner exception stack trace ---     at System.Web.Configuration.ProvidersHelper.InstantiateProvider(ProviderSettings providerSettings, Type providerType)     at System.Web.Configuration.ProvidersHelper.InstantiateProviders(ProviderSettingsCollection configProviders, ProviderCollection providers, Type providerType)     at Examine.ExamineManager.LoadProviders()     at Examine.ExamineManager..cctor()     --- End of inner exception stack trace ---     at umbraco.presentation.umbraco.Search.ExamineEvents..ctor()     --- End of inner exception stack trace ---     at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)     at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)     at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)     at System.Activator.CreateInstance(Type type, Boolean nonPublic)     at System.Activator.CreateInstance(Type type)     at umbraco.BusinessLogic.Application.RegisterIApplications()

     

    Can anyone help me with this one?

    I tried to install this package on different umbraco versions, up to 6.03 and the result was similar.

    Thank you,

    João Ferreira

  • Jesper Nielsen 141 posts 498 karma points
    Jul 01, 2013 @ 16:17
    Jesper Nielsen
    0

    Hi Joao,

    This looks very strange. The error does not appear to have anything to do with uCommerce, but with the configuration of Umbraco?!
    Looks like something is wrong with the ExamineSettings.config file. A file uCommerce does not use or alter.

    How are you installing Umbraco? From a zip file or an installer?

    Kind regards,

    Jesper

  • João Ferreira 19 posts 40 karma points
    Jul 01, 2013 @ 17:00
    João Ferreira
    0

    This is for a site that is running for about a year. It was installed from a zip file.

    We extract the solution, create the iis service and configure it, give permissions to the folder of umbraco for the app pool, create a blank database and run the installer. This is our usual way to install.

    This is that file:

    <?xml version="1.0"?>
    <!--
    Umbraco examine is an extensible indexer and search engine.
    This configuration file can be extended to add your own search/index providers.
    Index sets can be defined in the ExamineIndex.config if you're using the standard provider model.

    More information and documentation can be found on CodePlex: http://umbracoexamine.codeplex.com
    -->
    <Examine>
      <ExamineIndexProviders>
        <providers>
          <add name="InternalIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
               supportUnpublished="true"
               supportProtected="true"
               interval="10"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>

          <add name="InternalMemberIndexer" type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
               supportUnpublished="true"
               supportProtected="true"
               interval="10"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>
        </providers>
      </ExamineIndexProviders>

      <ExamineSearchProviders defaultProvider="InternalSearcher">
        <providers>
          <add name="InternalSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>

          <add name="InternalMemberSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true"/>
        </providers>
      </ExamineSearchProviders>

    </Examine>

    It was not changed for this solution.

     

    I've also noticed that the error related is just the upper one:

    At /umbraco/webservices/TreeDataService.ashx?rnd=846e86fc9d4b43a7b07d51558d7de3ad&id=-1&contextMenu=true&isDialog=false&app=uCommerce&rnd2=96.1 (Referred by: http://flowersprototype.localhost/umbraco/):

    I've solved the issue of Examine with an update of their dlls to umbraco 4.7.

    This error does not give me much information.

    Thank you Jesper, do you have any idea?

    Regards,

    João Ferreira

  • Kent 30 posts 54 karma points
    Jul 01, 2013 @ 17:12
    Kent
    0

    I had this exact same issue when I upgraded uCommerce using IIS Express and Visual Studio 2012. Per this thread, I re-upgraded through the full IIS7 and the problem was resolved.

  • João Ferreira 19 posts 40 karma points
    Jul 02, 2013 @ 12:38
    João Ferreira
    0

    Hey guys, I've just manage to get it working. But what I've done didn't point me to any conclusion.

    I believe the issue is related to a database structure. The package didn't install properly. 

    What I've done was restore all files and database from an older version of this site that we had managed to install ucommerce, which we used to show to our client.

    First I've just downloaded all its files from staging and restore permissions to them, just to be sure it wasn't any dll or config file that was missing. The store didn't came up still.

    After I've downloaded and restored a copy of the staging database to my local version which had already the synced files and it just worked. Ence why I believe something went wrong on the installation of the DB part.

    Hope this helps. Let me know if you got to the point or any similar issues. The running version of ucommerce is 3.5.0.13098, again umbraco 4.7

    Best regards,

    João Ferreira

Please Sign in or register to post replies

Write your reply to:

Draft