MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Error on blog post, please help  (Mono Support )

Viewed 17458 time(s), 12 post(s) 2/19/2013 4:51:45 PMby super
super

super

2/19/2013 4:51:45 PM
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)
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

2/19/2013 4:53:36 PM
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)
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

2/19/2013 5:02:45 PM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

2/19/2013 5:06:48 PM
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,
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

2/19/2013 5:10:32 PM
Didn't touch anything in the code or no update in database...only latest build monox.dll and localizaiton.dll
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

2/19/2013 5:34:25 PM
The error message only comes when I click on the blog post title to view the complete blog post...plz help
This content has not been rated yet. 
6018 Reputation 709 Total posts
super

super

2/19/2013 6:05:18 PM
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...
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

2/20/2013 7:38:36 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts
super

super

2/20/2013 12:08:21 PM
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 ?

 
This content has not been rated yet. 
6018 Reputation 709 Total posts
khorvat

khorvat

2/20/2013 12:57:41 PM
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 
This content has not been rated yet. 
15993 Reputation 2214 Total posts
1 2