MyWebEvent. I created a strong name and added it to the GAC. So far
so good. I know want to define an event using the new assembly and I
want it available to ALL web applications, so I went to modify the
global web.config file as follows:
<add assembly="MyWebEvent, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=ac21b43a32ac5432"/>
in the compilations-->assemblies section.
This line does not seem to be cause a problem. I then add the
following provider under Health Monitoring:
<add name="My Password Change Event"
type="MyPasswordChangedEvent,MyWebEvent,Version=1. 0.0.0,Culture=neutral,PublicKeyToken=ac21b43a32ac5 432"/
>
I have tried this in both the event mapping AND the profile sections.
Both ways I get the same message
Could not load file or assembly MyWebEvent, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=ac21b43a32ac5432or one of its
dependencies. The system cannot find the file specified.
What am I doing wrong? Do I need to make an entry in the
machine.config file as well?