Did anyone have trouble with the end of chapter 3 where you implement health and monitoring. I went to the solution and added a project named as he did. I then typed the class as he did. Then I added a reference the project. However after typing up the web.config I keep getting the error that the file or assembly MB.TheBeerHouse.CustomEvents can not be found or loaded. Is there a way to remove a reference? I hope I don't have to start over... I have been doing .net for about a year but I am still struggling with this book a little bit....
I am posting what my web.config section has
<healthMonitoring heartbeatInterval ="10800">
<providers>
<remove name ="SqlWebEventProvider" />
<add name="SqlWebEventProvider" connectionStringName="LocalSqlServer"
buffer="false" bufferMode="Notification" maxEventDetailsLength="1073741823"
type="System.Web.Management.SqlWebEventProvider,System.Web,Version=2.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" />
</providers>
<eventMappings>
<add name="TBH Events" type="MB.TheBeerHouse.WebCustomEvent, MB.TheBeerHouse.CustomEvents" />
</eventMappings>
<rules>
<clear />
<add name ="TBH Events" eventName ="TBH Events" provider ="SqlWebEventProvider" profile ="Critical" />
<add name ="All Errors" eventName ="All Errors" provider ="SqlWebEventProvider" profile ="Critical" />
<add name ="Failure Audits" eventName ="Failure Audits" provider ="SqlWebEventProvider" profile ="Critical" />
<add name ="HeartBeats" eventName ="HeartBeats" provider ="SqlWebEventProvider" profile ="Critical" />
</rules>
</healthMonitoring>I have never used health and Monitoring so I am sure I screwed something up but I can not find it.
Thanks,
frustrated in Ohio