Print Page | Close Window

httpapi.asp error

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=25135
Printed Date: 04 April 2026 at 5:14am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: httpapi.asp error
Posted By: jloh168@gmail.com
Subject: httpapi.asp error
Date Posted: 11 January 2008 at 4:44am
Hi,

I got the following error while trying to a newMember function.  It appears the isBool function is missing.  I use the default administrator id and password and use the user name test and password test.  I even try to comment out the line calling isBool function, but got another error.

thanks


Jimmy


HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services


Technical Information (for support personnel)

  • Error Type:
    Microsoft VBScript runtime (0x800A01F4)
    Variable is undefined: 'isBool'
    /forum/HttpAPI.asp, line 1130
  • Browser Type:
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
  • Page:
    GET /forum/HttpAPI.asp




  • Replies:
    Posted By: WebWiz-Bruce
    Date Posted: 11 January 2008 at 9:40am
    The HTTP XML API was to be part of version 10 but was released early. The call is to a new function in version 10.

    To fix the issue add the following function to the code near the top of the HttpAPI.asp file:-


    'isBool checks if a Boolean value
    Private Function isBool(strExpression)

        'Convert to lower case string (less work to do later)
        strExpression = CStr(LCase(strExpression))
       
        'See if value is a booleon or not
        Select Case strExpression
            Case "true", "false", "1", "0", "-1"
                isBool = True
            Case Else
                isBool = False
        End Select

    End Function



    -------------
    https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
    https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting



    Print Page | Close Window

    Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
    Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net