RE: "A Directory Service error has occurred"(Solution)
- From: Eduardo Fonseca B. <EduardoFonsecaB@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 11:09:28 -0800
I have found the sollution to this error.
The error with the message "A directory service error has occurred" happens
when the date of the Active Directory client computers is newer than the
current date of the Active Directory server, in the windows event viewer on
the client computer you will se a message indicating that the group policy
could no be determined it might also say that the access to the server was
denied.
If you get the directory service error message the recomendation is to set
the date and time correctly on every computer on the network.
The error dissaapears when the Active Directory refreshes the date and time
on the computers on the network, but if there is a problem trying to update
the date and time automatically by the AD, you will have to do it manually
and check why the
date and time could not be updated.
--
Eduardo Fonseca
"Eduardo Fonseca B." wrote:
I have a problem with an application using Authorization Manager..
The application most of the time works fine, but there are certain occasions
when an Exception is thrown when trying to check permission against the Azman.
The error we catch is "A directory Service error has occurred".
I've logged the Exception stack trace and the error is thrown from the
Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.Initialize
method.
But the COMException is
"The specified server cannot perform the requested operation"
The full stack trace with InnerExceptions is:
Exception type: OtdException
Exception message: The specified server cannot perform the requested
operation.
Stack trace:
Server stack trace:
at
sugef.sicveca.procesosNegocio.UtilitarioManejoArchivosTemporales.obtenerRuta
TemporalCola()
at
sugef.sicveca.procesosNegocio.OlnAdministradorArchivoTemporal.obtenerRutaTem
poralCola(String v_strEntidad, String v_strClaseDato)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(Met
hodBase mb, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessa
ge msg, Int32 methodPtr, Boolean fExecuteInContext)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
sugef.sicveca.interfaces.procesosNegocio.IAdministradorArchivoTemporal.obten
erRutaTemporalCola(String v_strEntidad, String v_strClaseDato)
at sugef.sicveca.validacion.HiloValidador.ObtieneClaseDatoCola()
Inner Exception
Exception type: COMException
Exception message: The specified server cannot perform the requested
operation.
Stack trace: at
Microsoft.Interop.Security.AzRoles.AzAuthorizationStoreClass.Initialize(Int3
2 lFlags, String bstrPolicyURL, Object varReserved)
at
Microsoft.ApplicationBlocks.Security.Authorization.AzManWebProvider.GetClien
tContext(IIdentity identity, String applicationName, IAzApplication& azApp)
at
Microsoft.ApplicationBlocks.Security.Authorization.AzManWebProvider.CheckAcc
essOperations(IIdentity identity, String auditIdentifier, String
applicationName, String[] scopes, String[] operations, IDictionary
businessRuleParameters)
Is there something I can do to solve the problem.
--
Eduardo Fonseca
- Prev by Date: Re: Hosted WinForms Controls and CAS
- Previous by thread: Hosted WinForms Controls and CAS
- Index(es):
Relevant Pages
|