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.

custom user registration form error (Closed) (Mono Support )

Viewed 60658 time(s), 3 post(s) 10/30/2012 5:31:24 PMby Codeplumber
Codeplumber

Codeplumber

10/30/2012 5:31:24 PM
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
This content has not been rated yet. 
48 Reputation 3 Total posts
Codeplumber

Codeplumber

10/31/2012 9:02:06 AM
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
Rated 5.00, 1 vote(s). 
48 Reputation 3 Total posts
khorvat

khorvat

10/31/2012 10:04:38 AM
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
This content has not been rated yet. 
15993 Reputation 2214 Total posts