473,395 Members | 2,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Write to Event log from my ASPX application

Hello,

I am building an ASPX application. I have a DLL that connects to the
DataBase and return all what I need in the n-tier ways. I try to write in
the event log when an exception is raise. I get all kind of messages like
Access denied or can't access the registry. Is there a tutorial or some one
that can help me to demystify all those security problems?

--
Marc R.
E-mail
Dim strAddr As String =Convert.ToString(String.Format("{0}.{2}@{3}.{1}",
"mxrc", "cx", "robitxille", "xrs-solutions")).Replace("x", "a")
Nov 19 '05 #1
2 1402
I had the same problem, and this article helped me out

http://support.microsoft.com/?id=329291

It suggests either making a registry edit
or
Creating a project inheriting from the installer class which will alow you
to log under a specified Event Log Source

Good Luck

"Marc Robitaille" <ma*************@ars-solutions.caa> wrote in message
news:uL**************@TK2MSFTNGP14.phx.gbl...
Hello,

I am building an ASPX application. I have a DLL that connects to the
DataBase and return all what I need in the n-tier ways. I try to write in
the event log when an exception is raise. I get all kind of messages like
Access denied or can't access the registry. Is there a tutorial or some
one that can help me to demystify all those security problems?

--
Marc R.
E-mail
Dim strAddr As String =Convert.ToString(String.Format("{0}.{2}@{3}.{1}",
"mxrc", "cx", "robitxille", "xrs-solutions")).Replace("x", "a")

Nov 19 '05 #2
Thank you

--
Marc R.
E-mail
Dim strAddr As String =Convert.ToString(String.Format("{0}.{2}@{3}.{1}",
"mxrc", "cx", "robitxille", "xrs-solutions")).Replace("x", "a")

"Grant Merwitz" <gr***@workshare.com> a écrit dans le message de news:
%2***************@TK2MSFTNGP10.phx.gbl...
I had the same problem, and this article helped me out

http://support.microsoft.com/?id=329291

It suggests either making a registry edit
or
Creating a project inheriting from the installer class which will alow you
to log under a specified Event Log Source

Good Luck

"Marc Robitaille" <ma*************@ars-solutions.caa> wrote in message
news:uL**************@TK2MSFTNGP14.phx.gbl...
Hello,

I am building an ASPX application. I have a DLL that connects to the
DataBase and return all what I need in the n-tier ways. I try to write in
the event log when an exception is raise. I get all kind of messages like
Access denied or can't access the registry. Is there a tutorial or some
one that can help me to demystify all those security problems?

--
Marc R.
E-mail
Dim strAddr As String =Convert.ToString(String.Format("{0}.{2}@{3}.{1}",
"mxrc", "cx", "robitxille", "xrs-solutions")).Replace("x", "a")


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Angelos Karantzalis | last post by:
Hi y'all, recently I've come across a situation where a web service needs to deal with an exception that might arise, originating from a COM+ component. It then returns an int value (please...
2
by: Suhail Salman | last post by:
Dear all, why do i get the following exception when i try to write to the event log from a webform. and how can i resolve it? Description: The application attempted to perform an operation not...
1
by: Bijoy Naick | last post by:
My standard asp application contains a page that does something like this.. - runs a query, the result set of which looks like 1, "Event 1", "Event 1 Problem 1", "resolution" 1, "Event 1",...
2
by: G | last post by:
Hi, I have an aspx file that has a table with a couple of grids in it that I'm using as a template to build html files(please give me guidence if there is a better way). I would like to build this...
4
by: Lloyd Dupont | last post by:
I created a ============== public class LangModule : IHttpModule { public void Dispose() {} public void Init(HttpApplication application) { HttpContext context = application.Context;...
8
by: John | last post by:
Is there any special code I have to write to log event to Security Event Log? The following code give me "Very Easy Question, How to write log to SECURTY Event Log? Please help" Error // Create...
3
by: sk.rasheedfarhan | last post by:
Hi all, According to my project requirement I have to write the NT Event information of SQL Server into EventLog viewer. For more clear I want to write the following information into...
4
by: Jerry C | last post by:
I am trying to write to the event log with the My.Log.WriteEntry("MyMessage") The call does nothing. I think that I need to set up the Listeners in the config file. Is there any information on...
1
by: brad.serbus | last post by:
I am trying to figure out a way to have health monitoring throw different Event IDs into the event log, and am having a hard time. None of the customization that I have looked through so far has...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.