+ Post New Thread
Results 1 to 12 of 12
Home Access Plus+ Thread, 500 Internal Server Error in Projects:; Hi, I am trying to set up HAP+ on our network using the video as a guide. I am using ...
  1. #1

    Join Date
    Nov 2011
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    500 Internal Server Error

    Hi,

    I am trying to set up HAP+ on our network using the video as a guide. I am using the latest HAP 7.6 on a 2008 R2 server running IIS 7.5. I had no indicated errors on installation and configuration. AD Authentication seems to be working fine i.e. when I try to logon to HAP with an invalid user, HAP indicates such on the logon screen, when I try to logon with a valid user, I get presented with the HTTP 500 Internal Server Error page. Any idea's anyone.... what to check?

    Thanks

    Artie

  2. #2

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,676
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    Try running it from the server, should give you more info

  3. #3

    Join Date
    Nov 2011
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks,

    It was the dreaded duplicate mime type svg in web.config.

    500 Error gone away, now I get (with a valid user)

    Server Error in '/hap' Application.
    --------------------------------------------------------------------------------

    Logon failure: unknown user name or bad password.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.DirectoryServices.DirectoryServicesCOMExcep tion: Logon failure: unknown user name or bad password.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [DirectoryServicesCOMException (0x8007052e): Logon failure: unknown user name or bad password.
    ]
    System.DirectoryServices.DirectoryEntry.Bind(Boole an throwIfFail) +781
    System.DirectoryServices.DirectoryEntry.Bind() +44
    System.DirectoryServices.DirectoryEntry.get_AdsObj ect() +42
    System.DirectoryServices.PropertyValueCollection.P opulateList() +29
    System.DirectoryServices.PropertyValueCollection.. ctor(DirectoryEntry entry, String propertyName) +119
    System.DirectoryServices.PropertyCollection.get_It em(String propertyName) +163
    System.DirectoryServices.AccountManagement.Princip alContext.DoLDAPDirectoryInitNoContainer() +436
    System.DirectoryServices.AccountManagement.Princip alContext.DoDomainInit() +51
    System.DirectoryServices.AccountManagement.Princip alContext.Initialize() +141
    System.DirectoryServices.AccountManagement.Princip alContext.get_QueryCtx() +42
    System.DirectoryServices.AccountManagement.Princip al.FindByIdentityWithTypeHelper(PrincipalContext context, Type principalType, Nullable`1 identityType, String identityValue, DateTime refDate) +27
    System.DirectoryServices.AccountManagement.UserPri ncipal.FindByIdentity(PrincipalContext context, String identityValue) +95
    HAP.AD.User.get_UserPa() +116
    HAP.AD.User..ctor(String username) +113
    HAP.AD.MembershipProvider.GetUser(String username, Boolean userIsOnline) +35
    System.Web.Security.Membership.GetUser(String username, Boolean userIsOnline) +175
    HAP.Web.Controls.Page.get_ADUser() +39
    HAP.Web.Default.Page_Load(Object sender, EventArgs e) +1170
    System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e) +25
    System.Web.UI.Control.LoadRecursive() +71
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3064


    Thanks

    Artie

  4. #4

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,676
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    What username are you trying to log on with? Usually that error means that it either can't connect to AD to get the user, or the username/password is wrong

  5. #5

    Join Date
    Nov 2011
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    The Username that I'm using is 'teststaff'. I know that the user exits and the password is valid. I know that my connection to AD is fine... it worked during setup.

  6. #6

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,676
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    Do you have sub domains/sub forests?

  7. #7

    Join Date
    Nov 2011
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    no... we just have one domain 'tjwa.local'

  8. #8

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,676
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    Which user did you put into the config?

  9. #9

    Join Date
    Nov 2011
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    A user that has access to AD... is that what you mean?

  10. #10

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,676
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    On the setup page, what user did you use to connect to AD? It needs to really be an administrator

  11. #11

    Join Date
    Nov 2011
    Posts
    13
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    It's not an Administrator user, but a user that can access AD. It is the same user that I use for my Moodle AD authentication and that works. Does the user need to be in Administrators or Domain Admins?

    Artie

  12. #12

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,676
    Thank Post
    43
    Thanked 557 Times in 465 Posts
    Rep Power
    122
    It unfortunately, needs to be a domain admin user. it's only used for AD access outside of the user's logon, and really only for logging on and user authentication



SHARE:
+ Post New Thread

Similar Threads

  1. internal server error
    By dezt in forum Home Access Plus+
    Replies: 1
    Last Post: 21st September 2011, 05:52 PM
  2. MRBS 500 Internal Server error
    By Rhys in forum Windows Server 2000/2003
    Replies: 1
    Last Post: 10th June 2010, 03:23 AM
  3. 500 Internal Server Error?
    By tea_and_toast in forum EduGeek Joomla 1.0 Package
    Replies: 10
    Last Post: 28th September 2009, 08:26 PM
  4. 500 internal server error
    By sayf00 in forum EduGeek Joomla 1.0 Package
    Replies: 5
    Last Post: 16th February 2008, 02:47 PM
  5. Replies: 6
    Last Post: 26th February 2007, 11:21 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •