RE: "A Directory Service error has occurred"(Solution)



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
.



Relevant Pages

  • Re: App_data - ASPNETDB.MDF
    ... is only because I want my site work, without exception. ... Server Error in '/' Application. ... serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Win2k3 IIS error "Requested registry access is not allowed"
    ... > I am running Windows 2003 server, IIS 6 and asp.net web app. ... > Exception Details: System.Security.SecurityException: Requested registry ... > System.Diagnostics.EventLog.CreateEventSource(String source, String ...
    (microsoft.public.inetserver.iis)
  • Re: HttpException (0x80004005): Server Too Busy
    ... We try and change the web.config file to use a new .dll file and the server ... An unhandled exception occurred during the execution of the ... An unhandled exception was generated during the execution of the current web ... userToken, String cmd, String currentDir, TempFileCollection tempFiles, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HttpException (0x80004005): Server Too Busy
    ... on the server and only this site has the problem, ... An unhandled exception occurred during the execution of the ... userToken, String cmd, String currentDir, TempFileCollection tempFiles, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Invalid mail attachment
    ... Server was unable to process request. ... Please review the stack trace for more information about ... Exception Details: System.Web.Services.Protocols.SoapException: Server was ... As String, ByVal pStrAttachment As String) As String ...
    (microsoft.public.dotnet.general)