Logging in ASP.NET application

A

anonymous

I am trying to use the event log in an ASP.NET application

I have tried my own logging

I have tried using MSAB logging

No success yet?

Any suggestions/Samples?

Now I am ready to use anything.

I am thinking of using log4net but I thought since MS has suit of these it
will be better
 
A

anonymous

Thanks Juan,
For a quick Reply.

This is the same way I had before. And you re-enforced my view.

Here is the context . I used previously logging in WindowsService. So the
permission for the account were same as the way it is run.

But here in ASP.NET the problem is:
ASPNEt account does not have permissions to create an eventsource.
To solve that I followed googling my errormessage/exception the
SecurityException

Which took me to the following article which suggested I create the
EventSource first and then try.
http://support.microsoft.com/default.aspx?scid=kb;en-us;329291

And boom it works.


Juan you have solved my problem which I struggled for Several Hours.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top