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

Viewed 22182 time(s), 10 post(s), 11/19/2011 7:08:52 PM - by grant.stone007
11/19/2011 7:08:52 PM
647 Reputation 69 Total posts

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.

1
11/19/2011 7:44:34 PM
7207 Reputation 956 Total posts

What is the version of the MonoSoftware.MonoX.DAL.dll in your bin folder?

2
11/20/2011 9:50:53 AM
15993 Reputation 2214 Total posts

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

3
11/20/2011 8:10:24 PM
647 Reputation 69 Total posts

My current version of DAL is 4.5.3200.40

4
11/21/2011 8:54:40 AM
15993 Reputation 2214 Total posts

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

5
11/21/2011 9:42:21 AM
15993 Reputation 2214 Total posts

I have sent you the link, so get back to us with results.

Regards

6
11/22/2011 10:47:18 PM
647 Reputation 69 Total posts

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?

7
11/22/2011 11:26:41 PM
647 Reputation 69 Total posts

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)

8
11/23/2011 7:24:50 PM
15993 Reputation 2214 Total posts

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

9
11/24/2011 12:18:05 AM
647 Reputation 69 Total posts

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.

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