You need to Register for free and Login to post a message in the forum.

Forum

How can i export User Roles to New Dnn Site
Last Post 2010-04-15 10:00 PM by Joseph Craig. 3 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
ReGFXUser is Offline
Nuke Pro
Nuke Pro
Posts:62

--
2010-04-13 09:01 PM
    What is the best way to export user roles to a new DNN site?

    Basically, i have an old DNN 4.x site where i need to export the roles to another DNN 5.x installation.

    Is there a simple SQL DB way to do that? Or maybe an inexpensive module that would help me with this?

    The last thing i want to do is re-create each role

    Please advise work-a-round.

    please help...

    Thanks
    Joseph CraigUser is Offline
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2010-04-15 04:38 AM
    If you want to only move the roles, and nothing associated with the users, you might try:
    • make a copy of the site
    • delete all of the pages and all of the users
    • delete most of the modules and skins
    • export the site
    You can then import the site to your new site, and mostly all that should be imported is the roles.  You could manually edit the export to eliminate other things that you don't want imported.

    You might want to do this early on, before adding other stuff to the site.

    Mind you, this is off the top of my head, so you may need to experiment a bit to get it to do what you want it to do.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    ReGFXUser is Offline
    Nuke Pro
    Nuke Pro
    Posts:62

    --
    2010-04-15 08:44 PM

    Thanks but, Unfortunately, the site is already well underway. We were hoping there was a simple method to export the old DNN 4.x roles into the DNN5 site that’s already set up. The steps mentioned above will not help us in this instance. Note: the souce site already has hundreds of pages.

    So is there no way to export just the user roles from one site to another?

    Not even through SQL?

    Joseph CraigUser is Offline
    DNN Creative Support
    Nuke Master VI
    Nuke Master VI
    Posts:9008
    Avatar

    --
    2010-04-15 10:00 PM
    You will want to compare the Roles  tables in the two sites.  There are 19 columns, including a link to the RolesGroup table.

    You can view the table in the old site and copy the contents.  You can then paste that into the same table in the new site.  You will need to pay attention to the values in the columns if the portalid values do not match.

    You might want to write a query to do this.

    And, I would do this on copies of both databases, just so that you can recover is you break something.

    Joe Craig, DNN Creative Support

    Subscribe to DNNCreative
    I recommend PowerDNN for DotNetNuke Hosting.
    You are not authorized to post a reply.


    Active Forums 4.3

    Latest Forum Posts

    RE: "Good" hosting providers by ejcullen rene
    informative!!!
    RE: URL Master Module doesn't work on IHostASP hosting by ejcullen rene
    informative!!!
    RE: shared web hosting by ejcullen rene
    informative!!. i got hosting service from http://www.thewebpole.com/ my hosting company offers you
    RE: iPhone website logo in DNN root directory by JohnnieD
    I'm supposed to add this link to make my custom logo show up on iPhones. Where in DNN would I a
    iPhone website logo in DNN root directory by JohnnieD
    I'm trying to put an iPhone logo that I made into my site so when someone saves the website on their
    RE: Fixed size container by Joseph Craig
    Use an HTML module and style the container to have a fixed height and width. Set the overflow attr
    Fixed size container by Aggiedan97
    I am looking for advice or an actual container that has a fixed height (and width). An HTML module w
    RE: DNN 6.1 app_offline.htm by Joseph Craig
    If the site "works" in Chrome, Firefox and Safari, but not in IE8 look to IE8 as the problem. It is
    RE: DNN site automatically redirects to a different domain name. by Joseph Craig
    Make a copy what is in the portalalias table and then remove all but the localhost entry. Verify th
    DNN 6.1 app_offline.htm by Dave Hassall
    Hi As recommended I have successfully been using the app_offline.htm whilst performing upgrades t
    RE: DNN site automatically redirects to a different domain name. by imran shaikh
    Hi i have done same as mention in this post my dnn folder name is Trademaxomanupg with
    Enforce Terms Tutorial Update by Vistalogix Corporation
    I tried configuring my DNN 6.1.2 install to have a required "accept terms" checkbox as described in
    RE: Best Practices for Modifying a Custom Module by Joseph Craig
    Start up the development website, then install the module using the package that you have. Then, yo
    Best Practices for Modifying a Custom Module by schilders
    Good Morning, I'm needing to modify a custom built module created by another developer targeted f
    RE: Admin menu problem by alireza arabiyan
    hi in localhost i have http://localhost/senf/خانه.aspx and http://localhost/senf/Admi
    RE: Admin menu problem by Joseph Craig
    Yes, that is what you should have done. What is the URL for your home page? What is the URL for
    RE: Admin menu problem by alireza arabiyan
    hi first in localhost i add my domain.com as portal alias. then copy all files to host , restore my
    RE: Admin menu problem by Joseph Craig
    How did you move it? Have you added an entry in the portalalias table for the site's domain name?
    RE: Re: SQL SERVER 2008 R2 Remote connection by Joseph Craig
    Set up a user with dbo privileges and set the connection string for that user, rather than using Win
    Re: SQL SERVER 2008 R2 Remote connection by Prakasam Srinivasan
    I have successfully configured MSSQL Server 2008 r2 remote connection. I am using windows 7 and it h
    You are not logged in.
    You must log in to access all 
    650+ videos, tutorials, podcasts, and more.
    RSS Feeds