How to resolve RI installation errors

Let’s say you install RI, and the first time you load the URL, you receive:

InvalidCastException: Unable to cast object of type ‘System.Security.Principal.WindowsPrincipal’ to type ‘CSLA.Security.BusinessPrincipal’

If you encounter ANY issues with RI, redo following the specific installation or update steps. 99% of all known issues have been because one or more steps was not fully completed before moving to the next step.

For example, the error above may occur when updating RI to a newer version, but the Update steps for the configuration was NOT followed - the IIS application pool and site was not shut down, and the RI application files were not fully replaced with ALL of the new files.

With any software, not just AyaNova, if you encounter an issue, [b] recheck ALL steps in the order outlined.[/b[]
If you continue to experience an issue, provide us with step by step what you did, what is shown and done and resulted at each step, and then we can go from there.

There is certainly the possibility of the issue being caused by something in the program or something corrupted on your server, but don’t waste your time being frustrated when 99% of resolution would be by rechecking your steps.