Stack error when trying to log in


#1
This is urgent please.

Please see the attached picture of the system throwing an error when we try to log in.

Exception

Sorry, an error occurred while processing your request.

The exception message is: The 'UserId' property on 'App' could not be set to a 'System.String' value. You must set this property to a non-null value of type 'System.Int64'.

There was a InvalidOperationException while rendering Home's Index action.

Stack trace:

at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal) at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.GetPropertyValueWithErrorHandling[TProperty](Int32 ordinal, String propertyName, String typeName) at lambda_method(Closure , Shaper ) at System.Data.Entity.Core.Common.Internal.Materialization.Shaper.HandleEntityAppendOnly[TEntity](Func`2 constructEntityDelegate, EntityKey entityKey, EntitySet entitySet) at lambda_method(Closure , Shaper ) at System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper) at System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext() at Aspose.Platform.Data.Entity.UserRepository.Update(User entity) in c:\BuildAgent\work\5439b26c473e456f\src\Aspose.Platform\Repositories\Aspose.Platform.Repo.Base\UserRepository.cs:line 202 at Aspose.Platform.Business.Applications.UserApplication.UpdateUser(User user, Boolean forwardToPassport) in c:\BuildAgent\work\5439b26c473e456f\src\Aspose.Platform\Aspose.Platform.Business.Applications\Applications\UserApplication.cs:line 96 at Aspose.Platform.Business.Applications.ApplicationFacade.SetLastLoginDate(String email, DateTime lastLoginDate) in c:\BuildAgent\work\5439b26c473e456f\src\Aspose.Platform\Aspose.Platform.Business.Applications\Facades\ApplicationFacade.cs:line 441 at Aspose.Platform.Presentation.Web.Controllers.HomeController.Index() in c:\BuildAgent\work\5439b26c473e456f\src\Aspose.Platform\Aspose.Platform.Presentation.Web\Controllers\HomeController.cs:line 38 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.Async.AsyncControllerActionInvoker.b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b__3d() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.b__3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass33.b__32(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.b__1c() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.b__1e(IAsyncResult asyncResult)

#2

This has happened before and it was supposedly fixed:


<span style=“font-size:12.0pt;font-family:“Times New Roman”,serif;
mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-ansi-language:
EN-AU;mso-fareast-language:EN-AU;mso-bidi-language:AR-SA”>http://www.aspose.com/community/forums/thread/690543.aspx

But I don’t have access to view this link above from my account, so could not tell what the problem was.

#3

Hi Mari,

Can you please try logging in again and let us know if the problem persists?

Best Regards,


#4

Hello Muhammad


I can login now.
We tried several times this morning and managed to login after about an hour since I logged this ticket.
Can you please advise why we are getting this error as it stops us completely from working until it mysteriously fixes itself?

thanks very much,
Mari

#5

Hi Mari,

Last time we were updating the Dashboard when you tried to log in and the issue was resolved after a few minutes automatically. We are further investigating why you faced this issue yesterday. You will be updated as soon as the investigation is complete.

Sorry for the inconvenience.

Best Regards,