29 lines
3.0 KiB
Plaintext
29 lines
3.0 KiB
Plaintext
2012-04-18 14:41:39,305 [10] ERROR LogController.Index -
|
|
System.InvalidOperationException: The model backing the 'MileageTrakerContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).
|
|
at System.Data.Entity.CreateDatabaseIfNotExists`1.InitializeDatabase(TContext context)
|
|
at System.Data.Entity.Database.<>c__DisplayClass2`1.<SetInitializerInternal>b__0(DbContext c)
|
|
at System.Data.Entity.Internal.InternalContext.<>c__DisplayClass8.<PerformDatabaseInitialization>b__6()
|
|
at System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
|
|
at System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
|
|
at System.Data.Entity.Internal.LazyInternalContext.<InitializeDatabase>b__4(InternalContext c)
|
|
at System.Data.Entity.Internal.RetryAction`1.PerformAction(TInput input)
|
|
at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action`1 action)
|
|
at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
|
|
at System.Data.Entity.Internal.InternalContext.Initialize()
|
|
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
|
|
at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()
|
|
at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()
|
|
at System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider()
|
|
at System.Linq.Queryable.GroupBy[TSource,TKey](IQueryable`1 source, Expression`1 keySelector)
|
|
at MileageTraker.Web.DAL.DataService.GetValidLogYears() in C:\Users\poprhythm\Documents\code\MileageTraker\Web\DAL\DataService.cs:line 40
|
|
at MileageTraker.Web.Controllers.LogController.Index(LogQueryViewModel query) in C:\Users\poprhythm\Documents\code\MileageTraker\Web\Controllers\LogController.cs:line 19
|
|
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__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
|
|
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
|
|
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<>c__DisplayClass17.<InvokeActionMethodWithFilters>b__14()
|
|
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)
|