Server Error in '/' Application.

The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'. ]
   System.Data.Entity.Core.Common.Internal.Materialization.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal) +341
   lambda_method(Closure , Shaper ) +579
   System.Data.Entity.Core.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly(Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet) +249
   lambda_method(Closure , Shaper ) +404
   System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper) +381
   System.Data.Entity.Core.Common.Internal.Materialization.SimpleEnumerator.MoveNext() +88
   System.Linq.Enumerable.SingleOrDefault(IEnumerable`1 source) +261
   Musicnotes.Application.Services.FeatureToggleSplitTestService.IsFeatureEnabledForHostname(String featureName, String hostname) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Application\Services\FeatureToggleSplitTestService.cs:28
   Castle.Proxies.Invocations.IFeatureToggleRepository_IsFeatureEnabledForHostname.InvokeMethodOnTarget() +158
   Castle.DynamicProxy.AbstractInvocation.Proceed() +110
   Musicnotes.Application.ExceptionLogger.Intercept(IInvocation invocation) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Application\ExceptionLogger.cs:56
   Castle.DynamicProxy.AbstractInvocation.Proceed() +447
   Castle.Proxies.IFeatureToggleRepositoryProxy.IsFeatureEnabledForHostname(String featureName, String hostname) +149
   Musicnotes.BusinessLogic.Services.PasswordHashService..ctor(IFeatureToggleRepository featureToggleRepo) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.BusinessLogic\Services\PasswordHashService.cs:15
   lambda_method(Closure , Object[] ) +104
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +253

[DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Musicnotes.BusinessLogic.IFeatureToggleRepository)' on type 'PasswordHashService'. ---> The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'.  (See inner exception for details.)]
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +717
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +122
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +122
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +144
   Autofac.Core.Resolving.InstanceLookup.Execute() +183
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +122
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +144
   Autofac.Core.Resolving.InstanceLookup.Execute() +183
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +122
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +108
   Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) +122
   Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters) +70
   Autofac.Integration.Mvc.AutofacDependencyResolver.GetService(Type serviceType) +75
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +61

[InvalidOperationException: An error occurred when trying to create a controller of type 'Musicnotes.Controllers.ErrorController'. Make sure that the controller has a parameterless public constructor.]
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +242
   System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +1583
   System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103
   System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +263
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +85
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +6433
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +224
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +1366


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4136.0
   Return to Birds
Price: $5.99  


Ratings Information about:
Birds
 
Intolerance (not present)
Profanity 3
Sex (not present)
Violence (not present)
Drugs (not present)
 
Click to go back to view Birds now.
 
Background:

At Musicnotes we attempt to rate our digital sheet music using five factors.
Each factor has a value on a scale from 0 to 10:
  1. Not present at all.
  2. Not worth mentioning.
    ...
  3. Utterly atrocious.
Most of our music is rated 0 on all five counts. If any one factor is rated higher than a "1" its product display shows a link to this page.

The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'.

Server Error in '/' Application.

The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'. ]
   System.Data.Entity.Core.Common.Internal.Materialization.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal) +341
   lambda_method(Closure , Shaper ) +579
   System.Data.Entity.Core.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly(Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet) +249
   lambda_method(Closure , Shaper ) +404
   System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper) +381
   System.Data.Entity.Core.Common.Internal.Materialization.SimpleEnumerator.MoveNext() +88
   System.Linq.Enumerable.SingleOrDefault(IEnumerable`1 source) +261
   Musicnotes.Application.Services.FeatureToggleSplitTestService.IsFeatureEnabledForHostname(String featureName, String hostname) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Application\Services\FeatureToggleSplitTestService.cs:28
   Castle.Proxies.Invocations.IFeatureToggleRepository_IsFeatureEnabledForHostname.InvokeMethodOnTarget() +158
   Castle.DynamicProxy.AbstractInvocation.Proceed() +110
   Musicnotes.Application.ExceptionLogger.Intercept(IInvocation invocation) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Application\ExceptionLogger.cs:56
   Castle.DynamicProxy.AbstractInvocation.Proceed() +447
   Castle.Proxies.IFeatureToggleRepositoryProxy.IsFeatureEnabledForHostname(String featureName, String hostname) +149
   Musicnotes.BusinessLogic.Services.PasswordHashService..ctor(IFeatureToggleRepository featureToggleRepo) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.BusinessLogic\Services\PasswordHashService.cs:15
   lambda_method(Closure , Object[] ) +104
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +253

[DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Musicnotes.BusinessLogic.IFeatureToggleRepository)' on type 'PasswordHashService'. ---> The 'EnableDate' property on 'FeatureToggle' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.DateTime'.  (See inner exception for details.)]
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +717
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +122
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +122
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +144
   Autofac.Core.Resolving.InstanceLookup.Execute() +183
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +122
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator) +144
   Autofac.Core.Resolving.InstanceLookup.Execute() +183
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +122
   Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +272
   Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +86
   Autofac.Core.Resolving.InstanceLookup.Execute() +63
   Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
   Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +108
   Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) +122
   Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters) +70
   Autofac.Integration.Mvc.AutofacDependencyResolver.GetService(Type serviceType) +75
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +61

[InvalidOperationException: An error occurred when trying to create a controller of type 'Musicnotes.Controllers.ErrorController'. Make sure that the controller has a parameterless public constructor.]
   System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +242
   System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) +1583
   System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103
   System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +263
   System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +85
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +6433
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +224
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +1366


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4136.0
.