LK Khác Và Phụ Kiện > Tụ Điện > Tụ Ceramic SMD-1210

Server Error in '/' Application.

Argument 'Date1' cannot be converted to type 'Date'.

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.InvalidCastException: Argument 'Date1' cannot be converted to type 'Date'. Source Error:
Line 93: Line 94: For ix = 0 To UBound(aActiveUsers) Line 95: If DateDiff("n", Mid(aActiveUsers(ix), InStr(1, aActiveUsers(ix), "~") + 1, Len(aActiveUsers(ix))), Now()) > intActiveUserTimeout Then Line 96: aActiveUsers(ix) = "XXXX" Line 97: Else
Source File: D:\vhosts\tme.com.vn\httpdocs\ucCounter.ascx Line: 95 Stack Trace:
[InvalidCastException: Argument 'Date1' cannot be converted to type 'Date'.] Microsoft.VisualBasic.DateAndTime.DateDiff(String Interval, Object Date1, Object Date2, FirstDayOfWeek DayOfWeek, FirstWeekOfYear WeekOfYear) +151 ASP.uccounter_ascx.ActiveUserCleanup() in D:\vhosts\tme.com.vn\httpdocs\ucCounter.ascx:95 ASP.uccounter_ascx.Page_Load(Object Source, EventArgs E) in D:\vhosts\tme.com.vn\httpdocs\ucCounter.ascx:31 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52 System.Web.UI.Control.OnLoad(EventArgs e) +97 System.Web.UI.Control.LoadRecursive() +61 System.Web.UI.Control.LoadRecursive() +134 System.Web.UI.Control.LoadRecursive() +134 System.Web.UI.Control.LoadRecursive() +134 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.9318.0

Từ khóa » Tụ Ceramic