Tips for finding Knowledge Articles

  • - Enter just a few key words related to your question or problem
  • - Add Key words to refine your search as necessary
  • - Do not use punctuation
  • - Search is not case sensitive
  • - Avoid non-descriptive filler words like "how", "the", "what", etc.
  • - If you do not find what you are looking for the first time,reduce the number of key words you enter and try searching again.
  • - Minimum supported Internet Explorer version is IE9
Home  >

KB-0643: Zonegen returns error: Specified Cast is not valid

Authentication Service ,  

12 April,16 at 11:27 AM


When running Zonegen, it is unsuccessful and you see the message:
System.InvalidCastException: Specified cast is not valid


This problem will occur if the inzone (the source Zone) contains a user that no longer exists in AD or contains an AD user of type “InetOrgPerson”.


Remove the above mentioned AD users from inzone and rerun Zonegen

Still have questions? Click here to log a technical support case, or collaborate with your peers in Centrify's Online Community.