Has anyone tried to back up a SharePoint web application using forms based authentication (FBA) to another SharePoint server?
We are facing some issues in backup\restore of FBA based sharepoint web applications:
- We have a server where we have created a web application based on FBA, it has an FBA database as well.
- We have backed up the FBA database to the new server.
- We tried to backup the web application and restore it to a new server.
- We changed the authentication settings and made web.config entries for FBA.
- When accessing the site, I was able to login to the site and see all the content. But when I use this function in the object model it always returns false no matter which user I logged in to:
SPContext.Current.Web.DoesUserHavePermissions(
SPContext.Current.Web.RoleDefinitions["Read "].BasePermissions).ToString()
Has anyone faced issues like this before?
Has anyone tried to back up an FBA based Web Application?
We did the restore to a different farm that resides in a different domain - will this have any effect?