Hi, Jon
Everything is ok but the ManageUsers action, following is the error when I enter this action:
Everything is ok but the ManageUsers action, following is the error when I enter this action:
The version of SQL Server in use does not support datatype 'datetime2'. 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.ArgumentException: The version of SQL Server in use does not support datatype 'datetime2'. Source Error: Line 142: DateTime compareTime = DateTime.Now.Subtract(onlineSpan); Line 143: Line 144: return (from u in _entities.UserSet Line 145: where u.LastActivityDate > compareTime && Line 146: u.Portal.PortalID == portal.PortalID Source File: C:\Users\phuonglewis\Desktop\MvcCms\MvcCms.Data\EntityAccountRepository.cs Line: 144
2 years 2 months 17 days
ago by
phuonglewis
