I’m receiving an error which looks like it is due to an error using hexidecimal inputs in a uint field. It occurs on both versions of the web service I’m working on.
System.ArgumentException: Cannot convert 0x2 to System.UInt32.
Parameter name: type ---> System.FormatException: Input string was not in a correct format.
However, my coworker says that it works for him on a previous version of the web service I have, when he calls it using C++, but it doesn’t work on the current version I’m working on.
Has anyone experienced this?
Are you using something like this in your code? If not, try to implement this (replace “CF01” with your input value):
Edit:
For the particular case with the 0x prefix: