Click here to Skip to main content
15,891,765 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How to make Web Application more Secure in Asp.Net???? Pin
Dave Kreskowiak20-Apr-06 6:22
mveDave Kreskowiak20-Apr-06 6:22 
QuestionDeployment Pin
lindamaccarthy20-Apr-06 3:22
lindamaccarthy20-Apr-06 3:22 
AnswerRe: Deployment Pin
rwestgraham22-Apr-06 22:22
rwestgraham22-Apr-06 22:22 
QuestionNeed help: accessing processes on LAN Pin
RimiAsh19-Apr-06 23:48
RimiAsh19-Apr-06 23:48 
AnswerRe: Need help: accessing processes on LAN Pin
Dave Kreskowiak20-Apr-06 2:36
mveDave Kreskowiak20-Apr-06 2:36 
GeneralRe: Need help: accessing processes on LAN Pin
RimiAsh3-May-06 23:09
RimiAsh3-May-06 23:09 
GeneralRe: Need help: accessing processes on LAN Pin
Dave Kreskowiak4-May-06 1:54
mveDave Kreskowiak4-May-06 1: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
AnswerRe: Not logging in application log Pin
Robert Rohde21-Apr-06 3:34
Robert Rohde21-Apr-06 3:34 
Questionhelp needed in datagrid Pin
satishrg19-Apr-06 7:31
satishrg19-Apr-06 7:31 
QuestionApplication structure Pin
mcintyre23119-Apr-06 0:47
mcintyre23119-Apr-06 0:47 
AnswerRe: Application structure Pin
Robert Rohde19-Apr-06 5:27
Robert Rohde19-Apr-06 5:27 
Questiondebugging-problems (asp.net website DLL) Pin
pejuta wichasa19-Apr-06 0:14
pejuta wichasa19-Apr-06 0:14 
QuestionVB.Net Toolbar Buttons Pin
Penny van Aswegen18-Apr-06 23:39
Penny van Aswegen18-Apr-06 23:39 
AnswerRe: VB.Net Toolbar Buttons Pin
Robert Rohde19-Apr-06 5:32
Robert Rohde19-Apr-06 5:32 
QuestionC++ and VB projects in .NET 2003 Pin
Cantona2k18-Apr-06 22:28
Cantona2k18-Apr-06 22:28 
AnswerRe: C++ and VB projects in .NET 2003 Pin
mcintyre23119-Apr-06 0:48
mcintyre23119-Apr-06 0:48 
AnswerRe: C++ and VB projects in .NET 2003 Pin
HimaBindu Vejella20-Apr-06 20:48
HimaBindu Vejella20-Apr-06 20:48 
Question.Net 2.0 and Win2000 issue Pin
akshayswaroop18-Apr-06 21:43
akshayswaroop18-Apr-06 21:43 
AnswerRe: .Net 2.0 and Win2000 issue Pin
Dave Kreskowiak19-Apr-06 5:52
mveDave Kreskowiak19-Apr-06 5:52 
AnswerRe: .Net 2.0 and Win2000 issue Pin
Kevin McFarlane22-Apr-06 5:17
Kevin McFarlane22-Apr-06 5:17 
QuestionT-SQL for everything?? Pin
LyndonSubroyen18-Apr-06 20:23
LyndonSubroyen18-Apr-06 20:23 
AnswerRe: T-SQL for everything?? Pin
Colin Angus Mackay18-Apr-06 20:55
Colin Angus Mackay18-Apr-06 20:55 
AnswerRe: T-SQL for everything?? Pin
HimaBindu Vejella20-Apr-06 20:47
HimaBindu Vejella20-Apr-06 20:47 
AnswerRe: T-SQL for everything?? Pin
JimRoss2-May-06 11:51
JimRoss2-May-06 11:51 

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.