It sounds like you have another EventSource type defined in another
namespace.
However at the point below there's using clauses that mean the compiler
cant figure out what EventSource you're talking about.
One solution is to fully qualify the EventSource below.
E.g.
public static EventSource es = new EventSource("MyComponent");
becomes
public static Microsoft.EnterpriseInstrumentation.EventSource es = new
Microsoft.EnterpriseInstrumentation.EventSource("MyComponent");
Cheers
Mike
--------------------
| Hello,
| I am getting the error mentioned in the subject when I try
[quoted text clipped - 18 lines]
| }
| }

Signature
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
Vincent A - 23 Nov 2003 04:19 GMT
Mike,
Thanks for your support.
You are exaactly right. I have
EnterpriseInstrumentation.Configuration namespace along
with EnterpriseInstrumentaion., which was the me this
error.
Vincent
>-----Original Message-----
>It sounds like you have another EventSource type defined in another
[quoted text clipped - 7 lines]
>becomes
> public static
Microsoft.EnterpriseInstrumentation.EventSource es = new
>Microsoft.EnterpriseInstrumentation.EventSource
("MyComponent");
>Cheers
>
[quoted text clipped - 24 lines]
>| }
>| }