Problem with installation

Topics: Administration, Customizing Orchard, Installing Orchard, Localization
Oct 29, 2013 at 2:52 PM
Hi all, I'm new to Orchard programming and I need your help.

I'm installing on my localhost an orchard web site with source file (just copy and paste)...all works fine....... but when I'm trying to delete a supported culture (just a duplicate) by settings panel I get the follow error:


An unhandled exception has occurred and the request was terminated. Please refresh the page. If the error persists, go back

Sequence contains more than one element

System.InvalidOperationException: Sequence contains more than one element at NHibernate.Linq.DefaultQueryProvider.ExecuteQuery(NhLinqExpression nhLinqExpression, IQuery query, NhLinqExpression nhQuery) at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression) at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression) at System.Linq.Queryable.SingleOrDefault[TSource](IQueryable`1 source) at Orchard.Data.Repository`1.Get(Expression`1 predicate) in c:\Users\Administrator\Downloads\EnergyTI-New\EnergyTI-New\src\Orchard\Data\Repository.cs:line 91 at Orchard.Data.Repository`1.Orchard.Data.IRepository<T>.Get(Expression`1 predicate) in c:\Users\Administrator\Downloads\EnergyTI-New\EnergyTI-New\src\Orchard\Data\Repository.cs:line 60 at Orchard.Localization.Services.DefaultCultureManager.DeleteCulture(String cultureName) in c:\Users\Administrator\Downloads\EnergyTI-New\EnergyTI-New\src\Orchard\Localization\Services\DefaultCultureManager.cs:line 44 at Orchard.Core.Settings.Controllers.AdminController.DeleteCulture(String cultureName) in c:\Users\Administrator\Downloads\EnergyTI-New\EnergyTI-New\src\Orchard.Web\Core\Settings\Controllers\AdminController.cs:line 128 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<InvokeActionMethodWithFilters>b__10() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12() at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
i suspect is a missconfiguration... can you help me? I'm newbie and I'm using visual studio 2012
Coordinator
Oct 30, 2013 at 7:29 AM
Please file a bug.