Server Error in '/' Application.

The 'Id' property on 'Discount' could not be set to a 'System.Guid' value. You must set this property to a non-null value of type 'System.String'.

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 'Id' property on 'Discount' could not be set to a 'System.Guid' value. You must set this property to a non-null value of type 'System.String'.

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 'Id' property on 'Discount' could not be set to a 'System.Guid' value. You must set this property to a non-null value of type 'System.String'. ]
   System.Data.Entity.Core.Common.Internal.Materialization.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal) +336
   lambda_method(Closure , Shaper ) +429
   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.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +460
   System.Linq.Enumerable.ToList(IEnumerable`1 source) +69
   System.Data.Entity.Core.Objects.DataClasses.EntityReference`1.Load(MergeOption mergeOption) +226
   System.Data.Entity.Core.Objects.DataClasses.RelatedEnd.DeferredLoad() +440
   System.Data.Entity.Core.Objects.Internal.LazyLoadBehavior.LoadProperty(TItem propertyValue, String relationshipName, String targetRoleName, Boolean mustBeNull, Object wrapperObject) +127
   System.Data.Entity.Core.Objects.Internal.<>c__DisplayClass7`2.<GetInterceptorDelegate>b__2(TProxy proxy, TItem item) +154
   System.Data.Entity.DynamicProxies.CommerceShopper_F9BCB16FB61E86948058E20DD24395B941983C68E1C7EEE3BDDA831139DC0B9E.get_Discount() +45
   Musicnotes.Data.CommerceShopper.get_HasAnyDiscount() in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Data\CommerceShopper.cs:591
   Musicnotes.Data.CommerceShopper.get_IsDigitalDiscountClubMember() in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Data\CommerceShopper.cs:586
   Musicnotes.Application.ViewModelBuilders.SiteShopperViewModelBuilder.BuildViewModel() in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Application\ViewModelBuilders\SiteShopperViewModelBuilder.cs:48
   Musicnotes.Application.ViewModelBuilders.LayoutViewModelBuilderBase`1.BuildViewModel(T viewModel) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Application\ViewModelBuilders\LayoutViewModelBuilderBase.cs:99
   Musicnotes.Application.ViewModelBuilders.PageViewModelBuilderBase`1.BuildViewModel(T viewModel) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Application\ViewModelBuilders\PageViewModelBuilderBase.cs:60
   Musicnotes.Application.ViewModelBuilders.ErrorPageViewModelBuilder.BuildViewModel(Exception e) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\Musicnotes.Application\ViewModelBuilders\ErrorPageViewModelBuilder.cs:36
   Musicnotes.Controllers.ErrorController.Index(String aspxerrorpath, Int32 statusCode) in C:\BuildAgent\work\cf1d7f191a349310\musicnotes_mn1\wwwroot\Controllers\ErrorController.cs:35
   Castle.Proxies.Invocations.ErrorController_Index.InvokeMethodOnTarget() +147
   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.ErrorControllerProxy.Index(String aspxerrorpath, Int32 statusCode) +185
   lambda_method(Closure , ControllerBase , Object[] ) +197
   System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +209
   System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +35
   System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) +40
   System.Web.Mvc.Async.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) +77
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +43
   System.Web.Mvc.Async.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d() +72
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +387
   System.Web.Mvc.Async.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f() +387
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +43
   System.Web.Mvc.Async.<>c__DisplayClass2b.<BeginInvokeAction>b__1c() +30
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +836
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +29
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   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
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   Castle.Proxies.ErrorControllerProxy.EndExecute_callback(IAsyncResult asyncResult) +39
   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
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +43
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +39
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +3601
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +224
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +3238


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.4136.0
back to Table of SingerPros back to Table of Instruments with Voice

SingerPro: Soprano Voice, Keyboard and Violin Sheet Music

Title Index


View sorted by Artists  or Style

Musicnotes Digital Sheet Music Ave Maria
by Michael Hoppé



Last updated: Tuesday, January 31, 2023
.