When using client side projection utility I was getting this error "cannot construct a PeUnit, no constructor in IDL". Google gave no results so I thought I'd log the solution here:
This causes the issue
The solution is to create a new extent/clone it to pass into the projection
Solved! Go to Solution.
Solution is to clone the map spatial reference:
Solution is to clone the map spatial reference:
You also have to clone the spatial reference for the geometry object you want to project. Referencing to the map's spatial reference for the geometry object will cause the same error.