I have Imports System.Web.Security Imports System.Security.Principalin my code, but it still give me error : Type GenericPrincipal is not defined I am using vs 2005 and asp.net framework 2.0. ...