StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Authentication ExceptionExpand / Collapse
Author
Message
Posted 12/22/2006 12:28:04 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:36:26 PM
Posts: 371, Visits: 1,869
Any ideas on what is causing the attached exception?

-Larry

  Post Attachments 
SFLoginError.png (37 views, 36.70 KB)

Post #5449
Posted 12/22/2006 2:10:52 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:36:26 PM
Posts: 371, Visits: 1,869

After a little time in debug I’ve found that the problem appears to be caused by Active Directory Services being unable to obtain information on a child domain. This prevents any of the users in my domain from accessing my application. I’m not sure just why AD services can’t obtain the information on the other domain but it could be a domain controller or network problem.  Unfortunately I work in an environment with multiple domains and only have control over the local domain. Having SF security depend on what’s going on in those other domains is not a long term solution. To get around the issue for the moment I’ve modified Login.vb as listed below to skip any child domains causing problems. Also the domain structure at the County doesn’t go beyond the first child so I left out the recursive step. At a minimum I’d like to see something like this added to the framework. However an even better solution would be to add the capability to configure what domains should be searched.

 

-Larry

 

''' <summary>

    ''' Recursive method used to collect child domains

    ''' </summary>

    ''' <param name="ParentDomain"></param>

    ''' <param name="List"></param>

    ''' <remarks></remarks>

    Private Shared Sub AddChildDomainsToList(ByVal ParentDomain As Domain, ByVal List As List(Of String))

        '-- Establish locals

        'Dim loChild As Domain

 

        '-- Cycle through the children

 

        '—Added code

        For i As Integer = 0 To ParentDomain.Children.Count - 1

            Try

                List.Add(ParentDomain.Children.Item(i).Name)

            Catch ex As Exception

                Continue For

            End Try

        Next

 

        '—Original code

        'For Each loChild In ParentDomain.Children

        '    '-- Add to list

        '    List.Add(loChild.Name)

 

        '    '-- Recursively call child's children

        '    AddChildDomainsToList(loChild, List)

        'Next

       

    End Sub

Post #5450
Posted 01/02/2007 1:52:54 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 1:09:23 PM
Posts: 2,686, Visits: 1,888
Thanks for the heads up on that, Larry.  I'll test that on our network with some of the child domain controlers down and come up with a solid fix.


www.bungie.net
Post #5505
Posted 08/07/2007 10:29:00 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:36:26 PM
Posts: 371, Visits: 1,869
We're you guys able to reproduce this? The same issue prevented users from logging into an application for a couple of hours yesterday.

-Larry

Post #10750
Posted 08/07/2007 10:31:11 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:36:26 PM
Posts: 371, Visits: 1,869
I should add that it was an application where I didn't modify the framework to skip a domain if it couldn't be reached.
Post #10751
Posted 11/20/2007 1:46:56 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: Yesterday @ 5:36:26 PM
Posts: 371, Visits: 1,869
This issue still exists in v 1.61. Any chance of getting a fix in 1.62?

_larry

Post #12807
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 8:24am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.141. 11 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.