Someone please explain this further. I have read the text document which came with the code download and I can not for the life of me, figure out why I am getting the cast error for my CType(context.User, SitePrincipal). It seems as though on rare occassions it is actually working for me. isauthenticated is working very consistently, but I can not figure why TypeOf Context.User Is SitePrincipal does not seem to be true. What have I missed, screwed up, or not configured. Please, I don't have that much more hair to loose.