hexadecimal value 0x00, is an invalid character


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: hexadecimal value 0x00, is an invalid character

  1. #1
    Sunil Menon Guest

    hexadecimal value 0x00, is an invalid character


    Dear All,
    I am getting an error "hexadecimal value 0x00, is an invalid character"
    when I am trying to throw an exception from a Web Service.
    Does anyone how why this comes? and what's the solution for it?

    Thanks a lot in advance

    Many Regards
    Sunil

  2. #2
    David Williams Guest

    Re: hexadecimal value 0x00, is an invalid character


    "Sunil Menon" <sunil@itb-india.com> wrote:
    >
    >Dear All,
    > I am getting an error "hexadecimal value 0x00, is an invalid character"
    >when I am trying to throw an exception from a Web Service.
    >Does anyone how why this comes? and what's the solution for it?
    >
    >Thanks a lot in advance
    >
    >Many Regards
    >Sunil


    Well, Hex 0x00 is a Null character, and is not displayable nor can it be
    used in places of a Null string. If you are trying to retrieve the data
    for display (or to manipulate) into a string, you need to capture the fact
    and handle accordinally. (I.E. strField = ds("Field"): If ds("Field") is
    Nothing Then strField &= "")


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center