Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
| Search | Today's Posts | Mark Forums Read
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
  #1 (permalink)  
Old June 1st, 2010, 05:17 AM
Registered User
 
Join Date: Jun 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
Default error message - Could not load file or assembly 'MB.TheBeerHouse.CustomEvents' or one

Hi,

When I browse to the default.aspx page within admin i get the following error message - 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.TheBeerHouse.CustomEvents' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 191: </providers>
Line 192: <eventMappings>
Line 193: <add name="TBH Events" type="MB.TheBeerHouse.WebCustomEvent, MB.TheBeerHouse.CustomEvents" />
Line 194: </eventMappings>
Line 195: <rules>
I don't have this problem when viewing the page on my local sever but online in my shared web hosting environment.

Any help as always is appreciated.

Thanks
  #2 (permalink)  
Old June 11th, 2010, 11:29 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Did you configure the directory to which you uploaded the application files as a virtual directory? ASP.NET will try to look in the "bin" directory of the site's root directory. If the root directory you are referring to is not configured as an application, then .NET will look for a bin directory higher in the disk hierarchy (i.e. in the application starting point which could be a higher level directory or the website root). It then can't find your DLL.

An ASP.NET hosting service should have some mechanism for making a directory under you web site root into an "application" or "app starting point". How to do this will vary by host.
__________________
-Peter
compiledthoughts.com
twitter/peterlanoie


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with MB.TheBeerHouse.CustomEvents dll... joslat BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 0 July 23rd, 2007 08:32 PM
Could not load file or assembly 'dll' or one of it Mahenj ASP.NET 2.0 Professional 1 January 17th, 2007 12:21 PM
Could not load file or assembly 'DLL' or one of it Mahenj BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 17th, 2007 10:16 AM
Source for MB.TheBeerHouse.CustomEvents.dll? deasoft BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 November 5th, 2006 04:12 AM
Could not load file or assembly vantoko BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 27th, 2006 02:26 PM





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