Hi Friends,
we are working on asp.net 4.0 , windows server2008 R2 and we configure our application in IIS7 with windows authentication,
From one week we are faceing this same issue EventLogProvider exception. when we restart the system it is working.
we have googled the issues and we have also given all related rejoin policy.please Check the below exception.
The following exception was thrown by the web event provider 'EventLogProvider' in the application '/XXXX' (in an application lifetime a maximum of one exception will be logged per provider instance):
System.SystemException: The trust relationship between this workstation and the primary domain failed.
at System.Security.Principal.SecurityIdentifier.TranslateToNTAccounts(IdentityReferenceCollection sourceSids, Boolean& someFailed)
at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)
at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)
at System.Security.Principal.WindowsIdentity.GetName()
at System.Security.Principal.WindowsIdentity.get_Name()
at System.Web.Management.EventLogWebEventProvider.AddWebRequestInformationDataFields(ArrayList dataFields, WebRequestInformation reqInfo)
at System.Web.Management.EventLogWebEventProvider.ProcessEvent(WebBaseEvent eventRaised)
It will be helpful for use if any one give solution.
Thanks
seena.A