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="MyWeb Event, Version=1.0.0.0 ,
Culture=neutral , PublicKeyToken= ac21b43a32ac543 2"/>
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="MyPasswor dChangedEvent,M yWebEvent,Versi on=1.0.0.0,Cult ure=neutral,Pub licKeyToken=ac2 1b43a32ac5432"/
>
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= ac21b43a32ac543 2or 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?