Click here to Skip to main content
15,891,204 members
Home / Discussions / C#
   

C#

 
AnswerRe: Socket Pin
Joshua Nussbaum20-Apr-06 14:13
Joshua Nussbaum20-Apr-06 14:13 
Questiona small doubt about dataconversion Pin
jith - iii19-Apr-06 19:46
jith - iii19-Apr-06 19:46 
AnswerRe: a small doubt about dataconversion Pin
Robert Rohde19-Apr-06 22:22
Robert Rohde19-Apr-06 22:22 
QuestionReset record number of a crystal report at the page break Pin
q2sampath19-Apr-06 18:28
q2sampath19-Apr-06 18:28 
AnswerRe: Reset record number of a crystal report at the page break Pin
Sk8tzz19-Apr-06 19:03
Sk8tzz19-Apr-06 19:03 
QuestionRe: Reset record number of a crystal report at the page break Pin
q2sampath20-Apr-06 1:15
q2sampath20-Apr-06 1:15 
Questionstupid question Pin
Tyrus18219-Apr-06 16:04
Tyrus18219-Apr-06 16:04 
AnswerRe: stupid question Pin
Luis Alonso Ramos19-Apr-06 17:09
Luis Alonso Ramos19-Apr-06 17:09 
Questiona Question regarding Image class and Graphics class Pin
Green Fuze19-Apr-06 13:28
Green Fuze19-Apr-06 13:28 
AnswerRe: a Question regarding Image class and Graphics class Pin
Robert Rohde19-Apr-06 22:13
Robert Rohde19-Apr-06 22:13 
Questionchange machine name Pin
shabonaa19-Apr-06 13:12
shabonaa19-Apr-06 13:12 
AnswerRe: change machine name Pin
Shajeel19-Apr-06 20:32
Shajeel19-Apr-06 20:32 
Question3 byte UTF-8 Encoding Pin
eggie519-Apr-06 11:46
eggie519-Apr-06 11:46 
AnswerRe: 3 byte UTF-8 Encoding Pin
Guffa19-Apr-06 12:28
Guffa19-Apr-06 12:28 
GeneralRe: 3 byte UTF-8 Encoding Pin
eggie521-Apr-06 13:17
eggie521-Apr-06 13:17 
QuestionHow to create array of label ? Pin
dataminers19-Apr-06 11:26
dataminers19-Apr-06 11:26 
AnswerRe: How to create array of label ? Pin
Office Lineman19-Apr-06 13:03
Office Lineman19-Apr-06 13:03 
Questione-mail through Outlook. HOW??? Pin
Vasya - dragon19-Apr-06 11:21
Vasya - dragon19-Apr-06 11:21 
QuestionRemoting: Reference to the Remote Object Instance? (Singleton) Pin
eclipse2k119-Apr-06 11:16
eclipse2k119-Apr-06 11:16 
AnswerRe: Remoting: Reference to the Remote Object Instance? (Singleton) Pin
LongRange.Shooter20-Apr-06 3:52
LongRange.Shooter20-Apr-06 3:52 
QuestionRe: Remoting: Reference to the Remote Object Instance? (Singleton) Pin
eclipse2k120-Apr-06 11:16
eclipse2k120-Apr-06 11:16 
AnswerRe: Remoting: Reference to the Remote Object Instance? (Singleton) Pin
Tim Paaschen20-Apr-06 20:27
Tim Paaschen20-Apr-06 20:27 
JokeRe: Remoting: Reference to the Remote Object Instance? (Singleton) Pin
eclipse2k121-Apr-06 9:59
eclipse2k121-Apr-06 9:59 
GeneralRe: Remoting: Reference to the Remote Object Instance? (Singleton) Pin
Tim Paaschen23-Apr-06 20:54
Tim Paaschen23-Apr-06 20:54 
QuestionNot logging in application log Pin
Dpriya19-Apr-06 11:11
Dpriya19-Apr-06 11:11 
Hi,

I'm developing an asp.net application which logs error in case of exceptions.
When it logs error teh following message displayed in event log.

Error loading an Event Sink of type 'Microsoft.EnterpriseInstrumentation.EventSinks.LogEventSink'. The Event Source of name 'Application' will not write events out to this Event Sink. The following exception was returned during the load:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An error occurred determining if the Windows Event Log source of Application (Loan) exists on machine .. This may be due to an incorrect machineName parameter. ---> System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at System.Diagnostics.EventLog.FindSourceRegistration(String source, String machineName, Boolean readOnly)
at System.Diagnostics.EventLog.SourceExists(String source, String machineName)
at Microsoft.EnterpriseInstrumentation.EventSinks.LogEventSink..ctor(IDictionary parameters, EventSource eventSource)
--- End of inner exception stack trace ---
at Microsoft.EnterpriseInstrumentation.EventSinks.LogEventSink..ctor(IDictionary parameters, EventSource eventSource)
--- End of inner exception stack trace ---
at System.Reflection.RuntimeConstructorInfo.InternalInvoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean isBinderDefault)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Reflection.Assembly.CreateInstance(String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Microsoft.EnterpriseInstrumentation.EventSinks.EventSink.CreateNewEventSinks(DataRow[] eventSinkRows, EventSource eventSource)

Can you please help me in this.

thanks in advance
Priya

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.