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

64356 put(a) pogledan, 3 odgovor(a) 30.10.2012. 17:31:24Kreirao(la) Codeplumber
Codeplumber

Codeplumber

30.10.2012. 17:31:24
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
Ovaj sadržaj još nije ocijenjen. 
48 Reputacija 3 Ukupno objava
Codeplumber

Codeplumber

31.10.2012. 9:02:06
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
Ocjena 5,00, 1 glas(ova). 
48 Reputacija 3 Ukupno objava
khorvat

khorvat

31.10.2012. 10:04:38
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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava