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 :-)
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.
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.
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
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
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.
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.
is working on a reply...