I updated from 2.1.2 to 3.12 last thursday at 21:30. It took me until friday night to get it running correctly. Some of my problems were self inflicted.![Embarrassed [:$]](/emoticons/emotion-10.gif)
Problem 1
After testing the upgrade on my local machine I uploaded my dnn3 directory to the web and tried to upgrade. It kept failing stating that a stored procedure could not be found. I tracked this one down to the existance of \Install\dnn.config. dnn.config contains the current version number and is used to identify if it is necessary to upgrade the database. This file seems to be created as part of the upgrade process. By copying my dnn3 folder to my host I included this file effectively telling dnn that the upgrade had already been done but my db was still ver 2.1.2. Deleting dnn.config allowed the upgrade of my db and solved this problem.
Problem 2
I encountered some problems but eventually got it sorted. My main problem was that a number of users on one of my sites were dropped. They could not sign in. I tried adding them again but got error messages stating that the username was invlaid. I looked at the db and found that the usernames existed in the Users table but not in the aspnet_users table.
After scratching my head for a while
I deleted the offending usernames from the users table and was then able to add them back into the db. The problem would appear to have been related to the number of characters in the users passwords. Those in difficulty had 3 character passwords. In Web.config there is a setting
<code>
<members
<providers>
<add name="DNNSQLMembershipProvider"
minRequiredPasswordLength="4"
</code>
I suspect if I had set this to "0" before the upgrade the users would have migrated without any difficulty.
One username was only 2 characters and also failed migration. I can't find any setting for minimum username length. Have I just missed it?
Problem 3
After migration any subdomains added could not be accessed.
i.e. subdom.mysite.com always returned www.mysite.com
I had only uploaded the files I thought necessary. I omitted *.vb and any .resx files associated with ascx files. I guess I omitted something else that was required, though I don't know what, as everything is now working fine after I uploaded the FULL dnn3 directory.
Is there a list of files that may safely be removed from a hosted environment - to save space? Solution and project files are not necessary. What else can we safely remove?
-dw