Jump to content

Recommended Posts

Posted

Only thing I could see was this event

 

Event code: 3005

Event message: An unhandled exception has occurred.

Event time: 31/10/2011 18:39:01

Event time (UTC): 31/10/2011 18:39:01

Event ID: f79ff55f19e54ea88962a8979938e8dc

Event sequence: 135

Event occurrence: 1

Event detail code: 0

 

Application information:

Application domain: /LM/W3SVC/1/ROOT/HAP7-1-129645574312551208

Trust level: Full

Application Virtual Path: /HAP7

Application Path: D:\Program Files\HAP7\

Machine name: MAP-WEBS-01

 

Process information:

Process ID: 48988

Process name: w3wp.exe

Account name: IIS APPPOOL\HAP7AppPool

 

Exception information:

Exception type: NullReferenceException

Exception message: Object reference not set to an instance of an object.

at HAP.Web.Setup.newou_Click(Object sender, EventArgs e)

at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

 

Request information:

Request URL: http://localhost/HAP7/setup.aspx

Request path: /HAP7/setup.aspx

User host address: ::1

User:

Is authenticated: False

Authentication Type:

Thread account name: IIS APPPOOL\HAP7AppPool

 

Thread information:

Thread ID: 14

Thread account name: IIS APPPOOL\HAP7AppPool

Is impersonating: False

Stack trace: at HAP.Web.Setup.newou_Click(Object sender, EventArgs e)

at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Posted

Hi, The 7.6 fixed the issue and I have been able to set it up for the Forest level, however I cannot login as a student. I have tried adding the student to a security group on the forest level, and tried both student\username and [email protected].

 

I get this error,

 

Logon failure: unknown user name or bad password.

 

Stack Trace,

 

[DirectoryServicesCOMException (0x8007052e): Logon failure: unknown user name or bad password.

]

System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +781

System.DirectoryServices.DirectoryEntry.Bind() +44

System.DirectoryServices.DirectoryEntry.get_AdsObject() +42

System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) +98

System.DirectoryServices.DirectorySearcher.FindOne() +44

HAP.Web.Default.Page_Load(Object sender, EventArgs e) +1281

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

Posted
Ok some slight progress on my issue. I installed V7.5. Got the setup completed - although the AD browser still didnt work, and I had some wierdness with layouts etc - but it at least me complete. I reused the created \appbin\.xml file and then updated to V7.6. All appears to work - as in my admin login does - but the AD browser in the Setup doesnt work still. Im guessing there is something in my AD layout it really doesnt like! What Ive no idea though. Nick - rather than post my AD structure here (obvious reasons why not) can you PM me your email addres and I will email some screenies of it to you to take a look at.
Posted
Hi, The 7.6 fixed the issue and I have been able to set it up for the Forest level, however I cannot login as a student. I have tried adding the student to a security group on the forest level, and tried both student\username and [email protected].

 

I get this error,

 

Logon failure: unknown user name or bad password.

 

Stack Trace,

 

[DirectoryServicesCOMException (0x8007052e): Logon failure: unknown user name or bad password.

]

System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +781

System.DirectoryServices.DirectoryEntry.Bind() +44

System.DirectoryServices.DirectoryEntry.get_AdsObject() +42

System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) +98

System.DirectoryServices.DirectorySearcher.FindOne() +44

HAP.Web.Default.Page_Load(Object sender, EventArgs e) +1281

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

 

The username should be just be the username, no domain\, no @fqdn. The \ will cause issues

Posted

Hi,

 

I am still getting the issue. This is my structure.

 

HAP is hosted on Forest1 (This is my top DC in the forest)

HAP Domain Details are linked to Student (this is the tree off the forest)

 

I think it has something to with the multiple domains, I can create a user on the Forest1 and login perfectly. Do you think the issue is because HAP cannot read down the domain controllers?

 

Craig

  • 2 weeks later...
Posted

Hi Nick

 

Any ideas on my issue? Where could I start to troubleshoot why HAP cant look at my domain structure.

 

DomainName.internal

> Domain Computers

