Hi,
It seems to be web.config file issue. You can try referring to the sample which might helpfull:
#Achieving FBA with ADLDS & SharePoint 2010
http://blogs.msdn.com/b/sharepoint__cloud/archive/2011/12/20/achieving-fba-with-adlds-amp-sharepoint-2010.aspx
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.