'Server.HTMLEncode'

Last post 01-17-2005, 4:06 AM by cubefree. 2 replies.
Sort Posts: Previous Next
  •  05-28-2004, 9:52 AM 897

    'Server.HTMLEncode'

    Hi Adam:

     

    This message is appearing when the variable s_text is empty or contains already encoded text.

     

     

    Microsoft VBScript runtime error '800a000d'

    Type mismatch: 'Server.HTMLEncode'

    /include_CuteEditor.asp, line 687

     

    This is also new since the newer version of the files were uploaded.

     

    Thanks

     

    Elliot

  •  05-30-2004, 11:19 AM 906 in reply to 897

    Re: 'Server.HTMLEncode'

    I changed the line:

     

    'Response.Write ("<input name="""&ID&"_HTMLContent"" id="""&ID&"_HTMLContent"" type=""hidden"" value=""" & Server.HTMLEncode( s_Text ) & """/>")

     

    To:

    'Response.Write ("<input name="""&ID&"_HTMLContent"" id="""&ID&"_HTMLContent"" type=""hidden"" value=""" &  s_Text & """/>")

     

    in include_CuteEditor.asp and everthing works fine.  Hopefully the ServerHTMLEncode having been removed will not cause other downstream problems.

     

    Any other suggestions?

     

    Elliot

  •  01-17-2005, 4:06 AM 3525 in reply to 906

    Re: 'Server.HTMLEncode'

    yes, I also am starting to see this message, but can't correlate to any particular event. Any suggestions?
     
    Microsoft VBScript runtime (0x800A000D)
    Type mismatch: 'Server.HTMLEncode'
    /cdchc/cutesoft/include_CuteEditor.asp, line 802
     
    -----------------------------------------------------------------
    Actually I figured it out. I had moved the form tag below Editor.Draw(). I put it back under the <body> tag and all's well.
View as RSS news feed in XML