Server Error in '/' Application.

No Document exists with Version '91bd81bb-ea71-45aa-8a7f-57cfcaab0bb5'

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.ArgumentException: No Document exists with Version '91bd81bb-ea71-45aa-8a7f-57cfcaab0bb5'

Source Error:


Line 19:     void BannerCOunter()
Line 20:     {
Line 21:         Document banner = new Document(int.Parse(Request.QueryString["id"]));
Line 22: 
Line 23:         int clicks = 0;

Source File: d:\WEBDATAONLINE\fedoarcu\usercontrols\Banner\BannerCounter.ascx.cs    Line: 21

Stack Trace:


[ArgumentException: No Document exists with Version '91bd81bb-ea71-45aa-8a7f-57cfcaab0bb5']
   umbraco.cms.businesslogic.web.Document.setupNode() +523
   umbraco.cms.businesslogic.CMSNode..ctor(Int32 Id) +36
   umbraco.cms.businesslogic.web.Document..ctor(Int32 id) +15
   usercontrols_Banner_BannerCounter.BannerCOunter() in d:\WEBDATAONLINE\fedoarcu\usercontrols\Banner\BannerCounter.ascx.cs:21
   usercontrols_Banner_BannerCounter.Page_Load(Object sender, EventArgs e) in d:\WEBDATAONLINE\fedoarcu\usercontrols\Banner\BannerCounter.ascx.cs:16
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Control.LoadRecursive() +134
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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