Hey ppl,
When I press the home button i get an error.
Code:Error
There was an error while processing your request ...
Object of type 'System.Double' cannot be converted to type 'System.Int32'.
Click here to go back
Code: Exception Information
Stack trace for the exception above.
at System.RuntimeType.TryChangeType(Object value, Binder binder, CultureInfo culture, Boolean needsSpecialCast)
at System.Reflection.MethodBase.CheckArguments(Object[] parameters, Binder binder, BindingFlags invokeAttr, CultureInfo culture, Signature sig)
at System.Reflection.RuntimeMethodInfo.InvokeArgumentsCheck(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.RuntimePropertyInfo.SetValue(Object obj, Object value, Object[] index)
at TmExchange.Core.Helpers.ReflectionHelpers.ReadInto(Object obj, DataRow row, String userLinkID, String userLinkUsername)
at TmExchange.Core.Helpers.ReflectionHelpers.Populate[T](List`1 list, DataRowCollection rowCollection, String userLinkIDColumnName, String userLinkUsernameColumnName)
at TmExchange.Core.Database.DataClients.ReplayClient.GetScoresForEnvironment(Int32 environmentID)
at System.ManiaExchange.Caching.MXCache.GetItem[T](String key, Double expireMilliseconds, CacheItemPriority priority, Func`1 getValue)
at System.ManiaExchange.Caching.MXCache.GetItem[T](String key, Int32 expireMinutes, CacheItemPriority priority, Func`1 getValue)
at System.ManiaExchange.Caching.MXCache.GetItem[T](String key, Int32 expireMinutes, Func`1 getValue)
at TmExchange.Controllers.HomeController.Index()
at lambda_method(Closure , ControllerBase , Object[] )
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.b__12()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
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)
I hope this info will help you resolve the problem:)
Br,
Noob