Windows Vista Forums

Error code 800A0408 Invalid Character
  1. #1


    AuHuman Guest

    Error code 800A0408 Invalid Character

    hi,
    i have a vbscript which was compiling with noerrors.
    i was using editplus to write my vbscritps
    today i tried using primalscript2009 editor.
    i added some code to the script and when i tried to run the script i got
    the "Error code 800A0408 Invalid Character" error.
    i gone through my code a lot of time but i found no invalid character.
    i need your help to resolve this issue.



      My System SpecsSystem Spec

  2. #2


    mayayana Guest

    Re: Error code 800A0408 Invalid Character

    > i have a vbscript which was compiling with noerrors.

    > i was using editplus to write my vbscritps
    > today i tried using primalscript2009 editor.
    > i added some code to the script and when i tried to run the script i got
    > the "Error code 800A0408 Invalid Character" error.
    > i gone through my code a lot of time but i found no invalid character.
    > i need your help to resolve this issue.
    Why don't you look at the line that the error message
    told you the error is on, and then post it here? No one
    can help you figure out what character is invalid if
    they can't see your code.

    Usually that error will mean that you used something
    invalid in the context. A non alphanumeric in a variable
    or an operator that can't work might do it. Though
    WSH will try to force an operator to work if it can.
    For instance:

    i = 2
    s = 3
    msgbox i & s

    I tried that out thinking that it might result in an
    invalid character error, but instead the interpreter
    converted the numbers to strings and the msgbox
    showed "23"!




      My System SpecsSystem Spec

  3. #3


    Al Dunbar Guest

    Re: Error code 800A0408 Invalid Character



    "mayayana" <mayaXXyana@newsgroup> wrote in message
    news:#9yRHq0oKHA.5520@newsgroup

    >> i have a vbscript which was compiling with noerrors.
    >> i was using editplus to write my vbscritps
    >> today i tried using primalscript2009 editor.
    >> i added some code to the script and when i tried to run the script i got
    >> the "Error code 800A0408 Invalid Character" error.
    >> i gone through my code a lot of time but i found no invalid character.
    >> i need your help to resolve this issue.
    >
    > Why don't you look at the line that the error message
    > told you the error is on, and then post it here? No one
    > can help you figure out what character is invalid if
    > they can't see your code.
    >
    > Usually that error will mean that you used something
    > invalid in the context. A non alphanumeric in a variable
    > or an operator that can't work might do it. Though
    > WSH will try to force an operator to work if it can.
    > For instance:
    >
    > i = 2
    > s = 3
    > msgbox i & s
    >
    > I tried that out thinking that it might result in an
    > invalid character error, but instead the interpreter
    > converted the numbers to strings and the msgbox
    > showed "23"!
    A google search for "800A0408" finds info such as these:

    "If you cut and paste code from other sources (e.g. web sites, other
    editors, etc) you often bring along characters that don't show up in Notepad
    but are, nonetheless, present -- or do appear as non-prinatable characters,
    that look like little squares. If you're looking at the line in question and
    it isn't simply an unclosed string or a premature carriage return, try
    deleting the line(s) altogether and re-typing them by hand. This should
    eliminate the possibility of 'invisible' problem characters mucking up the
    stream."
    (http://classicasp.aspfaq.com/general...08-errors.html).

    "Your VBScript contains an illegal character, often at the beginning of a
    line. It can happen if you copy the script from word, then paste into
    notepad. For example, to 'Rem out a line we need the apostrophe, which is
    ASCII character 39; however if you paste from word you may get ASCII 96
    (Grave accent)."
    (http://www.computerperformance.co.uk...e_800A0408.htm)

    It seems to me that the problem is not with either editor, but with editing
    with both.

    /Al



      My System SpecsSystem Spec

Error code 800A0408 Invalid Character problems?

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 1324 The path My Data contains an invalid character. IronDogg Software 1 05 Jan 2010
"Invalid character" in activation attempt? Jim Vaught Vista General 3 13 Jan 2009
Error 1324. The path ? contains an invalid character (FSX) Antony L Vista Games 1 28 Nov 2008
Is it possible to use a special character in a code snippet? forest demon .NET General 3 16 Sep 2008
Product Code Invalid after logging in Just Guessing Vista General 3 12 Sep 2008