Health and Monitoring Chapter 3

Last post 09-19-2009 3:39 PM by SIOPJman. 4 replies.

Sort Posts:

  • Health and Monitoring Chapter 3

    09-17-2009, 10:23 PM
    • Member
      39 point Member
    • SIOPJman
    • Member since 11-18-2008, 11:21 AM
    • Posts 64

    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

  • Re: Health and Monitoring Chapter 3

    09-18-2009, 2:31 AM
    • All-Star
      27,493 point All-Star
    • qwe123kids
    • Member since 03-27-2008, 5:49 AM
    • Mumbai
    • Posts 4,647

    Hi,

    http://www.asp.net/LEARN/videos/video-195.aspx

    http://www.asp.net/LEARN/videos/video-237.aspx

    http://www.asp.net/LEARN/videos/video-417.aspx

    http://www.asp.net/LEARN/videos/video-419.aspx

    http://www.asp.net/LEARN/videos/video-441.aspx

    chk the abov video Conatisn All explation regarding Health monitoring ina asp.net

    Thanks
    Avinash Tiwari

    Remember to click “Mark as Answer” on the post, if it helps you.

    MY Blog

    Hacking Inside .net exe
  • Re: Health and Monitoring Chapter 3

    09-18-2009, 8:10 AM
    • Member
      39 point Member
    • SIOPJman
    • Member since 11-18-2008, 11:21 AM
    • Posts 64

    Thanks I will watch those today. Do you know how to remove the reference to the project so I can get it to compile again? I am going to watch those videos and try it again.

  • Re: Health and Monitoring Chapter 3

    09-19-2009, 10:58 AM
    Answer
    • All-Star
      27,493 point All-Star
    • qwe123kids
    • Member since 03-27-2008, 5:49 AM
    • Mumbai
    • Posts 4,647

    SIOPJman:

    Thanks I will watch those today. Do you know how to remove the reference to the project so I can get it to compile again? I am going to watch those videos and try it again.

     

     

    RemoveIt from Bin Direcory..

    OR

    click + in add refrence and Delete the Dll file from refernce

    Thanks
    Avinash Tiwari

    Remember to click “Mark as Answer” on the post, if it helps you.

    MY Blog

    Hacking Inside .net exe
  • Re: Health and Monitoring Chapter 3

    09-19-2009, 3:39 PM
    • Member
      39 point Member
    • SIOPJman
    • Member since 11-18-2008, 11:21 AM
    • Posts 64

    Thanks for the help qwe....I got the reference removed and watched the videos that helped alot...gonna give another try.

Page 1 of 1 (5 items)