Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load a CMS page. ---> NHibernate.LazyInitializationException: #1533

Open
pauliusmaciulis opened this issue May 27, 2016 · 1 comment

Comments

@pauliusmaciulis
Copy link
Contributor

http://www.bettercms.com/support/bugs-and-suggestions/bettercms-in-a-load-balanced-hosting-environment/

@pauliusmaciulis
Copy link
Contributor Author

Failed to load a CMS page. System.Web.HttpException (0x80004005): Failed to load a CMS page. ---> NHibernate.LazyInitializationException: Initializing[BetterCms.Module.Pages.Models.PageProperties#a1837fde-7c03-4ee8-9bd2-a5f301281cfa]-failed to lazily initialize a collection of role: BetterCms.Module.Pages.Models.PageProperties.Categories, no session or session was closed at NHibernate.Collection.AbstractPersistentCollection.ThrowLazyInitializationException(String message) at NHibernate.Collection.AbstractPersistentCollection.Initialize(Boolean writing) at NHibernate.Collection.Generic.PersistentGenericBag`1.System.Collections.Generic.IEnumerable.GetEnumerator() at BetterCms.Module.Pages.ViewModels.Page.RenderPagePropertiesViewModel..ctor(PageProperties page) at BetterCms.Module.Pages.Helpers.Extensions.RenderPageViewModelExtensions.GetPageModel(RenderPageViewModel viewModel) at BetterCms.Module.OpenGraphIntegration.OpenGraphIntegrationModuleDescriptor.Events_PageRendering(PageRenderingEventArgs args)

@pauliusmaciulis pauliusmaciulis changed the title aspnet_compiler.exe Precompile errors when deploying after 2.0 upgrade Failed to load a CMS page. ---> NHibernate.LazyInitializationException: Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant