Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old April 14th, 2004, 10:50 AM
Registered User
Join Date: Apr 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Event Viewer can't display my events

My application writes to the application event log. The app has access rights (followed the regedit solution here http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B329291&FR=1')and an entry does get written.

I use the following VB code to add an entry -

    Public Shared Sub LogError(ByVal err As SoapException)
        Dim Log As New EventLog
        Log.Source = ConfigConstants.SERVICENAME
        Log.WriteEntry(err.Message, EventLogEntryType.Error)
    End Sub

When I view the entry I get -

"The description for Event ID(0) is Source (MQSWebService) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer..."

The registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Eventlog\Application\MQSWebService exists but having scanned the ASP.NET key it has an EventMessageFile (that was a guess) value but duplicating that makes no difference.

Does anyone have any idea what might be causing this?

Many thanks,


Similar Threads
Thread Thread Starter Forum Replies Last Post
Event - Sender & Event args dash dev C# 2005 9 December 9th, 2007 07:24 AM
Crystal Report Viewer (Display ToolBar) winnie1778 Crystal Reports 2 July 31st, 2006 12:39 PM
about Event Viewer Error axislover BOOK: ASP.NET Website Programming Problem-Design-Solution 3 July 4th, 2005 11:23 PM
DLL Viewer qazi_nomi Classic ASP Professional 0 June 15th, 2004 06:25 AM
About Button event and Keydown event zhangxujun1981 XSLT 1 March 6th, 2004 04:59 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.