Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 25th, 2007, 11:24 AM
Registered User
 
Join Date: Nov 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Some help needed Regarding CustomEvent

Hello

I Faced This Problem When i Try to Debug My Project..
Anyone Please Help Me
Thank in Advance

Server Error in '/TBH_Web' Application.
--------------------------------------------------------------------------------

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'MB.EBuzz.CustomEvents' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:


Line 152: </providers>
Line 153: <eventMappings>
Line 154: <add name="TBH Events" type="MB.EBuzz.WebCustomEvent, MB.EBuzz.CustomEvents" />
Line 155: </eventMappings>
Line 156: <rules>


Source File: D:\Project (FyP)\EWonder\EBuzz\TBH_Web\web.config Line: 154

Assembly Load Trace: The following information can be helpful to determine why the assembly 'MB.EBuzz.CustomEvents' could not be loaded.

i Knew Something is Wrong with the CustomEvent
But Where is the CustomEvent File?
I Download the Zip File
the Original Name is TheBeerHouse ?
if i want to change the Name
where should i change
and how i can go on editing?

thank you for Reading
Needed some Help
=(

 
Old November 25th, 2007, 05:12 PM
Authorized User
 
Join Date: Nov 2007
Posts: 76
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i think page 109 in the book will help you.

 
Old January 16th, 2008, 12:44 PM
Authorized User
 
Join Date: Aug 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Change the config lines to the original ones:

<healthMonitoring heartbeatInterval="10800" enabled="true">
     <providers>
        <remove name="SqlWebEventProvider"/>
        <add name="SqlWebEventProvider" connectionStringName="LocalSqlServer" buffer="false" bufferMode="Notification" maxEventDetailsLength="1073741823" type="System.Web.Management.SqlWebEventProvider,Sy stem.Web,Version=2.0.0.0,Culture=neutral,PublicKey Token=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>



And put the MB.TheBeerHouse.CustomEvents.dll & MB.TheBeerHouse.CustomEvents.pdb into the BIN folder





Similar Threads
Thread Thread Starter Forum Replies Last Post
CustomEvent (Ch 3) patrickst1 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 May 15th, 2008 02:09 PM
Help needed ramabharti Javascript How-To 1 December 7th, 2006 06:42 AM
Help Needed raj_plkd Javascript How-To 3 August 25th, 2005 05:52 AM
Help needed sssingh79 ASP.NET 1.0 and 1.1 Basics 1 January 7th, 2005 04:03 AM
help needed kfarooq Java Databases 1 June 27th, 2003 05:20 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.