fuel9 / DisplayMonkey

Display Monkey digital signage solution
Other
126 stars 50 forks source link

Error Message after Install of Display Monkey #80

Closed cwhitsbm closed 5 years ago

cwhitsbm commented 5 years ago

Hello,

I have recently configure DisplayMonkey and am getting an error on the management site when I open it.

Upon opening the home directory for the first time I am getting this error message:

Message | The cast to value type 'System.Double' failed because the materialized value is null. Either the result type's generic parameter or the query must use a nullable type.

STack Trace:

at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader1.GetValue(DbDataReader reader, Int32 ordinal) at lambda_method(Closure , Shaper ) at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator1.ReadNextElement(Shaper shaper) at System.Data.Entity.Core.Common.Internal.Materialization.Shaper1.SimpleEnumerator.MoveNext() at System.Linq.Enumerable.Single[TSource](IEnumerable1 source) at DisplayMonkey.Controllers.HomeController.Index() in e:\project\DisplayMonkey\Management\Controllers\HomeController.cs:line 36 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.b39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b3d() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.b3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<>cDisplayClass2b.b1c() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21

cwhitsbm commented 5 years ago

Solved... One of my emps did attempt the install before I took over. Apparently however he did not download the latest and greatest and did not save his download file. So when I took over and had to re-download the sql scripts, I downloaded the most current and that must be where the mismatch came in. Thank you for your help.

ToniTolonen commented 5 years ago

I have just installed my DisplayMonkey and when I browse to http://localhost/displayMonkey/default.aspx

I end up to following error

dm_error

... have been going back and forth installation tasks, but I am not able to find 'where I have made misstake'.

Any ideas, about the error. How to get this up and running

psined1 commented 5 years ago

hi could you please start a new thread, as your issue appears unrelated to that of the OP, which is already closed. Thanks