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 23353 time(s), 10 post(s) 19.11.2011 19:08:52by grant.stone007
grant-stone007

grant.stone007

19.11.2011 19:08:52
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.
Dieser Inhalt wurde noch nicht bewertet. 
647 Reputation 69 Total posts
denis

denis

19.11.2011 19:44:34
What is the version of the MonoSoftware.MonoX.DAL.dll in your bin folder?
Dieser Inhalt wurde noch nicht bewertet. 
7207 Reputation 956 Total posts
khorvat

khorvat

20.11.2011 09:50:53
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
grant-stone007

grant.stone007

20.11.2011 20:10:24
My current version of DAL is 4.5.3200.40
Dieser Inhalt wurde noch nicht bewertet. 
647 Reputation 69 Total posts
khorvat

khorvat

21.11.2011 08:54:40
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
khorvat

khorvat

21.11.2011 09:42:21
I have sent you the link, so get back to us with results.

Regards
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
grant-stone007

grant.stone007

22.11.2011 22:47:18
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?
Dieser Inhalt wurde noch nicht bewertet. 
647 Reputation 69 Total posts
grant-stone007

grant.stone007

22.11.2011 23:26:41
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)
Dieser Inhalt wurde noch nicht bewertet. 
647 Reputation 69 Total posts
khorvat

khorvat

23.11.2011 19:24:50
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
Bewertet mit 5,00, 1 Besucher. 
15993 Reputation 2214 Total posts
grant-stone007

grant.stone007

24.11.2011 00:18:05
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.
Dieser Inhalt wurde noch nicht bewertet. 
647 Reputation 69 Total posts