Skip to main content
January 2, 2024

Application Package error

  • January 2, 2024
  • 2 replies
  • 0 views

Hi ,

 

I am trying to create a offline package but getting the below error.(snapshot attached)

'',hexadecimal value 0x03 is an invalid character

What is the easy solution?

 

 

2 replies

January 3, 2024

Can you please re-attach the screenshot - don't put it in the "Cover Photo" section, just copy and paste it inside the actual post.

January 3, 2024

0x03 is ^C aka EoTX or ETX (End of Transmission).  It probably got in your string by pasting some code from another source.  I imagine the package is stored as XML and ETX is an invalid char In XML

The easy solution is to remove the 0x03 character from your string:
stringWithETX.Replace(ChrW(&H3), String.Empty)