Hi there,
I've been testing some features of Dynamic Registration. In short I'd like to create a registration proces that allows user A (after registration) to register users B, C and D.
So what have I done so far?
- Created the initial registration page for user A.
This page contains a field for the e-mail address and 2 fields with misc. info I'd like to collect (text fields connected to DNN custom fields). I've setup DR to use the e-mail address as username and generate a password on the fly.
Users are automatically logged in after registration.
They are assigned a security role which allows them to reach the page that should be used to register user B, C and D.
* note: I've setup this page in the Datasprings testsite. Not sure if this site should send out e-mails after registration but if so, I didn't recieve any. Perhaps I overlooked a option in the DR backend.
- So next, I've created a page that's only visible to users that have the right security role. The page only contains a field for the e-mail address. It should allow logged in user A to fill in the e-mail address for (for example) user B, who then gets his login and password e-mailed to him.
Now, when user A uses this page to register user B, he submits the form and gets an error saying "Object reference not set to an instance of an object".
I might have an idea what causes this error but I'm not sure how to solve it:
It looks like the module thinks it's there to have user A update it's profile instead of registrering new users. For example, when user A views the page, the e-mail address for user A is already filled in. Also, the button to submit the form sais "Update profile" instead of "Register".
I'm completely new to DNN/ASP/.NET/MS-based solutions and I'm not sure if the error is related to this situation. If they are not related I hope to find solutions for both seperate problems here 
Thanks in advance,
- Martijn |