Type mismatch: 'Server.HTMLEncode' -- inc_CuteEditor.asp, line 851

  •  10-16-2005, 12:26 PM

    Type mismatch: 'Server.HTMLEncode' -- inc_CuteEditor.asp, line 851

    ERROR
    Microsoft VBScript runtime error '800a000d'
    Type mismatch: 'Server.HTMLEncode'
    /includes/inc_CuteEditor.asp, line 851

    FIX at line 851
    if s_Text<> "" then :s_Text=Server.HTMLEncode( s_Text ): else s_Text=" ": end if

    '##TODO## Assert Preconditions for s_Text and the use of Server.HTMLEncode(NULL)
    '##RISK##  [s_Text] might come from a database, and when you go to edit that record for the first time it is null.
View Complete Thread