I am running DNN480 and AD Provider 102, and have recently started getting two recurring errors in the Log Viewer.
The first one is an "exception has been thrown by the target of an invocation" and the second is "thread was being aborted".
These errors seem to happen periodically - ie a block of them every now and then. Whether this is because it is somehow time-bound, or simply there's some user profiles with issues that happen to be logging in at that time, I'm not sure.
I would appreciate any light that people could shine on this problem.
Here are the details of the errors:
AssemblyVersion: 04.08.00
PortalID: 0
PortalName: TPHS Intranet
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /dnn470/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx
AbsoluteURL: /dnn470/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ce385221-cda6-4ea8-8846-acd7dda7306d
InnerException: Exception has been thrown by the target of an invocation.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DirectoryServices.PropertyValueCollection..ctor
StackTrace:
Message: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Threading.ThreadAbortException: Thread was being aborted. at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) at System.DirectoryServices.PropertyCollection.get_Item(String propertyName) at DotNetNuke.Authentication.ActiveDirectory.ADSI.CrossReferenceCollection..ctor(String UserName, String Password, AuthenticationTypes AuthType) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Configuration..ctor() at DotNetNuke.Authentication.ActiveDirectory.ADSI.Configuration.GetConfig() at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider..ctor() at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) --- End of inner exception stack trace --- at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) at System.Activator.CreateInstance(Type type, Boolean nonPublic) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey) at DotNetNuke.Authentication.ActiveDirectory.AuthenticationProvider.Instance(String AuthenticationTypeName) at DotNetNuke.Authentication.ActiveDirectory.UserController.AddUserRoles(Int32 PortalID, UserInfo AuthenticationUser)
Source:
Server Name: S112PPFILE
AssemblyVersion: 04.08.00
PortalID: 0
PortalName: TPHS Intranet
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /dnn470/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx
AbsoluteURL: /dnn470/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; InfoPath.1)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: a972a228-635b-46bd-a010-4afe3c794390
InnerException: Thread was being aborted.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.DirectoryServices.Interop.IDirectorySearch.GetFirstRow
StackTrace:
Message: System.Threading.ThreadAbortException: Thread was being aborted. at System.DirectoryServices.Interop.UnsafeNativeMethods.IDirectorySearch.GetFirstRow(IntPtr hSearchResult) at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext() at DotNetNuke.Authentication.ActiveDirectory.ADSI.Search.GetEntries() at DotNetNuke.Authentication.ActiveDirectory.ADSI.Domain.PopulateChild(Domain Domain) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Domain..ctor(String Path, String UserName, String Password, AuthenticationTypes AuthenticationType) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Domain.GetDomain(String Path, String UserName, String Password, AuthenticationTypes AuthenticationType) at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetRootDomain() at DotNetNuke.Authentication.ActiveDirectory.ADSI.Utilities.GetGroupEntriesByName(String GroupName) at DotNetNuke.Authentication.ActiveDirectory.ADSI.ADSIProvider.IsAuthenticationMember(GroupInfo AuthenticationGroup, UserInfo AuthenticationUser) at DotNetNuke.Authentication.ActiveDirectory.UserController.AddUserRoles(Int32 PortalID, UserInfo AuthenticationUser)
Source:
Server Name: S112PPFILE