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.

I have an issue with references to MonoX.DAL (Closed) (Mono Support )

Viewed 12789 time(s), 10 post(s) 11/19/2011 7:08:52 PMby grant.stone007
grant-stone007

grant.stone007

11/19/2011 7:08:52 PM
I trying to work with custom portal pages using the Blog webparts but the error show below when building my pages. I recently upgraded to 4.5.3200.40 and that is my current version. I began to get this error after upgrade.

Error 6 The project currently contains references to more than one version of MonoSoftware.MonoX.DAL, a direct reference to version 4.5.3200.40 and an indirect reference (through 'MonoSoftware.MonoX.ModuleGallery.Blog.BlogInfo.Blog') to version 4.5.3206.40. Change the direct reference to use version 4.5.3206.40 (or higher) of MonoSoftware.MonoX.DAL. G:\FOCZY\foczy.com\a\myblog.ascx.vb 34 21 http://localhost:7777/

Please advise.
This content has not been rated yet. 
647 Reputation 69 Total posts
denis

denis

11/19/2011 7:44:34 PM
What is the version of the MonoSoftware.MonoX.DAL.dll in your bin folder?
This content has not been rated yet. 
7207 Reputation 956 Total posts
khorvat

khorvat

11/20/2011 9:50:53 AM
Hi,

I'll provide you with the new version of assemblies tomorrow as this will fix your issue. This is maybe related to nightly built that I have sent you few weeks ago.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
grant-stone007

grant.stone007

11/20/2011 8:10:24 PM
My current version of DAL is 4.5.3200.40
This content has not been rated yet. 
647 Reputation 69 Total posts
khorvat

khorvat

11/21/2011 8:54:40 AM
Hi,

I'll provide you with a latest MonoX version that we have so please try to upgrade and get back to us, this is unofficial 4.7.x version based on .NET 4.0 and I'll send you the temp download link.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
khorvat

khorvat

11/21/2011 9:42:21 AM
I have sent you the link, so get back to us with results.

Regards
This content has not been rated yet. 
15993 Reputation 2214 Total posts
grant-stone007

grant.stone007

11/22/2011 10:47:18 PM
I downloaded 4.7 and the original MonoX.DAL reference error is gone but now I have a new build error. I have a custom portal page which references the type SnEventEntity. I believe that type used to be in the MonoX.Repositories namespace but now I cannot locate any namespace that has has that type. Was the SNEventEntity type deprecated in this 4.7 version?
This content has not been rated yet. 
647 Reputation 69 Total posts
grant-stone007

grant.stone007

11/22/2011 11:26:41 PM
I also notice now the original Wall.aspx has the following error. I think this is related to the SnEventsEntity issue I stated in previous post.

Sequence contains no matching element
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate) at MonoSoftware.MonoX.DAL.EntityClasses.SnEventTypeEntity.get_BecameFriends() at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.Events.FormatEventText(SnEventEntity eventEntity) at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.Events.ParseTemplateTags(Hashtable tags, SnEventEntity eventEntity) at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.Events.lvItems_OnItemDataBound(Object sender, ListViewItemEventArgs e) at System.Web.UI.WebControls.ListView.OnItemDataBound(ListViewItemEventArgs e) at System.Web.UI.WebControls.ListView.CreateItemsWithoutGroups(ListViewPagedDataSource dataSource, Boolean dataBinding, InsertItemPosition insertPosition, ArrayList keyArray) at System.Web.UI.WebControls.ListView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) at System.Web.UI.WebControls.ListView.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.WebControls.ListView.PerformSelect() at MonoSoftware.MonoX.Utilities.PagerUtility.BindPager(Pager pager, PagerAction bindDelegate, Control pagedControl, Object dataSource, Int32 pagerVirtualCount, Control warningControl) at MonoSoftware.MonoX.Utilities.PagerUtility.BindPager(Pager pager, PagerAction bindDelegate, Control pagedControl, Object dataSource, Int32 pagerVirtualCount) at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.Events.BindData() at MonoSoftware.MonoX.ModuleGallery.SocialNetworking.Events.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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
This content has not been rated yet. 
647 Reputation 69 Total posts
khorvat

khorvat

11/23/2011 7:24:50 PM
Hi,

SnEventEntity isn't deprecated in the 4.7 version you should use this namespace MonoSoftware.MonoX.DAL.EntityClasses to find it.

As for the exception you get can you please check the content of the SnEventTypeEntity table and get back to us with all the items, basically you need to check if there is an item called become friends ?

Regards
Rated 5.00, 1 vote(s). 
15993 Reputation 2214 Total posts
grant-stone007

grant.stone007

11/24/2011 12:18:05 AM
I made a change to the value of the Name field of that record thinking it would have an affect on the text that appears in the Activity feed. I changed it back to "became friends with" and it now works.

The reference to DAL.EntityClasses is the answer I needed.

Thank you.
This content has not been rated yet. 
647 Reputation 69 Total posts