Mono Support Friends page not loading in Mobile site (Closed)

Viewed 35248 time(s), 9 post(s), 7/17/2013 1:32:42 PM - by mev9669
7/17/2013 1:32:42 PM
515 Reputation 67 Total posts

Hi,

I am trying to load the friends page in the mobile version of the site but the page gives the below error.  can you please tell me what might cause this error?

Server Error in '/' Application.Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace: 

[NullReferenceException: Object reference not set to an instance of an object.]
MonoSoftware.MonoX.ModuleGallery.SocialNetworking.PeopleSearch.OnLoad(EventArgs e) +273
System.Web.UI.Control.LoadRecursive() +110
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Control.LoadRecursive() +208
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3367

1
7/17/2013 2:10:39 PM
15993 Reputation 2214 Total posts

Can you let us know what MonoX version are you using ?

2
7/17/2013 2:28:06 PM
515 Reputation 67 Total posts

4.7.40.4136

3
7/18/2013 3:13:01 PM
515 Reputation 67 Total posts

Any progress on this?

4
7/18/2013 3:48:05 PM
1849 Reputation 181 Total posts

Could you download the latest version of the MonoX (v4.8.40.4598) and try to synchronized the module  "..\MonoX\ModuleGallery\Mobile\PeopleSearch.ascx" with your version?

5
7/26/2013 10:15:18 AM
515 Reputation 67 Total posts

I am trying to use this http://www.mono-software.com/Mono/Pages/Discussion/dtopic/fk_vqV39EUaRG56KATl6gQ/How-to-have-a-custom-register-page/?pageno=1&dmsgId=7H3rPEnUG0qv46IHAMLtXA#Post7H3rPEnUG0qv46IHAMLtXA to do the custom web part. But getting the below error

The type or namespace name 'DefaultResources' does not exist in the namespace 'Resources' (are you missing an assembly reference?)

<label style="width: 60%; margin: 0px; padding: 0px; display: inline; text-align: left;"
Line 81: for="<%= chNewsletter.ClientID %>">
Line 82: <%= Resources.DefaultResources.Registration_Label_NewsletterSubscription%></label>
Line 83: </dd>

Page markup:

<%@ Control Language="C#" AutoEventWireup="true" Inherits="ProjectName.Web.Project.WebParts.MembershipEditor"
    CodeBehind="MembershipEditor.ascx.cs" %>
<%@ Import Namespace="MonoSoftware.MonoX.Resources" %>
<%@ Register Src="/MonoX/Controls/TimeZonePicker.ascx" TagPrefix="monox" TagName="TimeZonePicker" %>

in code behind:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ProjectName.Web.Project.WebParts
{

    public partial class MembershipEditor : MonoSoftware.MonoX.ModuleGallery.MembershipEditor
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }
    }

}

6
7/26/2013 10:36:47 AM
1849 Reputation 181 Total posts

You can try to change the:

<%= Resources.DefaultResources.Registration_Label_NewsletterSubscription%>
with the:

<%= MonoSoftware.MonoX.Resources.DefaultResources.Registration_Label_NewsletterSubscription%>

7
7/8/2014 5:54:21 PM
35 Reputation 5 Total posts

I am getting this error in version 4.9.40.4906.  Can you offer any suggestions on how to correct this?

8
7/9/2014 6:56:13 AM
15993 Reputation 2214 Total posts

Chuck we will answer you on a separate thread that is more relevant to your MonoX version.

Regards

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