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 ...Integration with another ASP.NET AppIntegration with another ASP.NET App
Previous
 
Next
New Post
1/27/2007 7:14 PM
 

I've installed a demo copy of Feedback Server (an ASP.NET 2.0 app http://www.nsurvey.org) locally and am trying to get it to use the user management features of DNN, i.e. I'd like my DNN users to be able to do surveys in my web-site and have their DNN identity and credentials used by FS.

I have 4.4.1 installed locally using SQL Express 2005 for development - my production destination is SQL Server 2000 in a hosted environment, which of course is the next challenge to migrate all this to.

The help in FS says the following, but I can't quite work out exactly what files to change with what. Any ideas please?

 

ASP.NET 2.0 Membership User Provider 


ASP.NET 2.0 comes with a built in user membership provider that can be easily extended and that offer by default also an Active directory provider. Feedback Server let you replace its default provider with an ASP.net compatible user provider enabling Feedback Server to be fully integrated in your user management systems based on the ASP.net provider.

Once configured the provider will seamlessly redirect all built in user features of Feedback Server to the ASP.net membership provider.

In order to configure the Membership provider you will need to make some small changes to your web.config file using a tool like Notepad.

  1. Locate and uncomment following code by replacing the 


     <connectionStrings>
      <remove name="LocalSqlServer"/>
      <add name= "LocalSqlServer"connectionString="server=yoursqlserver;integrated security=true;Initial Catalog=yourmembershipdatabase" />
     </connectionStrings>

    <roleManager enabled="true" />
      <membership>
       <providers>
        <add connectionStringName="LocalSqlServer" name="MySqlMembershipProvider"
         type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
       </providers>
      </membership>

    Note that this settings are related to the ASP.net 2.0 membership configuration and you will need to setup them accodingly to your current .net configuration. If you dont know how to setup the membership provider in asp.net 2.0 we suggest following reading to start with : Scott Guthrie's membership provder links


  2. Locate and remove following code :

    <!-- Form user provider -->
    <add key="UserProviderAssembly" value= "DataIllusion.FeedbackServer.UserProvider" />
    <add key= "UserProviderClass" value= "DataIllusion.FeedbackServer.UserProvider.FormUserProvider" />


  3. Locate and uncomment following code :

    <!-- ASP.NET membership user provider
    <add key="UserProviderAssembly" value= "DataIllusion.FeedbackServer.MembershipUserProvider" />
    <add key= "UserProviderClass" value= "DataIllusion.FeedbackServer.UserProvider.MembershipUserProvider" /> -->

  4. Locate and set your local settings for following elements :

    <add key="FeedbackServerMembershipUserName" value= ""/> < BR> <add key="FeedbackServerMembershipApplicationName" value=""/>

    FeedbackServerMemberhipName will be the user defined in the asp.net membership provider that will hold by default admin rights inside Feedback Server. This is required as we need at least one administrator when we start Feedback Server for the first time.

    FeedbackServerMemberhipApplicationName (optional) is the application from which the asp.net membership provider will retrieve the users and roles. Leave blank or commented out if you dont know your application name

Once you have configured the new user provider, you may access Feedback Server using any asp.net user membership provider available on the market.


 

Related Topics
User Management Introduction
Active Directory Security AddIn

 

©2006, 2007 Data Illusion. All Rights Reserved.

 
New Post
1/31/2007 7:24 AM
 
You might wish to check out my product the  <shamelessPlug> AuthIntegrator </shamelessPlug> .
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Integration with another ASP.NET AppIntegration with another ASP.NET App


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