Application Error
Error in: http://www.davidlewis.org.uk/pages2010/category-page.aspx?id=8&preview=0&relative_path=../../../
Error Message: Unable to cast object of type 'davidlewis.templates2010.ProductCategoryPage' to type 'davidlewis.templates.ProductCategoryPage'.
Stack Trace: at davidlewis.category_page2010.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Page
- Sys.CurrentPath=/pages2010
- Sys.CurrentPage=category-page.aspx
- Sys.CurrentURL=category-page.aspx?id=8&preview=0&relative_path=../../../
- Paths.RelativeRootPath=../../../
- Paths.RelativeApplicationPath=pages2010/
- Paths.AbsoluteApplicationPath=http://www.davidlewis.org.uk/
- Paths.InternalAbsoluteApplicationPath=http://www.davidlewis.org.uk/
- Paths.PhysicalApplicationPath=d:\www\davidlewis.org.uk\
- HttpRequest.UserAgent=
- HttpRequest.UserHostAddress=195.182.183.151
- HttpRequest.UserHostName=195.182.183.151
- HttpRequest.HttpMethod=GET
- HttpRequest.ApplicationPath=/
Get
- id=8
- preview=0
- relative_path=../../../
Debug Log
- ODBC.Reset()
- Paths.Reset()
- TIME STAMP:00:00:00 start:Application_BeginRequest
- TIME STAMP:00:00:00 end:Application_BeginRequest
- SELECT * FROM [davidlewis_product_category] WHERE [id] = 8
- SELECT [position] FROM [davidlewis_site_page] WHERE [parent]=0 ORDER BY [position] DESC
- SELECT * FROM [davidlewis_site_page] WHERE template_type LIKE 'product_category_page'
- SELECT * FROM [davidlewis_revision_history] WHERE [site_page]=159 AND [revision]=-1
- SELECT * FROM [davidlewis_product_category_page] WHERE site_page=159 ORDER BY revision_number DESC
- SELECT * FROM [davidlewis_site_page] WHERE [id] = 155
- SELECT * FROM [davidlewis_revision_history] WHERE [site_page]=155 AND [revision]=-1
- SELECT * FROM [davidlewis_shopping_basket_page] WHERE site_page=155 ORDER BY revision_number DESC
- SELECT * FROM [davidlewis_revision_history] WHERE [site_page]=155 AND [revision]=-1
- SELECT * FROM [davidlewis_shopping_basket_page] WHERE site_page=155 ORDER BY revision_number DESC