Войти

Показать полную графическую версию : Ошибка авторизации через LDAP каталоги.


nerevan
16-11-2012, 11:45
И так, есть рабочая система. Которая использует авторизацию через LDAP каталоги. Не обходимо поднять ее же на другом сервере(тестовом), для того чтоб на нем проводить дороботку сайта. Исходники скопирывали запустили на IIS сайт. Данные из LDAP перенесли с помощью репликации, с последующим запретом на внешнюю репликацию. web.config переписали на подлючение к новому серверу. Но при подключении выдается вот такая ошибка:

The system cannot open the device or file specified. (Exception from HRESULT: 0x8007006E)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: The system cannot open the device or file specified. (Exception from HRESULT: 0x8007006E)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[FileLoadException: The system cannot open the device or file specified. (Exception from HRESULT: 0x8007006E)]
Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.Initialize(Int32 lFlags, String bstrPolicyURL, Object varReserved) +0
Best.SSO.AzMan.Classes.AzManFormsProvider.ConnectToAzManApplication() +100
Best.SSO.AzMan.Classes.AzManFormsProvider.GetRolesForUser(String username) +13
System.Web.Security.RolePrincipal.IsInRole(String role) +182
Sauron.UI.Pages.ListPageBase.CheckSecurity() in D:\Projects\sandbox\Life\Sauron 4.0\Sauron\UI\Pages\ListPageBase.cs:30
Sauron.UI.Pages.ListPageBase.Page_Load(Object sender, EventArgs e) in D:\Projects\sandbox\Life\Sauron 4.0\Sauron\UI\Pages\ListPageBase.cs:20
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +91
Sauron.UI.Pages.PageBase.OnLoad(EventArgs e) in D:\Projects\sandbox\Life\Sauron 4.0\Sauron\UI\Pages\PageBase.cs:87
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

Подскажите в чем может быть проблема?




© OSzone.net 2001-2012