Welcome Guest Search | Active Topics | Log In | Register

Anonymous Authentication is not supported Options · View
Kythor
#1 Posted : Friday, October 03, 2008 2:04:00 PM
Rank: Member


Joined: 7/13/2008
Posts: 15
Location: thuis
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.
Jaben
#2 Posted : Saturday, October 04, 2008 12:51:27 AM

Rank: YAF Head Dude



Joined: 10/10/2004
Posts: 2,950
Location: Honolulu, HI
Remove the anonymous identification section in the web.config. "IIS6 is configured to use anonymous identification" -- no it's not. You are configuring ASP.NET to track users anonymously. You might be confusing IIS6 allowing anonymous ACCESS to your site -- which is obviously required instead of authentication.
"When you are grateful, fear disappears and abundance appears”."

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.086 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET