Error when using EIF in COM

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: microsoft news (prenukdas_at_deloitte.com)
Date: 08/13/04


Date: Fri, 13 Aug 2004 12:25:50 +0100

Hello All,
i am getting the following error when i use the EIF DLL (by creating the TLB
file and all the necessary steps needed) in a VB6.0 application
This is a sample testing that i am doing as my main task is to implement the
EIF in a COM+ application
Someone PLEASE HELP ME

The error message is pasted below

System.InvalidOperationException: Cannot raise events that contain field
types which do not have the 'InstrumentationType' attribute. Ensure that
System.String or one of its base classes has the InstrumentationType
attribute.
at Microsoft.EnterpriseInstrumentation.EventSource.RaiseEvent(Object
eventToRaise, RequestContext requestContext)

Pooja Renukdas
Deloitte Consulting