Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...4.5.3 New user registration not working if specific page defined4.5.3 New user registration not working if specific page defined
Previous
 
Next
New Post
6/5/2007 1:31 AM
 

The problem is as follows: Register skin object adds ctl=Register to the current QueryString which is then makes DNN either load a custom User Registration page or just replace current content with User Account module.

With this bug (which I am experiencing on my sites on 4.5.3), ctl=Register generates the following error:

System.Web.HttpException: Could not load type ''. ---> System.ArgumentException: String cannot have zero length. at System.Reflection.Assembly.GetType(String name, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) --- End of inner exception stack trace --- at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at DotNetNuke.Framework.Reflection.CreateType(String TypeName, String CacheKey, Boolean UseCache, Boolean IgnoreErrors)

Any takers?


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
6/5/2007 2:15 AM
 

In the file admin/skins/user.ascx.vb, line 142 needs to be changed:

 

 FROM THIS:

Response.Redirect(NavigateURL(PortalSettings.UserTabId,"returnurl=" & ReturnUrl), True)

TO THIS:

Response.Redirect(NavigateURL(PortalSettings.UserTabId, "Register", "returnurl=" & ReturnUrl), True)

You can simply go to that file, make that change, and IIS will recompile it on the next run.

 

 


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
New Post
6/5/2007 2:26 AM
 

Thanks for both logging and debugging... I am re-opening the issue with a link to this thread.  Sometimes its just difficult for some of the folks working the issue log to reproduce problems with our descriptions.  When in doubt, stick a little extra detail in there... it sure never hurts *grin*.

Cheers!


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
6/5/2007 2:42 PM
 

I made the change but I am still seeing the event log errors.  I stopped and restarted IIS a few times...Any suggestions?

 
New Post
6/5/2007 4:39 PM
 

The proper fix for this issue is the following:

FROM THIS:

Response.Redirect(NavigateURL(PortalSettings.UserTabId,"returnurl=" & ReturnUrl), True)

TO THIS:

Response.Redirect(NavigateURL(PortalSettings.UserTabId, "", "returnurl=" & ReturnUrl), True)

The previous suggestion would still not have loaded the User Page specified in Site Settings.


My comments are my own and are offered WITHOUT PREJUDICE

Shaun Walker
http://www.siliqon.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...4.5.3 New user registration not working if specific page defined4.5.3 New user registration not working if specific page defined


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out