403 forbidden error while trying to access custom login page of a SharePoint 2010 application
-
mercredi 30 mai 2012 08:15
We are currently trying to run a .wsp solution with Sharepoint 2010 and are encountering a blocking issue :
The web application running the solution is configured as FBA with a custom RoleProvider and the System.Web.Security.ActiveDirectoryMembershipProvider.
web.config files of the central administration, the web application and the securityTokenService have all 3 been configured in order to use those providers. We are using a custom LoginPage wich is also configured as the connection page of the web application.The issue is that when trying to access this page, we now get a "403 Forbidden" error.
I want to emphasize the fact that this issue appeared spontaniously. Right after the deployment of the wsp, the access to this page was working perfectly, and without any changes from us, the issue appeared about 1 hour later.
We've checked the autorisation for users on the web application and even put them as Full control, but still get the error anyway.
If you have any thought about what could be the problem...
Thank you
PS : obvisously, feel free to ask for any further information/detail, i may have not thought about some crucial points
EDIT :
We have been able to identify what step causes the issue. The '403 forbidden error' appears right after the creation of a root webSite on the web application.
Still can't figure out why though
- Modifié bzhvarik mercredi 30 mai 2012 14:03
Toutes les réponses
-
lundi 4 juin 2012 05:53
Hi,
From your description, I suggest you modify the code to get the redirection url from SPContext.Site.URL instead of hardcoding it. This redirect url is required to redirect the user once its authenticated.
More on FBA in SharePoint 2010
Rock Wang
Rock Wang TechNet Community Support
- Marqué comme réponse Rock Wang– MSFT mardi 5 juin 2012 06:40

