Mono Support Error on blog post, please help 

Viewed 19177 time(s), 12 post(s), 2/19/2013 4:51:45 PM - by super
2/19/2013 4:51:45 PM
6018 Reputation 709 Total posts

I have just posted a blog post on my website and now everytime I try to click on the title of the blog post, I get error message.

When I original wrote the blog post, the moment I clicked on "Publish" button to post the blog, I also got this error.

Please help:

Method not found: 'Boolean MonoSoftware.MonoX.DAL.EntityClasses.SnCommentEntity.get_IsBlogPostParent()'.
at MonoSoftware.MonoX.ModuleGallery.Blog.BlogCommentsList.InitCommentParent(List`1 comments, List`1 snComments) at MonoSoftware.MonoX.ModuleGallery.Blog.BlogCommentsList.BindData() at MonoSoftware.MonoX.ModuleGallery.Blog.BlogCommentsList.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.Control.LoadRecursive() 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.Control.LoadRecursive() 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.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)

1
2/19/2013 4:53:36 PM
6018 Reputation 709 Total posts

Here is log

2013-02-19 11:52:46,171 [29] ERROR MonoX [::1] - Error
System.MissingMethodException: Method not found: 'Boolean MonoSoftware.MonoX.DAL.EntityClasses.SnCommentEntity.get_IsBlogPostParent()'.
   at MonoSoftware.MonoX.ModuleGallery.Blog.BlogCommentsList.InitCommentParent(List`1 comments, List`1 snComments)
   at MonoSoftware.MonoX.ModuleGallery.Blog.BlogCommentsList.BindData()
   at MonoSoftware.MonoX.ModuleGallery.Blog.BlogCommentsList.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.Control.LoadRecursive()
   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.Control.LoadRecursive()
   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.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

2
2/19/2013 5:02:45 PM
15993 Reputation 2214 Total posts

Hi,

did you copy the whole MonoX bin folder, did you sync the mark-up files etc. just as described in upgrade blog article ?

Regards

3
2/19/2013 5:06:48 PM
6018 Reputation 709 Total posts

I only updated the monox.dll and added localization.dll  in my solution using visual studio and added localization line in webconfig... rebuilt the project and updated the bin and webconfig on the server,

4
2/19/2013 5:10:32 PM
6018 Reputation 709 Total posts

Didn't touch anything in the code or no update in database...only latest build monox.dll and localizaiton.dll

5
2/19/2013 5:34:25 PM
6018 Reputation 709 Total posts

The error message only comes when I click on the blog post title to view the complete blog post...plz help

6
2/19/2013 6:05:18 PM
6018 Reputation 709 Total posts

After trying a lot of thing I have found what's causing the problem.

I had a backup of my original monox.dll file..so I used that which fixed the problem.

I am using MonoX_4_7_40_4233 nightly build

Seems like everytime when I try to update any latest build dll like Feb 13 or Feb 16 monox.dll...if I replace the monox.dll with latest dll...and try to view any blog post - it caused the error...

why ? I am assuming that's the right way to use latest dll...just replace old monox.dll with the new one, right ?

My way of updating dll is...I open the solution in Visual Studio 2012,,in bin folder > add existing and locate the new monox,dll.. and replace... then I rebuild the solution to check for any errors...when no errors...I update the bin folder and obj folder on server...

7
2/20/2013 7:38:36 AM
15993 Reputation 2214 Total posts

As I mentioned before you can't just upgrade assemblies without syncing the WebParts, in order to better understand the upgrade process please read the following article:Upgrading to new MonoX version

Bottom line is that you probably need to sync the Blog WebParts in order for this to work and you need to copy few more assemblies like "MonoSoftware.MonoX.DAL.dll" & "MonoSoftware.MonoX.DALDBSpecific.dll" etc. So please do that first and then get back to us if you still have an issue with blog module.

Regards

8
2/20/2013 12:08:21 PM
6018 Reputation 709 Total posts

Khorvat,

I have read that article and I just want to confirm one thing - when you say "sync the Blog WebParts", you mean I will have to do 2 things ?

1) need to change the MonoX folder with the new one ?
2) upgrade the database with new script ?

If I am wrong then please direct me which topic I need to look into the article for this sync step ?

 

9
2/20/2013 12:57:41 PM
15993 Reputation 2214 Total posts

Yes that's basically it you need to do those things, and by "sync the Blog WebParts" I mean that if you have changed the mark-up file of Blog WebParts then you need to sync those mark-up files manually in order to get the latest updates.

Regards 

10
1 2
This is a demo site for MonoX. Please visit Mono Software for more info.