Some or all identity references could not be translated. (mscorlib)

Jun 23, 2008 at 2:21 PM
When I try to start sqlnexus.exe, I got this error message. Looks like there are some hardcode inside this executeable file. For example, "C:\jacklidocs3". Any idea? Thanks!

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

Some or all identity references could not be translated. (mscorlib)

------------------------------
Program Location:

   at System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection sourceAccounts, Type targetType, Boolean forceSuccess)
   at System.Security.Principal.NTAccount.Translate(Type targetType)
   at System.Security.AccessControl.CommonObjectSecurity.ModifyAccess(AccessControlModification modification, AccessRule rule, Boolean& modified)
   at System.Security.AccessControl.CommonObjectSecurity.AddAccessRule(AccessRule rule)
   at NexusInterfaces.Util.GetFileSecurity() in C:\jacklidocs3\CPRSRC\main\SRC\mapped\sqlnexus_codeplex\NexusInterfaces\Classes.cs:line 121
   at sqlnexus.fmNexus.InitializeLog(String logfilename) in C:\jacklidocs3\CPRSRC\main\SRC\mapped\sqlnexus_codeplex\sqlnexus\fmNexus.cs:line 154
   at sqlnexus.fmNexus.fmNexus_Load(Object sender, EventArgs e) in C:\jacklidocs3\CPRSRC\main\SRC\mapped\sqlnexus_codeplex\sqlnexus\fmNexus.cs:line 384
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Coordinator
Sep 3, 2008 at 7:12 PM
there was a bug which relied on hardcoded builtin administrator's name.
this was fixed in latest build.
try it on latest build