Hi @niusha tahmasebi ,
Please check as follows:
- Make sure the membership config in the web.config not changed(machine.config and SecurityTokenServiceApplication)
- Please ensure the permissions for the web app pool user to the membership database not changed (whether have db-owner permissions to the database).
- Check the name of the membership provider in the SharePoint Web Application settings, see if it is no longer matches the name of the membership provider in the web.config.
Please note If you don’t have access to the machine.config, or prefer not to edit it, you will have to make all of these changes to the following web.config files:
- SharePoint Central Administration
- SecurityTokenServiceApplication
- Every SharePoint web application you create that you would like to access via FBA
If the issue still exists, please follow articles below step by step:
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.