Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationTwo strange AD errorsTwo strange AD errors
Previous
 
Next
New Post
3/26/2008 11:02 PM
 

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

 
New Post
3/27/2008 12:42 AM
 

Download the 01.00.03 version. I'm pretty sure these errors are the result of an incorrectly placed Try/Catch statement in the code.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationTwo strange AD errorsTwo strange AD errors


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out