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 (Zatvorena) (Mono Support )

35686 put(a) pogledan, 9 odgovor(a) 17.7.2013. 13:32:42Kreirao(la) mev9669
mev9669

mev9669

17.7.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
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
khorvat

khorvat

17.7.2013. 14:10:39
Can you let us know what MonoX version are you using ?
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava
mev9669

mev9669

17.7.2013. 14:28:06
4.7.40.4136
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
mev9669

mev9669

18.7.2013. 15:13:01
Any progress on this?
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
kpeulic

kpeulic

18.7.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?
Ovaj sadržaj još nije ocijenjen. 
1849 Reputacija 181 Ukupno objava
mev9669

mev9669

26.7.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)
        {

        }
    }

}
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
kpeulic

kpeulic

26.7.2013. 10:36:47
You can try to change the:

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

<%= MonoSoftware.MonoX.Resources.DefaultResources.Registration_Label_NewsletterSubscription%>
Ovaj sadržaj još nije ocijenjen. 
1849 Reputacija 181 Ukupno objava
Chuck

Chuck

8.7.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?
Ovaj sadržaj još nije ocijenjen. 
35 Reputacija 5 Ukupno objava
khorvat

khorvat

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

Regards
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava