Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Affordable ASP.NET Hosting Service
  Ads  
Webhost4Life - $4.95 Windows Hosting
 


  Sponsors  

Meet Our Sponsors

eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
Verndale
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Login Screen not Working Well
Previous Previous
 
Next Next
New Post 2/28/2006 12:40 PM
User is offline Bilal Haidar
136 posts
9th Ranked




Login Screen not Working Well 

Hello:

I have created a new module, copied the Login usercontrol and created a new module, I changed the layout of the login user control.

In my login screen, when the username and password is entered correct, it works fine.
When the user is wrong or password is wrong, I am getitng an exception at:

Dim objAuthentication As New DotNetNuke.Security.Authentication.AuthenticationController

The exception is:
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Object reference not set to an instance of an object.
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Security.Authentication.Configuration..ctor() at DotNetNuke.Security.Authentication.Configuration.GetConfig() at DotNetNuke.Security.Authentication.AuthenticationController..ctor() at test.DNN.Modules.CustomLogin.Login.cmdLogin_Click(Object sender, EventArgs e) in C:\dnn\DesktopModules\CustomLogin\Login.ascx.vb:line 181 --- End of inner exception stack trace ---

Can you help please?

This error is also being generated when using the default Login control. When it comes to this line (mentioned above), it fails. This line is reached only when a username/password is wrong.

Thanks

 
New Post 3/1/2006 10:45 PM
User is offline Will Morgenweck
220 posts
www.activemodules.com
9th Ranked






Re: Login Screen not Working Well 

If all you want to do is change the layout/design then I would probably handle it a little differently.  Are you changing any code in the .vb file?  If it's simply layout and design you want to change then just copy the login.ascx file to a new folder under DesktopModules.  Make any changes you want to the ascx file.  Don't delete any controls.  If you think you need to remove a control then move it to the bottom of the ascx file and set the visibility to false.  Then create a NEW module definition for your new login.ascx file. 

Hope that helps.

Will


Will Morgenweck
Active Modules, Inc.
Social Networking and Community Solutions for DotNetNuke
Active Social - Stop by our booth at Open Force for a demo
www.activemodules.com
 
New Post 3/2/2006 3:25 AM
User is offline Bilal Haidar
136 posts
9th Ranked




Re: Login Screen not Working Well 

Hello:

I did the same, I didn't change anything, just copied the old ascx file to a new one.

However, I needed to add an if statment, when the user is authenticated. But the exception is happening in:

Dim objAuthUsers As New DotNetNuke.Security.Authentication.UserController

One more, thing, the registration by DNN, was replaced by my own registration, on my pc, it works perfect. Online, it is not working well, for example, when i register a new user, records are added to users, aspnet_user, aspnet_membership, no record is added to usersinrole tables. Even, I am unable to login with the new user created.

I am going crazy, don't know what ,migh cause all this.

Can you advise please?

thanks

 
New Post 3/2/2006 2:19 PM
User is offline Bilal Haidar
136 posts
9th Ranked




Re: Login Screen not Working Well 

Hello:

I solved the problem. The problem had nothing to do with security or so.

The problem was, in DNN, there are tables which has columns, whose values are given default values. So when I uploaded my db, I genetrated scripts, with the scripts, those default values were gone. So I were getting no exceptions, but no users added, the exception asking for the default values were not propagading to the DNN site.

Thanks alot.

 
New Post 7/17/2006 11:54 PM
User is offline Aslan KOSE
2 posts
10th Ranked


Re: Login Screen not Working Well 

hi

if you finish  this module send us to :) i just start dnn i didnt like this login screen too. but i couldnt find code. please help

thanks

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Login Screen not Working Well
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Software Development and Integration with DNN
HNP Solutions focuses on the pragmatic use of technology and process to meet an organization's business objectives. HNP Solutions employs seasoned Enterprise and Solution Architects, Delivery Managers and QA & Business Leads. Our capabilities range from project assessments & recommendations, design & code reviews, to full program implementations. We also work with organizations in need of senior staff augmentation purposes in the areas of Enterprise and Solution architecture.
www.hnpsolutions.com
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP