SharePoint Thoughts

Ramblings About SharePoint and Related Technologies

Forms Based Authentication not Working When Following MSDN Article

This is in reference to the following article:

Forms Authentication in SharePoint Products and Technologies (Part 1): Introduction
http://msdn2.microsoft.com/en-us/library/bb975136.aspx

A section of this article is incorrect, it tells you to add the following code to the connectionString section of the Web.Config

  1. <connectionStrings>

  2. <add name=”fbaSQL”

  3. value=”server=spdb;database=aspnetdb;Trusted_Connection=true” />

  4. </connectionStrings>

This is incorrect, the spot where it says value, should be connectionString as in the following codeblock

  1. <connectionStrings>

  2. <add name=”fbaSQL”

  3. connectionString=”server=spdb;database=aspnetdb;Trusted_Connection=true” />

  4. </connectionStrings>

Change this, and you’ll mysteriously find forms authentication working correctly, if all the other options are configured correctly.

No comments

No comments yet. Be the first.

Leave a reply