SharePoint 2010 FBA: Security token username and password could not be validated

Note: if you are here looking for a guide on configuring FBA in SharePoint 2010 the following are good resources:

Although there are a number of possible reasons for this error in the Event Log (the obvious being an incorrect username and password), there are some that just baffle you as you believe it “SHOULD” be working and you have been over and over the instructions/walkthroughs.

My experience on this matter after completing yet ANOTHER walkthrough to check was that I hadn’t realised the importance of the “ApplicationName” property. You must set this property to the same value (recommend “/”) in all web.configs, as some providers use this to partition user data for different applications, especially the SQLMembershipProvider!!!

Schoolboy error I know!

Advertisements

2 comments

  1. Michelle · April 6, 2012

    Amazing!

  2. Ulrich · November 12, 2012

    Another thing to check is the Machine Key. Make sure it’s the same across all applications that uses the FBA.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s