Mono Support custom user registration form error (Zatvorena)

64776 put(a) pogledan, 3 odgovor(a), 30.10.2012. 17:31:24 - Kreirao(la) Codeplumber
30.10.2012. 17:31:24
48 Reputacija 3 Ukupno objava

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
31.10.2012. 9:02:06
48 Reputacija 3 Ukupno objava

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
31.10.2012. 10:04:38
15993 Reputacija 2214 Ukupno objava

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
Ovo je MonoX demo site. Posjetite Mono Software za više detalja.