Mono Support custom user registration form error (Closed)

Viewed 64119 time(s), 3 post(s), 10/30/2012 5:31:24 PM - by Codeplumber
10/30/2012 5:31:24 PM
48 Reputation 3 Total posts

I explore just the monox project and tried to install a custom registration form like this
http://www.mono-software.com/Blog/post/Mono/112/Building-a-custom-ASP-NET-user-registration-form/

Unfortunately I get an error and I don't know what I did wrong.

System.NullReferenceException wurde nicht von Benutzercode behandelt.
HResult=-2147467261
Message=Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Source=MonoX
StackTrace:
bei MonoSoftware.MonoX.ModuleGallery.MembershipEditor.OnInit(EventArgs e)
bei MonoSoftware.MonoX.ModuleGallery.CustomMembershipEditor.OnInit(EventArgs e) in e:\MonoPortal\MonoX\ModuleGallery\CustomMembershipEditor.ascx.cs:Zeile 64.
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Control.InitRecursive(Control namingContainer)
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:

public partial class CustomMembershipEditor : MonoSoftware.MonoX.ModuleGallery.MembershipEditor
{
....
protected override void OnInit(EventArgs e)
{
base.OnInit(e); // Here comes the error :(
}
....
}
I'm playing with VS 2012(IIS Express) and MonoX v4.7.40.3833

Has anyone an idea may?


Cheers
Alexander

1
10/31/2012 9:02:06 AM
48 Reputation 3 Total posts

Good morning!

It runs!

Yesterday I tested the project as a website. Now I created a Web Application and copied the files to the project and it runs.

Regards
Alexander

2
10/31/2012 10:04:38 AM
15993 Reputation 2214 Total posts

Hi, we are glad that you have find a way to run the code without the exception. If you have any further questions let us know by opening a new topic.

Regards

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