473,395 Members | 1,694 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 the Event Viewer ?

Hi, can anybody point me to some info in how to write to the event viewer ?
I've build a COM+ component, and I have no real way to get information on
the possible exceptions that occur during execution :(

Cheers,

Angel
O:]
Jul 21 '05 #1
2 1697
Hi Angelos,

http://msdn.microsoft.com/library/de...oEventLogs.asp

Happy Coding!
Morten Wennevik [C# MVP]
"Angelos Karantzalis" <ak**********@yahoo.com> skrev i melding
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi, can anybody point me to some info in how to write to the event viewer
?
I've build a COM+ component, and I have no real way to get information on
the possible exceptions that occur during execution :(

Cheers,

Angel
O:]

Jul 21 '05 #2
"Angelos Karantzalis" <ak**********@yahoo.com> wrote:
Hi, can anybody point me to some info in how to write to the event viewer ?
I've build a COM+ component, and I have no real way to get information on
the possible exceptions that occur during execution :(

Cheers,

Angel
O:]


Additionally for some ideas how to debug Enterprise Services
applications take a look at

..NET Enterprise Services and COM+ 1.5 Architecture
http://msdn.microsoft.com/library/de...andcomplus.asp

find the area

"Application Pause
Pausing an application comes in handy when trying to attach
a debugger to a process"

and then just skip to areas of interest.

Also
Debugging Components Written in Visual C++
http://msdn.microsoft.com/library/de...tions_3qcf.asp

While written for C++ a lot of the details pertain to COM+
debugging in general.
BTW: There was a lot of head scratching took place when
Microsoft started to refer to COM+ as Enterprise Services in
the .NET context. Besides being able to sneek "Enterprise"
into the name (EJB does the same) it does create an
opportunity to differentiate; i.e. it may be good practice
to talk about "Enterprise Services Components" when you are
talking of "COM+ components written in .NET" - "COM+
components" could refer to components implemented in earlier
technologies.
In any case COM+ was somewhat a misnomer anyway, as
technically it represented an advance of MTS (Microsoft
Transaction Server), not COM - so you could argue that
"Enterprise Services" is more appropriate.
Jul 21 '05 #3

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

Similar topics

2
by: FrodoBaggins | last post by:
Dear Team, I am running Visual Studio 2003 Version 7.1.3088 on Windows Server 2003. I have written a C# application that must write to the event log. When it attempts to write to the event log,...
1
by: Tressa | last post by:
I have a Csharp windows service that currently uses socketing to communicate to additional PC's to shutdown or restart. I need to also have this service open up the Event Viewer and search for...
1
by: Angelos Karantzalis | last post by:
Hi, can anybody point me to some info in how to write to the event viewer ? I've build a COM+ component, and I have no real way to get information on the possible exceptions that occur during...
7
by: Rob R. Ainscough | last post by:
I'm having difficulty writing anything to the web servers event log from my web app located on that server. Putting this in my web apps web.config did NOT help - immediate causes and error in my...
0
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...
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...
7
by: Lee Crabtree | last post by:
Is there some way to export an event log to a .evt file? I ask because what we're trying to set up is a really easy way for a user to email the contents of our event log back to us in the event of...
1
by: zman77 | last post by:
Hi. I have a windows service that I wrote in C#. After I successfully compile it, I install it using InstallUtil, then run it with the net start command. I am trying to either log some stuff to a...
1
by: anithaapr05 | last post by:
I have got the warning in event viewer when i wrote the code in global.asax session_end(). When the user sessions time out, the Session_End event fires successfully.But i got the waring in event...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.