Server Error in '/' Application.

Cannot load specified boat.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Cannot load specified boat.

Source Error:


Line 88:                 throw new Exception("Cannot load specified boat.");
Line 89:             }
Line 90:         }
Line 91: 
Line 92:         /// <summary>

Source File: d:\Domains\transworldyachts.co.uk\wwwroot\App_Code\YachtWorld\YachtWorldBoat.cs    Line: 90

Stack Trace:


[Exception: Cannot load specified boat.]
   YachtWorld.YachtWorldBoat..ctor(Int32 BoatID) in d:\Domains\transworldyachts.co.uk\wwwroot\App_Code\YachtWorld\YachtWorldBoat.cs:90
   preowned_view.LoadBoatDetails(Int32 bID) in d:\Domains\transworldyachts.co.uk\wwwroot\yachtworld\preowned-view.aspx.cs:33
   preowned_view.Page_Load(Object sender, EventArgs e) in d:\Domains\transworldyachts.co.uk\wwwroot\yachtworld\preowned-view.aspx.cs:24
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3930.0