[Mono-list] Forms authentication not working?

Cory Nelson PhrostByte@socal.rr.com
Wed, 21 Apr 2004 10:07:50 -0700


Using XSP 0.9 I was able to get file-level authentication (didn't work for
directories).  Now with XSP 0.11 I'm getting an exception:

HTTP 500

System.NullReferenceException: Object reference not set to an instance of an
object
in <0x0000d> System.Web.Security.FormsIdentity:get_Name ()
in <0x00857> System.Web.HttpRequest:ParseServerVariables ()
in <0x0000e> System.Web.HttpRequest:get_ServerVariables ()
in <0x000d9> System.Web.HttpContext:get_IsCustomErrorEnabled ()
in <0x00025> System.Web.HttpRuntime:RedirectCustomError
(System.Web.HttpContext)
in <0x00197> System.Web.HttpRuntime:FinishRequest
(System.Web.HttpContext,System.Exception)
in <0x000fc> System.Web.HttpRuntime:OnHandlerReady (System.IAsyncResult)
in <0x0004e> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_IAsyncResult (System.IAsyncResult)
in <0x0005e> System.Web.HttpAsyncResult:Complete
(bool,object,System.Exception)
in <0x0022a> StateMachine:ExecuteNext (System.Exception)
in <0x00051> StateMachine:ExecuteNextAsync (System.Exception)
in <0x00022> StateMachine:Start ()
in <0x0006a>
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest
(System.Web.HttpContext,System.AsyncCallback,object)
in <0x0033c> System.Web.HttpRuntime:InternalExecuteRequest
(System.Web.HttpWorkerRequest)