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.

  • ismail hamzah 5 posts 24 karma points
    Dec 28, 2014 @ 14:09
    ismail hamzah
    0

    uCommerce fresh install on Umbraco 7.1.1 error could not load nHibernate

    bonjour,

    start playing arround with uCommerce by installing it. but, i think, i found something "unique". my install attempt somtime success but sometimes error. there should be logic behind success and error. after several times attempt, i thin i found the error patterns. it seems that, when my develoment server is "disconnected from internet", the install is always fail with error message:

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

    Parser Error Message: Could not load file or assembly 'NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The system cannot find the file specified.

    Source Error: 

    Line 181:      <assemblies>
    Line 182:        <add assembly="System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    Line 183:        <add assembly="NHibernate, Version=3.3.1.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4"/>
    Line 184:        <add assembly="Castle.Windsor, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc"/>
    Line 185:        <add assembly="Castle.Core, Version=3.2.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc"/

     

    but if the development server is connected to internet, the installation is success.

    i still did not know the logic behind this. and i did not know if my finding is correct or not :-) 

    merci,

    ismail

  • Martin 181 posts 740 karma points
    Dec 28, 2014 @ 14:34
    Martin
    0

    Hi Ismail,

    To install uCommerce it is required to have internet to your development machine/development server since uCommerce will fetch its dependencies (like NHibernate, RavenDb so forth) through Nuget. This is done due to uCommmerce installation package will be to large to be uploaded as a "install package" in Umbraco.

    Best regards Martin

  • ismail hamzah 5 posts 24 karma points
    Dec 29, 2014 @ 00:06
    ismail hamzah
    0

    hi Martin,

    thank you for the feedback, its clear now why i got those errors :-)

    i thought because i download the package from uCommerce site, all the dependencies/dll already there.

  • Martin 181 posts 740 karma points
    Dec 29, 2014 @ 18:04
    Martin
    0

    That is a reasonable assumption that all files should be in the package. I'm quite sure it's not in the package due to the limited size for a Umbraco package. Because some time ago they always included dependencies.

Please Sign in or register to post replies

Write your reply to:

Draft