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...Upgrading DNN P...Upgrading DNN P...Manual Upgrade: Images and AttachmentsManual Upgrade: Images and Attachments
Previous
 
Next
New Post
9/28/2015 10:17 AM
 

I have an old site running on DNN 5.06.02 that I'm in the process of upgrading to 7.4.1.  I never could get the old site staged locally on webmatrix and since there were so many changes to be made I decided to just rebuild it from scratch and import all the data from the old site.  Everything was going well until I got to trying to transfer over the users image data.  It appears that  each user has a folder created in the Portals/0/Users folder which contains a number, with one or more nested folders under that.  For example Users/002/02/2, with the final subfolder being where uploaded image files are actually stored.  The problem is how do you migrate this data to a new installation, given that DNN auto-generates the folder names and there does not appear to be any logic to the numbers that are used.  Since the folder numbers do not correspond to the UserID column of the Users table, how can I programmatically determine which folders are associated with which users?  I can not find any data in the tables which relate users to their respective upload folders.  This folder scheme really makes it hard to port data over, since now I have to write a program that creates folders with the appropriate names, which I can't even do without documentation on how these names are generated.

Another thing I don't understand is what the numbers stored in the PropertyValue column of the UserProfile table for photo uploads represents.  When the user adds a photo to their profile, the UserProfile entry just contains a number rather than the file name of the photo that was uploaded.  How does this map to the actual image file?

 

 

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Manual Upgrade: Images and AttachmentsManual Upgrade: Images and Attachments


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