Installation Errors

Jun 6, 2011 at 12:57 PM

I hit an error when AD setup page loads (http://localhost/setup/active_directory.aspx)

[IdentityNotMappedException: Some or all identity references could not be translated.]
System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess) +7608208
System.Security.Principal.SecurityIdentifier.Translate(Type targetType) +100
setup_active_directory.Groups() in c:\inetpub\wwwroot\setup\active_directory.aspx.cs:40
setup_active_directory.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\setup\active_directory.aspx.cs:26
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Jun 7, 2011 at 4:40 PM

I am sorry, but I have never seen that error before?  Are you running AD?  Is your domain controller set correctly in the settings?  Does the account that it is using have proper AD rights?

Jun 7, 2011 at 5:04 PM

No, the server (nor the user) does not participate in any AD.  This error occurs before I am able to adjust any settings on this page.

Jun 7, 2011 at 6:09 PM

Sorry, this program requires AD for most features.  I found this: 

IdentityNotMappedException is returned when a SecurityIdentifier can not be mapped, e.g when a SID can not be translated to an NT user. This is usually cauced by deleted users or no access to the domain controller who performs the translation.

Another thing you might try is changing the App Pool account in IIS

Jun 8, 2011 at 7:01 PM

I changed the app pool account to NetworkService and that let me load the settings page at least.  Our DC/AD server is still in testing as well and we don't have access to them so maybe we should just try something else until those are in place.