Quantcast
Channel: SharePoint 2013 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 21070

sharepoint foundation 2013 with ADLDS with FBA ON HNSC

$
0
0

Hello,

I´ve already ask this on:

http://social.technet.microsoft.com/Forums/en-US/sharepointadmin/thread/6f29568a-5a1b-429c-aba0-484185612eb1

but it's not clear on Windows server 2012  there is an error on UMLS:

"An exception occurred in Forms claim provider when calling SPClaimProvider.FillSearch(): Common Language Runtime detected an invalid program.."

when try to use picker on the administration web application.

Also on a site in the web application when trying to open the web page on UMLS appear:

first:

Application error when access /, Error=Common Language Runtime detectó un programa no válido.   en System.Web.Security.Membership.Initialize()     en System.Web.Security.Membership.get_Provider()     en Microsoft.SharePoint.ApplicationRuntime.SPHeaderManager.AddIsapiHeaders(HttpContext context, String encodedUrl, NameValueCollection headers)     en Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.PreRequestExecuteAppHandler(Object oSender, EventArgs ea)     en System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    en System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously

later:

System.UnauthorizedAccessException: Acceso denegado. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), StackTrace:   
 at Microsoft.SharePoint.SPContext.get_ListId()    
 at Microsoft.SharePoint.SPContext.get_List()    
 at Microsoft.SharePoint.WebControls.ScriptLink.InitJs_Register(Page page)    
 at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)    
 at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)    
 at Microsoft.SharePoint.WebControls.ScriptLink.Register(String uiVersion, Control ctrl, Page page, String name, Boolean localizable, Boolean defer)    
 at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer)    
 at Microsoft.SharePoint.WebControls.ScriptLink.GetOnDemandScriptKey(String strKey, String strFile, Boolean registerDependencies, Control ctrl, Page page)    
 at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
 at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Page page, String strFile, Boolean localizable)    
 at Microsoft.SharePoint.WebControls.ScriptLink.RegisterForControl(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, Boolean injectNoDefer, Boolean controlRegistration, Boolean loadInlineLast, Boolean ignoreFileNotFound)    
 at Microsoft.SharePoint.WebControls.ScriptLink.Register(Control ctrl, Page page, String name, Boolean localizable, Boolean defer, Boolean loadAfterUI, String language, String uiVersion, String ctag)    
 at Microsoft.SharePoint.WebControls.ScriptLink.RegisterOnDemand(Control ctrl, Page page, String strKey, String strFile, Boolean localizable)    
 at Microsoft.SharePoint.WebControls.ScriptLink.OnLoad(EventArgs e)    
 at System.Web.UI.Control.LoadRecursive()    
 at System.Web.UI.Control.LoadRecursive()    
 at System.Web.UI.Control.LoadRecursive()    
 at System.Web.UI.Control.LoadRecursive()    
 at System.Web.UI.Control.LoadRecursive()    
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
 at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
 at System.Web.UI.Page.ProcessRequest()    
 at System.Web.UI.Page.ProcessRequest(HttpContext context)    
 at System.Web.HttpServerUtility.ExecuteInternal(IHttpHandler handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride)    
 at System.Web.HttpServerUtility.Execute(String path, TextWriter writer, Boolean preserveForm)    
 at System.Web.HttpServerUtility.Transfer(String path)    
 at Microsoft.SharePoint.Utilities.SPUtility.TransferToErrorPage(String message, String linkText, String linkUrl)    
 at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorHandler(HttpApplication app, Boolean errorIsOnErrorPage)    
 at Microsoft.SharePoint.ApplicationRuntime.SPRequestModule.ErrorAppHandler(Object oSender, EventArgs ea)    
 at System.Web.HttpApplication.RaiseOnError()    
 at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)    
 at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)    
 at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)    
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
 at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)    
 at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)    
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)    
 at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

the difference with my previous post is that i´m using HNSC web App.

enviroment and settings:

server 2012 Datacenter Spanish with sharepoint foundation 2013 english

ADLDS on a windows server 2008 R2 I´m able to bind with ldp.exe from the sharepoint machine

configuration:

webapplication:

<configuration><SharePoint><PeoplePickerWildcards><clear /><add key="AspNetSqlMembershipProvider" value="%" /><add key="FabrikamRole" value="*" /><add key="FabrikamMembership" value="*" /></PeoplePickerWildcards></SharePoint><system.web><membership defaultProvider="i"><providers><add name="i" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthMembershipProvider,
           Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /><add name="FabrikamMembership" type="Microsoft.Office.Server.Security.LdapMembershipProvider,
           Microsoft.Office.Server, 		Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" 
           server="vmdc1.net.procbel.com" port="50000" useSSL="false"
           userDNAttribute="distinguishedName"
           useDNAttribute="true"
           userNameAttribute="mail"
           userContainer="CN=SPDev,DC=Procbel,DC=dev"
           userObjectClass="user"
           userFilter="(ObjectClass=user)"
           scope="Subtree"
           otherRequiredUserAttributes="sn,givenname,cn" /></providers></membership><roleManager defaultProvider="c" enabled="true" cacheRolesInCookie="false"><providers><add name="c" type="Microsoft.SharePoint.Administration.Claims.SPClaimsAuthRoleProvider,
           Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" /><add name="FabrikamRole" type="Microsoft.Office.Server.Security.LdapRoleProvider,
           Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
           server="vmdc1.net.procbel.com" port="50000" useSSL="false"
           enableSearchMethods="true"
           groupContainer="CN=SPDev,DC=Procbel,DC=dev"
           groupNameAttribute="cn"
           groupNameAlternateSearchAttribute="cn"
           groupMemberAttribute="member"
           userNameAttribute="mail"
           dnAttribute="distinguishedName"
           useUserDNAttribute="true"
           scope="Subtree"
           userFilter="&amp;(objectClass=user)(objectCategory=person)"
           groupFilter="&amp;(objectCategory=Group)(objectClass=group)" /></providers></roleManager></system.web></configuration>

security token web app:

<configuration><system.web><membership><providers><add name="FabrikamMembership"
                    type="Microsoft.Office.Server.Security.LdapMembershipProvider,
                    Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
                    server="vmdc1.net.procbel.com"
                    port="50000"
                    useSSL="false"
                    enableSearchMethods="true" 
                    userDNAttribute="distinguishedName"
                    userNameAttribute="mail"
                    userContainer="CN=SPDev,DC=Procbel,DC=dev"
                    userObjectClass="user"
                    userFilter="(ObjectClass=*)"
                    scope="Subtree"
                    otherRequiredUserAttributes="sn,givenname,cn" /></providers></membership><roleManager enabled="true"><providers><add name="FabrikamRole"
                    type="Microsoft.Office.Server.Security.LdapRoleProvider,
                    Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
                    server="vmdc1.net.procbel.com"
                    port="50000"
                    useSSL="false"
                    enableSearchMethods="true" 
                    groupContainer="CN=SPDev,DC=Procbel,DC=dev"
                    groupNameAttribute="cn"
                    groupNameAlternateSearchAttribute="cn"
                    groupMemberAttribute="member"
                    userNameAttribute="mail"
                    dnAttribute="distinguishedName"
                    useUserDNAttribute="true"
                    userFilter="&amp;(objectClass=user)(objectCategory=person)"
                    groupFilter="&amp;(objectCategory=Group)(objectClass=group)"
                    scope="Subtree" /></providers></roleManager></system.web></configuration>

central admin:

<configuration><SharePoint><PeoplePickerWildcards><clear /><add key="AspNetSqlMembershipProvider" value="%" /><add key="FabrikamRole" value="*" /><add key="FabrikamMembership" value="*" /></PeoplePickerWildcards></SharePoint><system.web><roleManager><providers><add name="FabrikamRole" type="Microsoft.Office.Server.Security.LdapRoleProvider,
           Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
           server="vmdc1.net.procbel.com" port="50000" useSSL="false"
           enableSearchMethods="true"
           groupContainer="CN=SPDev,DC=Procbel,DC=dev"
           groupNameAttribute="cn"
           groupNameAlternateSearchAttribute="cn"
           groupMemberAttribute="member"
           userNameAttribute="mail"
           dnAttribute="distinguishedName"
           useUserDNAttribute="true"
           scope="Subtree"
           userFilter="&amp;(objectClass=user)(objectCategory=person)"
           groupFilter="&amp;(objectCategory=Group)(objectClass=group)" /></providers></roleManager><membership><providers><add name="FabrikamMembership" type="Microsoft.Office.Server.Security.LdapMembershipProvider,
           Microsoft.Office.Server, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
           server="vmdc1.net.procbel.com" port="50000" useSSL="false"
           userDNAttribute="distinguishedName"
           useDNAttribute="true"
           userNameAttribute="mail"
           userContainer="CN=SPDev,DC=Procbel,DC=dev"
           userObjectClass="user"
           userFilter="(ObjectClass=user)"
           scope="Subtree"
           otherRequiredUserAttributes="sn,givenname,cn" /></providers></membership></system.web></configuration>

I follow this for configuration:

http://sharepoint.nauplius.net/p/sharepoint-2010-and-active-directory.html

Please help, This Should work, i will need help about how to debug this errrors perhaps i will need new tools?

Thanks


Viewing all articles
Browse latest Browse all 21070

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>