Tag Info

New answers tagged

0

I have not yet registered users in SharePoint 2013. But in SP2010 used to below code for registering the users in FBA, kindly refer if it can be useful to you. MembershipCreateStatus mcs = new MembershipCreateStatus(); SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = ...


0

The url you should use is /_layouts/15/SharePointProject1/Applicationpage1.aspx


0

The right way to do this is to create your own custom login page. It needs to be deployed to the layouts folder, outside of the content database. The simplest and best guide I've found to do this is here: http://blogs.msdn.com/b/pranab/archive/2010/07/26/how-to-create-custom-login-form-for-sharepoint-2010-form-based-authentication.aspx The basic code is: ...


0

Ok, found the problem. In web.config files, I need to add the sql instance. From : <connectionStrings> <add name="fbaSQL" connectionString="server=SQLSERVER;database=MyDB;Trusted_Connection=true" /> </connectionStrings> To : <connectionStrings> <add name="fbaSQL" ...


1

Looks like there's a couple of questions here: Should I still create the IIS 'blank site' ? Or this is not needed anymore ? The IIS blank site is just to be able to populate the aspnetdb with users. You could alternatively use the FBA Pack to add users to the membership database. Should I modify this machine.config to match my SQL_Role and ...


0

My configuration was setup correctly, however it seems this error may just be a simple authentication error. Make sure: The account you're attempting to login with is actually in or below the userContainer (you can also use ldp.exe to confirm container names etc). Ensure the User Policy on your Web Application actually let's you login with an Admin User ...


2

In the end I used this document Configuration Example for OpenLDAP <membership defaultProvider="LdapMembership"> <providers> <add name="LdapMembership" type="Microsoft.Office.Server.Security.LDAPMembershipProvider, Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C" ...



Top 50 recent answers are included