> Domain Controllers

> Domain Groups

> Domain Members

> Domain Services (HAP username is in this OU)

> Domain Users

>> Staff

>> Students

 

HAP user is a Domain Admin

 

As a second query... with the new auth scheme, any way of getting it to play nicely with TMG/ISA for SSO? Thats what I loved about 6!

Posted

Urm... yea it was the setup.aspx page where I was getting the issue with the AD browser. Those DLLs broke something... browsing to setup now gives...

 

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

 

Compiler Error Message: CS1061: 'ASP.setup_aspx' does not contain a definition for 'sg_TextChanged' and no extension method 'sg_TextChanged' accepting a first argument of type 'ASP.setup_aspx' could be found (are you missing a using directive or an assembly reference?)

 

Source Error:

 

 

 

Line 111:

Line 112:

Line 113:

Line 114:

Line 115:

 

 

Source File: d:\Program Files\HAP7\Setup.aspx Line: 113

Posted
Changed the DLLs, and was getting the same error - until replaced the setup.aspx as well. Then - the issue is back as the AD Browser not displaying anything other than the progress loading bar.
Posted

No problem. Got the logger installed. And spotted this one...

 

An error occurred in Home Access Plus+

 

Page: Setup API -> FillNode(DirectoryEntry room)

 

System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

 

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_Name()

at HAP.Web.API.setup.FillNode(DirectoryEntry root)

Message:

An operations error occurred.

 

Stack Trace:

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_Name()

at HAP.Web.API.setup.FillNode(DirectoryEntry root)

 

Will get firebug on my machine now as well...

Posted
Right...im back at the Null Response stage again on the JSON request. The user is a Domain Admin.

 

GetADTreeResult: null

 

Does it matter where in the AD structure the user is?

Doesn't for me, as the domain administrator account, and my own personal account are in two separate OUs. Both are Domain Admins.

Posted

This is a common issue, but I don't know how others have fixed the issue. I keep adjusting the code to allow for errors when loading the AD Structure.

 

Can you try:

  1. Download the attached DLL and ASPX file
  2. From codeplex download the HAP+ Event Log Setup and run it
  3. Try the setup page again
  4. Have a look in the HAP+ Event Viewer Log in the Event Viewer for a reason why it failed

Posted

An error occurred in Home Access Plus+

 

Page: Setup API -> FillNode(DirectoryEntry room)

 

System.DirectoryServices.DirectoryServicesCOMException (0x80072020): An operations error occurred.

 

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_Name()

at HAP.Web.API.setup.FillNode(DirectoryEntry root) in N:\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\API\Setup.cs:line 383

Message:

An operations error occurred.

 

Stack Trace:

at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

at System.DirectoryServices.DirectoryEntry.Bind()

at System.DirectoryServices.DirectoryEntry.get_Name()

at HAP.Web.API.setup.FillNode(DirectoryEntry root) in N:\Visual Studio 2010\Projects\CHS Extranet\HAP.Web\API\Setup.cs:line 383

Posted

Doesnt look like the double hop issue as im seeing

 

A logon was attempted using explicit credentials.

 

Subject:

Security ID: IIS APPPOOL\HAP7AppPool

Account Name: HAP7AppPool

Account Domain: IIS APPPOOL

Logon ID: 0x2889793

Logon GUID: {00000000-0000-0000-0000-000000000000}

 

Account Whose Credentials Were Used:

Account Name: wilkies

Account Domain:

Logon GUID: {00000000-0000-0000-0000-000000000000}

 

Target Server:

Target Server Name: DC-HERE.map.internal

Additional Information: DC-HERE.map.internal

 

Process Information:

Process ID: 0x18b7c

Process Name: C:\Windows\SysWOW64\inetsrv\w3wp.exe

 

Network Information:

Network Address: -

Port: -

 

This event is generated when a process attempts to log on an account by explicitly specifying that account’s credentials. This most commonly occurs in batch-type configurations such as scheduled tasks, or when using the RUNAS command.

 

And no errors at the same time as the previous entry from the HAP event log

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