I am getting an error on the Management Tab.
I am using Umbraco 7 and using Smart Blog 2.2.1 on a SQL server.
Everything about the blog works, I integrated it with an existing site. Just when I got the the Smart Blog management Tab I get an exception error.
My error is below:
[P5116/T309/D3] An unhandled exception occurred
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at SmartBlogLibraries.smartBlogManagement.getPropertyValue(Int32 intId, String strProperty)
at ASP.umbracodashboardsmartblogmanagementascx.DataBindcontrol7(Object sender, EventArgs e)
at System.Web.UI.Control.OnDataBinding(EventArgs e)
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBind()
at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
at System.Web.UI.WebControls.Repeater.DataBind()
at SmartBlogLibraries.smartBlogManagement.showResults(EventArgs e)
at SmartBlogLibraries.smartBlogManagement.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.umbracodashboardusercontrolproxyaspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
===============
I deleted the 2 premade posts from the Umbraco tree that had preexisting comments in them. This would not cause anything to become out of sync would it?
2015-09-10 08:09:07,175 [11] ERROR Umbraco.Core.UmbracoApplicationBase - [P4956/T1/D2] An unhandled exception occurred
System.Web.HttpUnhandledException (0x80004005): Eine Ausnahme vom Typ "System.Web.HttpUnhandledException" wurde ausgelöst. ---> System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei SmartBlogLibraries.smartBlogManagement.getPropertyValue(Int32 intId, String strProperty)
bei ASP.umbraco_dashboard_smartblogmanagement_ascx.__DataBind__control7(Object sender, EventArgs e)
bei System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
bei System.Web.UI.Control.DataBindChildren()
bei System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
bei System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem)
bei System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource)
bei System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e)
bei SmartBlogLibraries.smartBlogManagement.showResults(EventArgs e)
bei SmartBlogLibraries.smartBlogManagement.OnLoad(EventArgs e)
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Control.LoadRecursive()
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
bei System.Web.UI.Page.HandleError(Exception e)
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
bei System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
bei System.Web.UI.Page.ProcessRequest()
bei System.Web.UI.Page.ProcessRequest(HttpContext context)
bei System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
bei System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
@Ahmed Ashraf - I tried this solution on Version 7.5.10 and I'm getting this error when opening smart blog management tab...
[NullReferenceException: Object reference not set to an instance of an object.] SmartBlogLibraries.smartBlogManagement.showResults(EventArgs e) +155 SmartBlogLibraries.smartBlogManagement.OnLoad(EventArgs e) +113 System.Web.UI.Control.LoadRecursive() +59 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678
I am facing kind of similar error on Umbraco 7.7.2. already downloaded the BlogAdminControl from the above mentioned link from @Ahmed Ashraf and put it in \Umbraco\Dashboard\ but the error persist.
Please help.
Could not load control: '/RHomes/umbraco/dashboard/smartBlogManagement.ascx'.
Error message: System.Web.HttpException (0x80004005): The file '/RHomes/umbraco/dashboard/smartBlogManagement.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at Umbraco.Web.UI.Umbraco.Dashboard.UserControlProxy.OnInit(EventArgs e)
SmartBlog Management Panel error
I am getting an error on the Management Tab. I am using Umbraco 7 and using Smart Blog 2.2.1 on a SQL server. Everything about the blog works, I integrated it with an existing site. Just when I got the the Smart Blog management Tab I get an exception error.
My error is below:
[P5116/T309/D3] An unhandled exception occurred System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object. at SmartBlogLibraries.smartBlogManagement.getPropertyValue(Int32 intId, String strProperty) at ASP.umbracodashboardsmartblogmanagementascx.DataBindcontrol7(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) at System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) at System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.Repeater.DataBind() at SmartBlogLibraries.smartBlogManagement.showResults(EventArgs e) at SmartBlogLibraries.smartBlogManagement.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) at System.Web.UI.Page.ProcessRequest(HttpContext context) at ASP.umbracodashboardusercontrolproxyaspx.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
===============
I deleted the 2 premade posts from the Umbraco tree that had preexisting comments in them. This would not cause anything to become out of sync would it?
Any insights??
Just saw that we get the same exception.
Browser console shows the following:
Logfile:
Same error when viewing Smart Blog Management: Umbraco 7.3.1 SmartBlog 2.2.1
Hi All
we fix this error in new user control you can get it from
https://github.com/MahmoudFawzy/umbracosmartblog.git
and put it in \Umbraco\Dashboard\smartBlogManagement.ascx file
and hide the Repeater in the blog file (smartBlogManagement.ascx)
and enjoy @aashraf14
Thank you
@Ahmed Ashraf - I tried this solution on Version 7.5.10 and I'm getting this error when opening smart blog management tab...
[NullReferenceException: Object reference not set to an instance of an object.] SmartBlogLibraries.smartBlogManagement.showResults(EventArgs e) +155 SmartBlogLibraries.smartBlogManagement.OnLoad(EventArgs e) +113 System.Web.UI.Control.LoadRecursive() +59 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678
I am facing kind of similar error on Umbraco 7.7.2. already downloaded the BlogAdminControl from the above mentioned link from @Ahmed Ashraf and put it in \Umbraco\Dashboard\ but the error persist.
Please help.
Could not load control: '/RHomes/umbraco/dashboard/smartBlogManagement.ascx'. Error message: System.Web.HttpException (0x80004005): The file '/RHomes/umbraco/dashboard/smartBlogManagement.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at Umbraco.Web.UI.Umbraco.Dashboard.UserControlProxy.OnInit(EventArgs e)
is working on a reply...