Wrox Programmer Forums
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution 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 June 11th, 2004, 10:55 AM
Authorized User
Join Date: Jun 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Setting up the code download

I have downloaded the code files for "ASP .NET Website Programming, Problem-Design-Solution, VB.NET edition", and I'm trying to iron out the initial errors. I currently have an error message which is not mentioned in the readme file.

The message is reproduced below, can anybody explain to me what the error is about and how to solve the problem please?
Any help would be much appreciated.
Thanks in advance.

An unexpected error has occurred on this page.The system administrators have been notified.

The error occurred in:

Error Message:
Object reference not set to an instance of an object.

Error Stack:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Wrox.WebModules.AdsManager.Data.Advertisement.Retr ieveAd(Int32 advertisementId) in C:\wrox\ThePhileVB\WebModules\AdsManager\AdsManage r.Data\Advertisement.vb:line 39
   at Wrox.WebModules.AdsManager.Business.Advertisement. .ctor(Int32 advertId) in C:\wrox\ThePhileVB\WebModules\AdsManager\AdsManage r.Business\Advertisement.vb:line 47
   at Wrox.ThePhile.Web.Controls.User.SiteFooter.Rotator _AdCreated(Object sender, AdCreatedEventArgs e) in C:\wrox\ThePhileVB\Controls\User\SiteFooter.ascx.v b:line 67
   at System.Web.UI.WebControls.AdRotator.OnAdCreated(Ad CreatedEventArgs e)
   at System.Web.UI.WebControls.AdRotator.OnPreRender(Ev entArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain()

Old June 11th, 2004, 11:28 AM
Authorized User
Join Date: Jun 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts

Don't worry!
I had missed out the changes to one of the config files.
I think that problem is sorted now

Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting cookies in code DavidStowell VB How-To 1 May 23rd, 2008 02:53 PM
Setting up the download files flyer ASP.NET 1.0 and 1.1 Basics 3 September 25th, 2007 07:00 PM
Download Code won't download More_Toys BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 15 May 13th, 2006 10:49 AM
I don't download code, yfshg ADO.NET 1 February 21st, 2005 09:31 AM

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