Please help. Whenever I access my site when logged in, there is no problem. But if I try to look at my website without being logged in, I get the following error:
Code:[b][ArgumentException: Anonymous authentication is not supported]
YAF.Providers.Utils.ExceptionReporter.ThrowArgument(String providerSection, String tag) +47
YAF.Providers.Profile.YafProfileProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection collection) +198[/b]
System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider) +404
System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName) +117
System.Configuration.SettingsBase.get_Item(String propertyName) +89
System.Web.Profile.ProfileBase.GetInternal(String propertyName) +36
System.Web.Profile.ProfileBase.get_Item(String propertyName) +68
System.Web.Profile.ProfileBase.GetPropertyValue(String propertyName) +4
ProfileCommon.get_Culture() in C:\Inetpub\wwwroot\TIB\web.config:156
TIB.UI.BasePage.InitializeCulture() in C:\Inetpub\wwwroot\TIB\App_Code\BasePage.vb:10
ASP.default_aspx.__BuildControlTree(default_aspx __ctrl) in C:\Inetpub\wwwroot\TIB\Default.aspx:1
ASP.default_aspx.FrameworkInitialize() in C:\Inetpub\wwwroot\TIB\Default.aspx.vb:912308
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +38
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +29
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
It must have something to do with the profile provider from YAF that I am using.
these are the settings from my web.config:
Code:<profile defaultProvider="TIB_ProfileProvider" inherits="YAF.Classes.Utils.YafUserProfile">
<providers>
<add name="TIB_ProfileProvider" connectionStringName="TIBSite" applicationName="YetAnotherForum" type="YAF.Providers.Profile.YafProfileProvider"></add>
</providers>
and for anonymous access:
Code:<anonymousIdentification
enabled="true"
cookieName=".ASPXANONYMOUS"
cookieTimeout="100000"
cookiePath="/"
cookieRequireSSL="false"
cookieSlidingExpiration="true"
cookieProtection="None"
domain="" />
IIS6 is configured to use anonymous identification.
I don't know how to solve this, besides removing the YAF profile provider and using a default one. This does not produce this error.
This is frustrating and taking too much time to solve something this simple.