Error rendering error page.

System.InvalidOperationException: The 'LanguageName' property on 'Language' could not be set to a 'System.Int32' value. You must set this property to a non-null value of type 'System.String'. 
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)
   at lambda_method(Closure , Shaper )
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly[TEntity](Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet)
   at lambda_method(Closure , Shaper )
   at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
   at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
   at System.Data.Entity.Internal.LazyEnumerator`1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.b__1[TResult](IEnumerable`1 sequence)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
   at System.Data.Entity.Core.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[TResult](Expression expression)
   at System.Data.Entity.Internal.Linq.DbQueryProvider.Execute[TResult](Expression expression)
   at System.Linq.Queryable.FirstOrDefault[TSource](IQueryable`1 source, Expression`1 predicate)
   at AppData.DataRepository.LanguageRepository.GetByAbbreviation(String abbreviation) in D:\Projects\IdaTorez\__app\AppData\DataRepository\LanguageRepository.cs:line 0
   at i18n.DBLocalizingService.LoadMessages(String culture) in D:\Projects\IdaTorez\__app\i18n\DBLocalizingService.cs:line 192
   at i18n.DBLocalizingService.GetLanguageIfAvailable(String culture) in D:\Projects\IdaTorez\__app\i18n\DBLocalizingService.cs:line 131
   at i18n.DBLocalizingService.GetBestAvailableLanguageFrom(String[] languages) in D:\Projects\IdaTorez\__app\i18n\DBLocalizingService.cs:line 33
   at i18n.Interface.I18NSession.GetLanguageFromSessionOrService(HttpContextBase context) in D:\Projects\IdaTorez\__app\i18n\Interface\I18NSession.cs:line 62
   at i18n.LanguageFilter.OnActionExecuting(ActionExecutingContext filterContext) in D:\Projects\IdaTorez\__app\i18n.MVC3\LanguageFilter.cs:line 42
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
   at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass13.<>c__DisplayClass15.b__12()
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
   at System.Web.Mvc.Controller.ExecuteCore()
   at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
   at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)
   at AppWeb.Code.Filters.ServerErrorResult.ExecuteResult(HttpContextBase context) in D:\Projects\IdaTorez\__app\AppWeb\Code\Filters\ServerErrorResult.cs:line 49