Hi,
I am converting the "account expires" field in AD for a contractor to a date value which is stored in the FIM portal in an attribute named "expiration time". This date is used to manage the contractor in AD. This works perfectly for users with valid dates, but when the value in AD is set to never expire, the converted date is "1601-01-01T02:00:00.000".
When trying to write this to the portal, an error results with the following message:
Fault Reason: The endpoint could not dispatch the request.\r\n\r\nFault Details: <DispatchRequestFailures xmlns="http://schemas.microsoft.com/2006/11/ResourceManagement"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DispatchRequestAdministratorDetails><FailureMessage>Exception:
Other
Stack Trace: Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---&gt; System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 50000,
Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 242, Level 16, State 3, Procedure GenerateRequestOutput, Line 259, Message:The conversion of a datetimeoffset data type to a datetime data type resulted in an out-of-range value.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at
Does anybody know what the valid date range is for the FIM Portal, in this case the minimum? Should I add to this value to make it acceptable, or just write "0" to that attribute?
Any help is appreciated.
Thanks
Johan Marais
JkM6228