I have downloaded the code for the
VB version of the book and have encountered many error messages. Some seemed to stem from sections not included in the project. But finally I am stuck with following (and the 72 Build errors which accomapny it)
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()
There seems to be no reference to a module called ADsManager in the modules or anyware else.
Could this be anything to do with my having to install the programme in the folder e:\data\web\thPhileVB? Error messages always seem to refer to the C: drive. However many of these are overcome by changing settings in the project which is on E.
Any help would be appreciated.