Jump to content

Recommended Posts

Posted

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

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:

Posted

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

Posted (edited)

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.

 

	
		
			
			
		
	

 

could this be involved?

Edited by safcphil
Posted

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?

Posted
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.
Posted

[[ATTACH=CONFIG]13227[/ATTACH]

 

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:

Posted

Are you using the Help Desk, it looks like something in the helpdesk ticket log is causing an issue where the user doesn't exist in AD.

 

OPen ~/app_data/tickets.xml (I think, may be helpdesk.xml) with notepad, look at the usernames in there for any username that may not exist

Posted (edited)
Yes they have mapped home drives and up until a few days ago all admins were able to logon with no issues Edited by hdevine643
Posted

Hello,

 

Yes there was a user account in the tickets file which no longer exists. I have deleted and all is working again.

 

Thanks for all your help.

Posted

No problem, I'm glad I spotted it was doing something with the help desk.

 

I'll add some code in HAP+ so this doesn't happen again, will in the v8 release

Posted
Are you using the Help Desk, it looks like something in the helpdesk ticket log is causing an issue where the user doesn't exist in AD.

 

OPen ~/app_data/tickets.xml (I think, may be helpdesk.xml) with notepad, look at the usernames in there for any username that may not exist

 

this worked for me too. thank you

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...