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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationUsers not being auto-created - DNN4.3.3Users not being auto-created - DNN4.3.3
Previous
 
Next
New Post
8/9/2006 2:17 PM
 

The problem started in the repository module.  The display name was blank.  After looking into it I discovered that the repository module uses the first and last name stored in the UserProfile table.  It looks like the AD authentication new user functionality doesn’t setup any profile information.  Do you think this could be a problem with my AD configuration?  When a new user account is created is the AD authentication supposed to create user profile entries?

 
New Post
8/18/2006 10:19 PM
 
Ok, If you are like me and a few others who have had the trouble with the disapearring "Users" control, you simply need to add any missing display names in the database table "Users" and then the control should display correctly.

Look in the forums here for a stored procedure hack that should provide a more permanent solution to the missing display name issue.

-e
 
New Post
8/31/2006 11:56 AM
 

I have same problem on our DNN4.3.4 site, we need to assign some window auto-login user to different roles, but user account page crash when we try to manage the window auto-login users, I believe it is because null user profile data in database,

anyone could provide a stored procedure to add user profile data? This way, we could user profile page after Window auto-login user created,

thanks

 
New Post
8/31/2006 12:21 PM
 

Quote:

Mine is fully functioning now with new users being automatically logged in and their user details are populated...

Hi, dstahlhut,

Would you share how do you make the auto-login user details populated? Seems many people in this thread have problem to manage auto-login user profile.

thanks

 

 
New Post
9/4/2006 1:53 AM
 

Hi Everyone, i'm a little suprised that this one hasn't been fixed by the 4.3.4 upgrade but I guess they can only squeeze so much stuff into it.

The problem you are experiencing is due an omission in the Stored Proceedure called dbo.AddUser. To apply this fix you need to access and modify this procedure. To do it you will need SQL Server Management Studio Express edition or similar. Download it here http://msdn.microsoft.com/vstudio/express/sql/

In SQL Server Management Express: Open your intanet database. My db is called Intranet, yours could be DNN or DotNetNuke. Click "Programmability", Click "Stored Procedures", find dbo.AddUser right click and select "Modify".

If you are not 100% confident in working with SQL please copy all of the code in this procedure to a .txt file and save it just in case.

Copy this piece of code:

IF ( @DisplayName is null OR @DisplayName = '' )
BEGIN
   SET @DisplayName = @FirstName + ' ' + @LastName
END

And paste it just above the IF @UserID is null code. For this code to work it must be placed before update has taken place.

Refer to this screenshot if you need to: http://www.essentialwebdesign.com.au/dnn/adduser.gif

Once you have pasted this code into your stored Procedure click the "!Execute" button to apply the changes.

Your new users should now automatically generate a DisplayName based on their FirstName + LastName. Make sure your AD has both a first and last name, sounds stupid  but I have seen one user on our domain that only had a first name (due to a slack IT administrator) and that generated errors.

You will need to manually add DisplayNames to those users that tried to log on prior to this fix. To manually modify previous users DisplayNames expand "Tables", open the "dbo.Users" table and change the fields.

Tip: If you ever are having errors trying to view your users in your DNN site. At the bottom of the users page, click "User Settings" and change the "Users Per Page" field to 1. Then you can skip through the users one at a time until you find the user account thats causing the error.

Hope this helps everyone, let me know if you need more help.

Regards,
Darren Stahlhut
Web Developer (ASP.Net & SQL)

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationUsers not being auto-created - DNN4.3.3Users not being auto-created - DNN4.3.3


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