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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Membership provider in dnn 4.5Membership provider in dnn 4.5
Previous
 
Next
New Post
6/29/2007 1:35 AM
 

Hello
I like to write a custom membership provider.
but for step 1 . I like to use dotnetnuke dll for membership like vergion 3.x
do you remember this line in web.config in dotnetnuke 3.x:
<add name="DNNSQLMembershipProvider" type="DotNetNuke.Security.Membership.DNNSQLMembershipProvider, DNNSQLMembershipProvider"/>
I want to use dotnetnuke dll not Asp.net2 dll.
I changed web.config from:
    <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="SiteSqlServer"  />
   to:
<add name="AspNetSqlMembershipProvider" type="DotNetNuke.Security.Membership.AspNetMembershipProvider, DotNetNuke.Provider.AspNetProvider.dll" connectionStringName="SiteSqlServer"  />
but I have a error like:
You must Implement System.Web.Security.SqlMembershipProvider
but I don't know how ???
would  you please help me?
Many Thanks & Best Regards
M.Modarresi

 
New Post
7/9/2007 10:45 AM
 

Hi, I'm no expert here but maybe I can help you. You cannot scape from the ASP.NET Membership provider because DNN uses the ASP.NET 2 membership service (login control for example). The AspNetMembershipProvider does not implements the necessary interfaces. If you want to use your own business logic to register and login users maybe you are looking for a custom Membership Provider. Nevertheless, even writing your own provider you will need to implement the DNN and ASP.NET methods for your app to correctly run.

Anyway, there has been some changes in the provider with DNN 4.5. Maybe someone could verify that this info is still correct?.

Greetings.

 
New Post
8/7/2007 9:04 AM
 

I have a somewhat similar situation and I was wondering if someone could point me in the right direction.

I am part of a team that is getting our company's internal web site up using DNN 4.5.  We have configured DNN to use our Active Directory to handle the logins & membership, which seems to work pretty well.  I have a web application that is contained within an Iframe of this DNN site that uses an ASP.NET 2.0 custom membership provider that I created.  This membership provider uses a separate table to validate users & roles.

Our end goal is to use the DNN w/Active Directory to handle the login & roles for my application as well.  That is, when a user logs into the DNN site, it sets up the permissions & roles within my ASP.NET application as well, so the user doesn't have to log in twice (as they do now).  I will also be able to get rid of the separate table that currently maintains the users for this application.

If anyone has any experience with this or has any thoughts, I would appreciate your comments/suggestions.  Thank you!

 
New Post
8/11/2007 11:00 AM
 

Not sure if this helps, but I have modified the Authentication Controller to auto login the user based on their NT Login.  I turned Windows Authentication on, then added coded to the WindowsSignin.aspx to execute a custom procedure in the Authentication Controller.  This custom process checks our outside user database and will create the DNN user on the fly. It will also update certain profile information and will update/add roles based on a mapping structure we have devised from the payroll record titles.

If the user no longer is in the our outside system, the site will provide a message the user no longer has rights to the website.

We were thinking of using AD, but we are finding that our outside user database that is synched with our payroll database is a better source.  The problem is that it must be edited so network users have their NT Login entered manually or DNN can't match things up.

Good luck.

Jeff

 

 

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Membership provider in dnn 4.5Membership provider in dnn 4.5


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