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....
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.
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.
Marked as answer by SIOPJman on Sep 19, 2009 07:40 PM
SIOPJman
Member
39 Points
64 Posts
Health and Monitoring Chapter 3
Sep 18, 2009 02:23 AM|LINK
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
Chapter 3 can not load assembly
qwe123kids
All-Star
48619 Points
7957 Posts
MVP
Re: Health and Monitoring Chapter 3
Sep 18, 2009 06:31 AM|LINK
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
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.
SIOPJman
Member
39 Points
64 Posts
Re: Health and Monitoring Chapter 3
Sep 18, 2009 12:10 PM|LINK
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.
qwe123kids
All-Star
48619 Points
7957 Posts
MVP
Re: Health and Monitoring Chapter 3
Sep 19, 2009 02:58 PM|LINK
RemoveIt from Bin Direcory..
OR
click + in add refrence and Delete the Dll file from refernce
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.
SIOPJman
Member
39 Points
64 Posts
Re: Health and Monitoring Chapter 3
Sep 19, 2009 07:39 PM|LINK
Thanks for the help qwe....I got the reference removed and watched the videos that helped alot...gonna give another try.