Hi,
I am trying to configure one http module(a vb module) on MOSS site.
In this module I have entry like below:
Due to this I am getting 500 internal server and exception on browser is: Exception of type 'System.Argumen tException' was thrown.
Parameter name: encodedValue
If I comment "HttpContext.Cu rrent.User" related two lines then it redirect to form login.
please let me know if there is anything wrong related to these settings.
I am trying to configure one http module(a vb module) on MOSS site.
In this module I have entry like below:
Code:
Dim roles As String() = Nothing Dim webIdentity As New GenericIdentity(OracleUser, "Form") Dim principal As New GenericPrincipal(webIdentity, roles) HttpContext.Current.User = principal System.Web.Security.FormsAuthentication.RedirectFromLoginPage(HttpContext.Current.User.Identity.Name.ToString, False)
Parameter name: encodedValue
If I comment "HttpContext.Cu rrent.User" related two lines then it redirect to form login.
please let me know if there is anything wrong related to these settings.
Comment