Solved

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

Posted on 2014-02-27
7
3,022 Views
Last Modified: 2014-05-04
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
Comment
Question by:Zac Harris
  • 5
  • 2
7 Comments
 
LVL 14

Author Comment

by:Zac Harris
ID: 39894966
I am thinking this is leaning towards being a security issue with authentication between servers.
0
 
LVL 62

Expert Comment

by:btan
ID: 39894981
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
 
LVL 14

Author Comment

by:Zac Harris
ID: 39895043
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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
LVL 62

Expert Comment

by:btan
ID: 39895061
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
 
LVL 14

Author Comment

by:Zac Harris
ID: 39907846
I haven't forgotten about this question. I am working with some of our developers to understand the errors I am getting.
0
 
LVL 14

Accepted Solution

by:
Zac Harris earned 0 total points
ID: 40030415
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
 
LVL 14

Author Closing Comment

by:Zac Harris
ID: 40040152
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An overview of HIPAA and guidance on this topic that Experts Exchange members can offer.
There are many Password Managers (PM) out there to choose from. PM's can help with your password habits and routines, but they should not be a crutch you rely on too heavily. I also have an article for company/enterprise PM's.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now