Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

object not set to an instance of an object #4

Open
jtrich opened this issue Aug 14, 2018 · 2 comments
Open

object not set to an instance of an object #4

jtrich opened this issue Aug 14, 2018 · 2 comments

Comments

@jtrich
Copy link

jtrich commented Aug 14, 2018

great tool! when I run on 2012 r2 I get the dreaded object not set to an instance of an object (null reference)
Review

Selected Site : My Site/MyApp
Sitename : My Site
Application name : MyApp
Application Pool : MyAppAppPool
Anonymous authentication is disabled...(RECOMMENDED)
Basic authentication is disabled...(RECOMMENDED)
Digest authentication is disabled...(RECOMMENDED)
ASP.NET Impersonation is enabled...(RECOMMENDED)
Windows authentication is enabled...(RECOMMENDED)
Negotiate is on priority...(RECOMMENDED)
You are using a custom identity : qa\MyAppUA
We should have useAppPoolCredentials set to true...
useAppPoolCredentials set to true...(RECOMMENDED)
useKernelMode set to true..(RECOMMENDED)

Fetching SPNs for the account set for Application pool identity..

Below are the SPNs set for the Custom account: qa\MyAppUA

Error

System.NullReferenceException: Object reference not set to an instance of an object.
at KerberosConfigMgr.Kerberos.ListSPN(String ServiceType, Boolean isUsingAppPool, String AccountName)

Error

System.NullReferenceException: Object reference not set to an instance of an object.
at KerberosConfigMgr.Kerberos.ListSPN(String ServiceType, Boolean isUsingAppPool, String AccountName)

No SPNs set for this account

Delegation Settings:

==================================================

The hostname you entered is : AppHost.qa.lan

SPNs needed for kerberos to work:

HTTP/AppHost.qa.lan

SPNs should be on account:qa\MyAppua

Required Delegation Settings

Delegation is not set.
We need to configure Either Constrained or Unconstrained Delegation.

Something is off and the error handler is not catching it. I ran as a domain admin and it did not matter.

@cmv131
Copy link

cmv131 commented Oct 16, 2018

Same issue here

@klimowskict
Copy link

Is there a fix for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants