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.

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

Viewed 34996 time(s), 9 post(s) 17.07.2013 13:32:42by mev9669
mev9669

mev9669

17.07.2013 13:32:42
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
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
khorvat

khorvat

17.07.2013 14:10:39
Can you let us know what MonoX version are you using ?
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts
mev9669

mev9669

17.07.2013 14:28:06
4.7.40.4136
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
mev9669

mev9669

18.07.2013 15:13:01
Any progress on this?
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
kpeulic

kpeulic

18.07.2013 15:48:05
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?
Dieser Inhalt wurde noch nicht bewertet. 
1849 Reputation 181 Total posts
mev9669

mev9669

26.07.2013 10:15:18
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)
        {

        }
    }

}
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
kpeulic

kpeulic

26.07.2013 10:36:47
You can try to change the:

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

<%= MonoSoftware.MonoX.Resources.DefaultResources.Registration_Label_NewsletterSubscription%>
Dieser Inhalt wurde noch nicht bewertet. 
1849 Reputation 181 Total posts
Chuck

Chuck

08.07.2014 17:54:21
I am getting this error in version 4.9.40.4906.  Can you offer any suggestions on how to correct this?
Dieser Inhalt wurde noch nicht bewertet. 
35 Reputation 5 Total posts
khorvat

khorvat

09.07.2014 06:56:13
Chuck we will answer you on a separate thread that is more relevant to your MonoX version.

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