Im trying to print on screen the value of a field in the following way,
Response.Write "<br>msDS-MaximumPasswordAge: " & adoRs.Fields(2).value
but i get
Microsoft VBScript runtime error '800a01b6'
Object doesn't support this property or method
however if I run
i get, "Object" so maybe I should try a casting or something like that but not sure. I tried CStr(adoRs.Fields(2).value) but not luck.
This value is coming from an attribute of Active Directory which Im pretty sure contains a value in the following way: 31:00:00:00. After google it, looks like this value is saved in I8 format, a kind of long negative number, for example, -864000000000.
Any clues are welcome.