Wrox Programmer Forums
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 6th, 2011, 01:19 AM
Registered User
Join Date: Aug 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Microsoft VBScript runtime error '800a01b6'

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
Response.Write typeName(adoRs.Fields(2).value)
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.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft VBScript runtime error '800a01a8' Abbas Classic ASP Basics 1 July 21st, 2006 11:43 AM
Microsoft VBScript runtime error '800a01b6' PGSloboda Classic ASP Professional 0 October 20th, 2005 12:10 PM
Microsoft VBScript runtime error '800a000d' mwlyoung Classic ASP Databases 3 April 15th, 2004 04:54 AM
Microsoft VBScript runtime error '800a01a8' dlgee Classic ASP Basics 4 January 25th, 2004 05:18 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.