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 ...Help Required in DotNetNuke(urgently)Help Required in DotNetNuke(urgently)
Previous
 
Next
New Post
6/6/2008 1:48 AM
 
hi, i am facing problem in customizing the DNN account login module. basically i want to restrict the text fields named as first name, last name, e mail, user name etc. i got an error after pasting the DonNetNuke.dll in the web's directory which was like this while opening the web page on my local machine using localhost. Value cannot be null. Parameter name: type Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentNullException: Value cannot be null. Parameter name: type Source Error: Line 80: Line 81: 'Determine the Upgrade status and redirect to Install.aspx Line 82: Select Case GetUpgradeStatus() Line 83: Case Globals.UpgradeStatus.Install Line 84: If AutoUpgrade Then Source File: G:\Cycling by numbers\DotNetNuke\onTrack\App_Code\Global.asax.vb Line: 82 Stack Trace: [ArgumentNullException: Value cannot be null. Parameter name: type] System.Activator.CreateInstance(Type type, Boolean nonPublic) +2843963 System.Activator.CreateInstance(Type type) +6 DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) +49 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +892 DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) +45 DotNetNuke.Data.DataProvider.CreateProvider() +54 DotNetNuke.Data.DataProvider..cctor() +28 [TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.] DotNetNuke.Data.DataProvider.Instance() +0 DotNetNuke.Entities.Portals.PortalSettings.GetProviderPath() +24 DotNetNuke.Common.Globals.GetUpgradeStatus() +147 DotNetNuke.Common.Global.CheckVersion() in G:\Cycling by numbers\DotNetNuke\onTrack\App_Code\Global.asax.vb:82 DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in G:\Cycling by numbers\DotNetNuke\onTrack\App_Code\Global.asax.vb:313 please! help me how can i handle this problem????? Thanks & Regards, Hafiz Farhan Anjum pakistan
 
New Post
6/6/2008 7:58 AM
 

From just a quick glance; my sleep deprived brain says that it is looking to upgrade and not finding what it needs. So it doesn't look like an issue in your custom login module, but in the version(s) of DNN you are using.

I could be totally wrong.  But that's what it looks like to me. :)

 
New Post
6/6/2008 8:27 AM
 

can you plz tell me some thing? basically i want to limit the size of the text boxes shown on the registration module. how can i do?? i have found that there is a file located in the library named as userinfo.vb. when i changed this file, to limit the size of the text boxes then a file with the name of dotnetnuke.dll is changed. i have to place this file in my website to which i am going to limit the size of the text fields. but when i replaced the file with this file then i got this kind of error.

can u tell me plz teoll me that when we change the code in the library then compile them and then where i have to place the updated files?

or plz tell me that how we change the library code. and how i place it in my own web??

reply me as early as possible.

i shall be very thankful to you.

 

Farhan

(Pakistan)

 
New Post
6/6/2008 8:39 AM
 

Modifying the source code is usually discouraged.  You will spin your wheels learning about the ins and outs of the code, and you will leave yourself with a system that is difficult to update.

Instead, I'd recommend that you find one of the commercial modules that replace the Login and Registration modules and use them.  In particular, I believe that the Dynamic Registration and Dynamic Login modules from DataSprings are very good, and will do everything that you need.  In the long run, they will also save you money and a TON of frustration.




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
6/6/2008 8:41 AM
 

You can modify the ascx file and not need to recompile anything. To limit the number of characters a textbox will take add     MaxLength="X"    inside the asp:textbox tag. It will look somthing like        <asp:textbox ... MaxLength="10">.   The ... are the other tags there already.

If you want to adjust the size of the text box, then do the same type of thing, except instead of MaxLength, use Width.

At the moment I have no idea which ascx file it is, or where it goes/is on the server. But if you've found the code file, it should be in the same location.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help Required in DotNetNuke(urgently)Help Required in DotNetNuke(urgently)


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