By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,040 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Microsoft Application Blocks for .Net - Logging Block

P: n/a
Hi

I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net .

I installed everything as per the Instructions given in the 'Development Using the Logging Block'.

But when i am trying to run the sample, i am getting the following error in the Event Viwer.
Kindly help me on this.

Waiting for your reply.

Thanks and regards

---------------Error Messge in Event Viewer------------------------

Unable to read and validate the configuration file C:\Program Files\Microsoft Application Blocks for .Net\Logging\Samples\VB\LogLevelSample\bin\Enterpr iseInstrumentation.config. The following type(s) cannot be loaded:

Microsoft.ApplicationBlocks.Logging.EventSinks.Wmi EventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.EventSinks.Bas icLogEventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.EventSinks.Log EventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.EventSinks.Log EventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.EventSinks.Msm qEventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.EventSinks.Sql ServerEventSink, Microsoft.ApplicationBlocks.Logging.EventSinks, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Meterin gEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Adminis trativeEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.AdminMe ssageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.AuditEv ent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.AuditMe ssageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.AuditOp erationEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.BaseEve nt, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.CommonE vent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.ComPlus Info, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Diagnos ticEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.ErrorEv ent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.ErrorMe ssageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Externa lErrorEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Externa lErrorMessageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Interna lErrorEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Interna lErrorMessageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Managed SecurityInfo, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceCa llEnterEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceCa llEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceCa llReturnEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceDa tabaseCommandEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceDa tabaseEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceEv ent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceEx ternalCallEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceEx ternalEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceEx ternalReturnEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceMe ssageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Windows SecurityInfo, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Adminis trativeEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.AdminMe ssageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.AuditEv ent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.AuditMe ssageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.AuditOp erationEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.BaseEve nt, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.CommonE vent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.ComPlus Info, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Diagnos ticEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.ErrorEv ent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.ErrorMe ssageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Externa lErrorEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Externa lErrorMessageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Interna lErrorEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Interna lErrorMessageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Managed SecurityInfo, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceCa llEnterEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceCa llEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceCa llReturnEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceDa tabaseCommandEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceDa tabaseEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceEv ent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceEx ternalCallEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceEx ternalEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceEx ternalReturnEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.TraceMe ssageEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Windows SecurityInfo, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Microsoft.ApplicationBlocks.Logging.Schema.Meterin gEvent, Microsoft.ApplicationBlocks.Logging.Schema, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cd42fb0c69be8a79

Please check the event & eventSink element's type attribute in the configuration file, and that these types are correctly installed on the system.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

----------------------------------------------------------

---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.