Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Alec Colebrook-Clark 134 posts 258 karma points
    Aug 18, 2011 @ 12:33
    Alec Colebrook-Clark
    0

    Public Access Issue

    Hi All,

    Apologies if im posting in the wrong forum. Im having an issue where public access isnt redirecting to a login page. The issue i keep getting is:

    The parameter 'username' must not be empty.

     

    Parameter name: username

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.ArgumentException: The parameter 'username' must not be empty.
    Parameter name: username

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace: 

    [ArgumentException: The parameter 'username' must not be empty.
    Parameter name: username]
       System.Web.Util.SecUtility.CheckParameter(String& param, Boolean checkForNull, Boolean checkIfEmpty, Boolean checkForCommas, Int32 maxSize, String paramName) +3200759
       System.Web.Security.ActiveDirectoryMembershipProvider.CheckUserName(String& username, Int32 maxSize, String paramName) +42
       System.Web.Security.ActiveDirectoryMembershipProvider.GetUser(String username, Boolean userIsOnline) +192
       System.Web.Security.Membership.GetUser() +111
       umbraco.requestHandler..ctor(XmlDocument _umbracoContent, String url) +3753
       umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +1138
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.OnPreInit(EventArgs e) +11042958
       System.Web.UI.Page.PerformPreInit() +42
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1256
    

    After some digging i find that my installation is appearing corrupt aswell. Im missing membertype in the member section, im really at a loss as to why this happens. Any advice will be greatly apprecieated.

    Thanks

    Alec

  • Alec Colebrook-Clark 134 posts 258 karma points
    Aug 23, 2011 @ 13:08
    Alec Colebrook-Clark
    0

    This was a membership issue. I used my AD user provider for the mebership which threw this out. reverted to default user provider and worked like a charm.

Please Sign in or register to post replies

Write your reply to:

Draft