Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

FBA login woes

  Asked By: Madeline    Date: Feb 19    Category: Sharepoint    Views: 868

I'm following this tutorial:
www.andrewconnell.com/.../HowToConfigPublishingSiteWithDualAuth\
ProvidersAndAnonAccess.aspx

to set up FBA on a test box (a virtual PC image).

If I allow anonymous access on the internet site, and log in via the
"sign in" button, everything works dandy. If I disallow anonymous
access, I get a "page can not load" error, and the url it's trying to
go to looks like an infinite loop. I've read the stuff online about
taking out the xmlns declaration in the web.config. But, that's not in
there for me. I've also seen the article about putting the
applicationpages dll in the GAC - no joy there either. Anyone have any
other suggestions as to how to make FBA work without allowing
anonymous access? I've even tried making the login page a plain jane
html page, but that doesn't solve it. So, it would appear that
something funky is going on.

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Faith Delgado     Answered On: Feb 19

You must enable anonymous  access or the user would have to login  to see
the login page. Obviously, that's not possible with FBA.

 
Answer #2    Answered By: Amrita Durgude     Answered On: Feb 19

The trick is that you have to enable anonymous  access for the IIS
server, but not anonymous access  for the web  application or site  in
SharePoint. The easiest way to do it for IIS is to check the anonymous
access checkbox in the Authentication provider page  for the Web
Application in Central Administration. Then go to your Site and in Site
Settings click on Advanced permissions. Go to the Settings menu and
open up the Anonymous Access menu entry. Make sure anonymous access is
set to Nothing. When you next come to the site you will be prompted for
FBA login  immediately and there will be no SignIn link.

 
Didn't find what you were looking for? Find more on FBA login woes Or get search suggestion and latest updates.




Tagged: