eqdev
Tue Oct 17 06:04:01 CDT 2006
This is th estack
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)
at EQNPS.AccuracyMeasurement.SPMasXML.GetUsersRoles(SqlConnection conn)
at EQNPS.AccuracyMeasurement.SPMasXML.GetQuestionsAndAnswers(String
Trigger, Boolean IsSimultaneousSecond)
at EQNPS.AccuracyMeasurement.SPMasXML.GetXml(MeasuresRequest mr)
at
EQNPS.AccuracyMeasurement.SPMeasurementsClientForm.BuildMeasuresForm(String
RequestXML)
--
EqDev
""Jeffrey Tan[MSFT]"" wrote:
> Hi EqDev,
>
> Can you tell me what exception message do you get when
> SecurityIdentifier.Translate failed? Is it possible for you to provide the
> call stack regarding the exception? These information will be helpful for
> us to analysis the failure. Thanks.
>
> Normally, from Reflector, we can see that SecurityIdentifier.Translate()
> method internally calls SecurityIdentifier.TranslateToNTAccounts() method
> to do the internal work. TranslateToNTAccounts method will call
> LsaLookupSids win32 API to does the work. It will throw different exception
> if the LsaLookupSids API fails. So the exception message should report a
> key information regarding the failure.
>
> I will wait for your further feedback. Thanks.
>
> Best regards,
> Jeffrey Tan
> Microsoft Online Community Support
> ==================================================
> Get notification to my posts through email? Please refer to
>
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
> ications.
>
> Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
> where an initial response from the community or a Microsoft Support
> Engineer within 1 business day is acceptable. Please note that each follow
> up response may take approximately 2 business days as the support
> professional working with you may need further investigation to reach the
> most efficient resolution. The offering is not appropriate for situations
> that require urgent, real-time or phone-based interactions or complex
> project analysis and dump analysis issues. Issues of this nature are best
> handled working with a dedicated Microsoft Support Engineer by contacting
> Microsoft Customer Support Services (CSS) at
>
http://msdn.microsoft.com/subscriptions/support/default.aspx.
> ==================================================
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
>