Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
QuestionRead data from datagrid Pin
ujupanmester7-Jul-06 13:37
ujupanmester7-Jul-06 13:37 
Questioncode Form within a code Form Pin
Glen Harvy7-Jul-06 12:55
Glen Harvy7-Jul-06 12:55 
AnswerRe: code Form within a code Form Pin
Not Active7-Jul-06 13:31
mentorNot Active7-Jul-06 13:31 
AnswerRe: code Form within a code Form Pin
Robert Rohde8-Jul-06 12:27
Robert Rohde8-Jul-06 12:27 
GeneralRe: code Form within a code Form Pin
Glen Harvy8-Jul-06 16:30
Glen Harvy8-Jul-06 16:30 
QuestionHow to catch a security exception within Remoting.Config(...) Pin
2bee 7-Jul-06 11:17
2bee 7-Jul-06 11:17 
AnswerLook at the stack trace in the exception? Pin
Ennis Ray Lynch, Jr.7-Jul-06 11:24
Ennis Ray Lynch, Jr.7-Jul-06 11:24 
GeneralRe: Look at the stack trace in the exception? [modified] Pin
2bee 7-Jul-06 11:36
2bee 7-Jul-06 11:36 
hi,

Hmm, i did this a thousand times but it doesn't point specifically to my application! Obviously RemotingConfiguration.Configure is running in a different thread but how to catch the exception in it?

e voila:

Unbehandelte Ausnahme: System.Security.Principal.IdentityNotMappedException: Man
che oder alle Identitätsverweise konnten nicht übersetzt werden.
bei System.Security.Principal.NTAccount.Translate(IdentityReferenceCollection
sourceAccounts, Type targetType, Boolean forceSuccess)
bei System.Security.Principal.NTAccount.Translate(Type targetType)
bei System.Runtime.Remoting.Channels.Ipc.IpcServerChannel.Listen()
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()

Further, this exception says that the system was unable to resolve the specified account. However i am fully aware of that and did intenionally use a wrong group. I just want to know
how to catch this security exception that is raised by the CLR.

regards Tobias
GeneralThe app config file you posted isn't valid Pin
Ennis Ray Lynch, Jr.7-Jul-06 11:58
Ennis Ray Lynch, Jr.7-Jul-06 11:58 
GeneralRe: The app config file you posted isn't valid Pin
2bee 7-Jul-06 13:04
2bee 7-Jul-06 13:04 
QuestionHow to change the toolbar background color? Pin
Rogenator7-Jul-06 9:17
Rogenator7-Jul-06 9:17 
QuestionPassing variable Pin
Chris McGlothen7-Jul-06 8:23
Chris McGlothen7-Jul-06 8:23 
AnswerRe: Passing variable Pin
Ennis Ray Lynch, Jr.7-Jul-06 8:52
Ennis Ray Lynch, Jr.7-Jul-06 8:52 
GeneralRe: Passing variable Pin
Chris McGlothen7-Jul-06 11:16
Chris McGlothen7-Jul-06 11:16 
AnswerRe: Passing variable Pin
Guffa7-Jul-06 10:59
Guffa7-Jul-06 10:59 
GeneralRe: Passing variable Pin
Chris McGlothen7-Jul-06 11:19
Chris McGlothen7-Jul-06 11:19 
QuestionSent SMTP message via Resent-To headers Pin
mube.co.uk7-Jul-06 7:39
mube.co.uk7-Jul-06 7:39 
QuestionNo update of ListBox after DataSourceChanged Pin
Csharper20067-Jul-06 7:14
Csharper20067-Jul-06 7:14 
AnswerI think it is a VS bug Pin
Ennis Ray Lynch, Jr.7-Jul-06 8:15
Ennis Ray Lynch, Jr.7-Jul-06 8:15 
GeneralRe: I think it is a VS bug Pin
Josh Smith7-Jul-06 8:27
Josh Smith7-Jul-06 8:27 
GeneralThat makes sense Pin
Ennis Ray Lynch, Jr.7-Jul-06 8:35
Ennis Ray Lynch, Jr.7-Jul-06 8:35 
QuestionText Won't Show in MessageBox Pin
MartyExodus7-Jul-06 5:46
MartyExodus7-Jul-06 5:46 
AnswerRe: Text Won't Show in MessageBox Pin
Jun Du7-Jul-06 6:17
Jun Du7-Jul-06 6:17 
GeneralRe: Text Won't Show in MessageBox Pin
MartyExodus7-Jul-06 6:30
MartyExodus7-Jul-06 6:30 
JokeRe: Text Won't Show in MessageBox Pin
BoneSoft7-Jul-06 7:27
BoneSoft7-Jul-06 7:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.