erroe deleting unpublished content from content manager

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
7/19/2006 3:47:15 AM
Gravatar
Total Posts 58

erroe deleting unpublished content from content manager

I found that unpublished content was being found in the search results of mojoPortal's search feature.  So for a work around I wanted to go delete the content that was unpublished and un-needed.  I recieved the following error deleting unpublished content via the content manager > view/edit > Delete

 

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.Web.HttpException: The file '/' does not exist.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[HttpException (0x80004005): The file '/' does not exist.]
   System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) +3366759
   System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +109
   System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93
   System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) +76
   System.Web.UI.TemplateControl.LoadControl(String virtualPath) +23
   mojoPortal.Web.ContentManagerPreview.Page_Load(Object sender, EventArgs e) +891
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

Server Error in '/' Application.

The file '/' does not exist.

 


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

7/19/2006 3:49:06 AM
Gravatar
Total Posts 58

Re: erroe deleting unpublished content from content manager

This is from http://blackerbygroup.com and is mojoPortal version 2.1
7/19/2006 3:51:24 AM
Gravatar
Total Posts 18439

Re: erroe deleting unpublished content from content manager

I'll look into that error. Can you confirm for me that the search results only show unpublished content if you search while logged in as admin? Normal users should not see unpublished content in the search results.
7/19/2006 4:15:03 AM
Gravatar
Total Posts 58

Re: erroe deleting unpublished content from content manager

I'm actually getting some wierd cache type error I think.  If I search for the word "quality" at http://blackerbygroup.com I get a published listing from my trendoid site.  I can't find the data in the database and it is not listed in the content manager at all now, but does show up in the search.

7/19/2006 4:21:41 AM
Gravatar
Total Posts 18439

Re: erroe deleting unpublished content from content manager

When you deployed the site is it possible you deployed index files from your dev machine so it did not start out with an empty index?

You can delete the index files then do a search and it will rebuild the index. That should get rid of any incorrect data in the index.
7/19/2006 4:29:43 AM
Gravatar
Total Posts 58

Re: erroe deleting unpublished content from content manager

We were thinking of the same thing.  I deleted the index files and did a search to rebuild them.  It's all working now.  How does that index work? When is it rebuilt?  Should it be rebuilt at some automatic interval?

7/19/2006 4:48:17 AM
Gravatar
Total Posts 18439

Re: erroe deleting unpublished content from content manager

once its created it should not have to be rebuilt entirely. If it doesn't exist it is created on the first search request after that it is maintained automatically when content is added or updated.
You can safely delete the index and it will rebuild but if the site is really large and has a lot of content I'm not sure how well it would work. It has always worked for me but in theory if the site had a lot of content the thread that builds the index could time out before finishing so once a site gets very large its probably best to avoid re-building the index and just let it maintain itself. Probably this is not an issue for most sites, only ones with a lot of content. I just don't know how big a site would have to be before this would be a problem but bigger than any of the sites I've worked with so far. Right now its just a theoretical problem.

Joe
You must sign in to post in the forums. This thread is closed to new posts.