We recently installled the update to Lansweeper 4 form 3.5 and since then we cannot add devices manually. we get the following:
Server Error in '/' Application.
String was not recognized as a valid DateTime.
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.FormatException: String was not recognized as a valid DateTime.
Source Error:
Line 658: <tr>
Line 659: <td align="left" valign="top"><strong>First seen:<br />
Line 660: </strong><%# datetime.parse(Dsdevice.FieldValue("FirstSeen", Container)).tostring(session("dateformat") & " hh:mm:ss") %></td>
Line 661: </tr>
Line 662: <%if Dsdevice.FieldValue("LastSeen", nothing).tostring <> "" then %>
Source File: C:\Program Files\Lansweeper\WebSite\it-custitem.aspx Line: 660
Stack Trace:
[FormatException: String was not recognized as a valid DateTime.]
System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +2835862
System.DateTime.Parse(String s) +25
ASP.it_custitem_aspx.__DataBind__control52(Object sender, EventArgs e) in C:\Program Files\Lansweeper\WebSite\it-custitem.aspx:660
System.Web.UI.Control.OnDataBinding(EventArgs e) +73
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +139
System.Web.UI.Control.DataBind() +15
System.Web.UI.Control.DataBindChildren() +205
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +149
System.Web.UI.Control.DataBind() +15
DreamweaverCtrls.PageBind.Page_Load(Object src, EventArgs E) +686
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
System.Web.UI.Control.OnLoad(EventArgs e) +73
System.Web.UI.Control.LoadRecursive() +52
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2184
How do we fix this?