System.InvalidCastException: Specified cast is not
Has anyone found a solution to the casting issue in the Site Header with the following line of code:
PhileIdentity id = (PhileIdentity)Context.User.Identity;
This line of code produces the following error:
System.InvalidCastException: Specified cast is not valid.
How do I fix it?
Thanks!
|