Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4362
  • Last Modified:

System.Security.Principal.IdentiyNotMappedException: Some or all identity references could not be translated.

I have been getting a certain error in Event Viewer and was hoping someone could shed some light onto a possible cause.

The error reads:

Message:"System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Some or all identity references could not be translated. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:
System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
   at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)
   at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)

Any ideas?

Thanks

itguy
0
Zac Harris
Asked:
Zac Harris
  • 5
  • 2
1 Solution
 
Zac HarrisSystems Administrator Author Commented:
I am thinking this is leaning towards being a security issue with authentication between servers.
0
 
btanExec ConsultantCommented:
the user name for login must have been wrong or non-existence (You may have removed a service account inadvertently? probably need dome reset to default) ..I saw some instance resolving using

> set the identityReferences to this:
  new SecurityIdentifier(identity)
> change UserDomainName  to MachineName:
  string User = System.Environment.UserDomainName + "\\" + user.ToString();
> use LOGON_USER instead of REMOTE_USER :
  Request.ServerVariables["REMOTE_USER"]
0
 
Zac HarrisSystems Administrator Author Commented:
I will check and see if there are any service accounts missing... forgive my Friday mind, but is there a specific prompt I need to run these commands at?

I'm also assuming this needs to be done at an elevated prompt as well?
0
Increase Security & Decrease Risk with NSPM Tools

Analyst firm, Enterprise Management Associates (EMA) reveals significant benefits to enterprises when using Network Security Policy Management (NSPM) solutions, while organizations without, experienced issues including non standard security policies and failed cloud migrations

 
btanExec ConsultantCommented:
probably is to check all default account in the appl services you are running, there may be some other leading event on logon attempt even before this error in the event viewer - best check with apps team on the logon account used. Some may impersonate the service account as perm account to perform certain task like ldap search etc

elevated account indeed but first is to check the valid account is used and then its privileges later. the errors tend to indicate issue with account instead of privileges...maybe look at all privileged account later
0
 
Zac HarrisSystems Administrator Author Commented:
I haven't forgotten about this question. I am working with some of our developers to understand the errors I am getting.
0
 
Zac HarrisSystems Administrator Author Commented:
This was resolved. It appears that a update by Microsoft broke the coding of our application. We rebuilt the coding with a fix and the issue is resolved.
0
 
Zac HarrisSystems Administrator Author Commented:
Our developers fixed this issue. It was determined to have been caused by a Microsoft Update that was installed on the server hosting our application.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 5
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now