+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 22
Home Access Plus+ Thread, Server Error when Domain Admins logon in Projects:; Hello, Until a few days ago all users could logon to HAP with no issues. Now when any Domain Admin ...
  1. #1

    Join Date
    Oct 2011
    Posts
    16
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Server Error when Domain Admins logon

    Hello,

    Until a few days ago all users could logon to HAP with no issues. Now when any Domain Admin logs on they are presented with the following Server Error
    Server Error when Domain Admins logon-servererror.jpg

    I have checked and at the same time an event is logged in the Event Viewer (Event: 1309, ASP.NET 4.0.30319.0). Any advise would be much appreciated.

    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 29/02/2012 16:00:05
    Event time (UTC): 29/02/2012 16:00:05
    Event ID: 447d2041555b4b76bccf7142178506b0
    Event sequence: 216
    Event occurrence: 3
    Event detail code: 0

    Application information:
    Application domain: /LM/W3SVC/1/ROOT/HAP-1-129750024028686186
    Trust level: Full
    Application Virtual Path: /HAP
    Application Path: C:\inetpub\wwwroot\HAP\
    Machine name: WEBSERV

    Process information:
    Process ID: 7136
    Process name: w3wp.exe
    Account name: IIS APPPOOL\HAP

    Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.
    at HAP.AD.User..ctor(String username)
    at HAP.Web.UserCard.Ticket..ctor(XmlNode node)
    at HAP.Web.Default.Page_Load(Object sender, EventArgs e)
    at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)



    Request information:
    Request URL: https://hap.omaghcbs.org:443/HAP/default.aspx
    Request path: /HAP/default.aspx
    User host address: 85.31.137.11
    User: administrator
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: IIS APPPOOL\HAP

    Thread information:
    Thread ID: 163
    Thread account name: IIS APPPOOL\HAP
    Is impersonating: False
    Stack trace: at HAP.AD.User..ctor(String username)
    at HAP.Web.UserCard.Ticket..ctor(XmlNode node)
    at HAP.Web.Default.Page_Load(Object sender, EventArgs e)
    at System.Web.Util.CalliHelper.EventArgFunctionCaller (IntPtr fp, Object o, Object t, EventArgs e)
    at System.Web.UI.Control.LoadRecursive()
    at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


    Custom event details:

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    Does it happen for Standard Users as well?

  3. #3

    Join Date
    Oct 2011
    Posts
    16
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Staff & Students can still logon with no issues.
    I tested by logging on as a techer, they were able to logon ok, then I added the teacher to the Domain Admins group, logged on again & got the same message. When I removed them from Domain Admins Group & logon they can again access with no errors.

    As far as I can tell the issue just happens for Domain Admins

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    What user are you using to access AD?

  5. #5
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    By that i mean what user did you enter into the AD tab of the configuration page?

  6. #6

    Join Date
    Oct 2011
    Posts
    16
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    administrator

  7. #7

    Join Date
    Feb 2012
    Posts
    47
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    I was getting this error for users who had easylink disabled in the management console. Make sure that your domain admin group doesnt automatically disable easylink access because that will stop you accessing the site. As soon as I ticked the enable easylink box users could log on no problems.

    edit: hmmm Im actually still getting this for my systemadmin account. Only seems to affect the homepage, if you browse straight to the setup or myfiles extensions they load but the homepage generates this error. Thought it was the easylink thing but ive turned it back on now and its still happening. The only other thing I did was try to submit a test ticket on the helpdesk tab, other than that ive changed nothing since it was working.

    created a new user and added them to the domain admin group with easylink enabled. same error. everyone else fine. weird as it was working this morning fine. I edited the web.config file to deny anyone but domain admins access to the setup page as directed.

    Code:
    <location path="setup.aspx">
    		<system.web>
    			<authorization>
    				<allow roles="Domain Admins" />
    				<deny users="*" />
    			</authorization>
    		</system.web>
    	</location>
    could this be involved?
    Last edited by safcphil; 1st March 2012 at 03:39 PM.

  8. #8

    Join Date
    Oct 2011
    Posts
    16
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yes I am able to access Setup page & drives by pasting in the correct url. On the settings page there is a red x against 'Active Directory Connection' The password field is blank, when I enter the administrator password and press save it states that the config is saved but the red x still shows.

    As for Easylink, is this something available in all AD versions or just C2K perhaps?

  9. #9

    Join Date
    Feb 2012
    Posts
    47
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    My active directory connection page is like that as well but obviously its working otherwise no one would be able to log and view their docs not just domain admins.

  10. #10
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    Don't hit save after putting the password in, it should automatically change to a tick by itself

  11. #11
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    Easylink is RM

  12. #12

    Join Date
    Feb 2012
    Posts
    47
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Yeah sorry I keep pressing everyone is using rm.

  13. #13
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    It's a legacy thing. I developed HAP+ after seeing how bad easylink was. I used some of the group names, sorry.

  14. #14

    Join Date
    Oct 2011
    Posts
    16
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hello, just wondering if anyone has any furhter ideas on why my admins are unable to gain access to the main Hap page?

  15. #15
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,351
    Thank Post
    36
    Thanked 465 Times in 397 Posts
    Rep Power
    105
    What is the error they get, can you copy and paste it. Try it from the server, as you may get more information

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 27th February 2012, 11:44 AM
  2. Alert when Domain Admin logs in
    By Alpha2x in forum Windows Server 2008 R2
    Replies: 9
    Last Post: 9th January 2012, 01:55 PM
  3. Internal Server Error When Deleting Links
    By enjay in forum Home Access Plus+
    Replies: 2
    Last Post: 8th November 2011, 03:36 PM
  4. Replies: 3
    Last Post: 1st March 2008, 11:26 AM
  5. Replies: 7
    Last Post: 31st January 2008, 12:17 PM

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
  •