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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error on Module Definitions page after 5.1 upgradeError on Module Definitions page after 5.1 upgrade
Previous
 
Next
New Post
8/5/2009 6:57 PM
 

as an aside, seems that this was reported as a bug at one point but closed.

http://support.dotnetnuke.com/issue/ViewIssue.aspx?ID=10285&PROJID=2

 
New Post
9/4/2009 6:03 AM
 

I have exactly the same issue having upgraded from 4.9.4 to 5.1.2. My upgrade log files are empty, which would appear to indicate that everything went perfectly. No sign of Extensions (Module Defs replacement) and whatever replaced Skins in 5.x.

Please help, somebody, this is a problem that many people are clearly having, and it needs fixing!


Jon Silver
JFDI Phoenix Ltd
Microsoft Gold Certified Partner
 
New Post
9/4/2009 10:39 AM
 

Looking at the database yielded some interesting information:

  1. there's no entry in the Tabs table matching the following line from DotNetNuke.Data.SqlDataProvider

    INSERT INTO {databaseOwner}[{objectQualifier}Tabs] ([TabID], [TabOrder], [PortalID], [TabName], [IsVisible], [ParentId], [Level], [IconFile], [DisableLink], [Title], [Description], [KeyWords], [IsDeleted], [Url], [SkinSrc], [ContainerSrc], [TabPath], [StartDate], [EndDate], [RefreshInterval], [PageHeadText], [IsSecure]) VALUES (36, 25, NULL, N'Extensions', 1, 7, 1, N'~/images/icon_moduledefinitions_16px.gif', 0, N'', N'', N'', 0, N'', NULL, NULL, N'//Host//Extensions', NULL, NULL, NULL, NULL, 0)

    and furthermore, TabID 36 corresponds to the Home page for portal 0
  2. Some objects are missing, for example some foreign key constraints like FK_EventLogConfig_EventLogTypes. Since these appear to be referenced during integration of upgrade data, this could explain why the data isn't there... but not why the upgrade log files are empty.

Jon Silver
JFDI Phoenix Ltd
Microsoft Gold Certified Partner
 
New Post
9/4/2009 1:19 PM
 

I hit a series of similar and I believe related set of problems on a test upgrade from DNN 4.09.02 to 5.01.02 but did show SQL errors in the 05.00.00, 05.01.00, and 05.01.01.log files. All of the errors stemmed from failures to drop and the re-create the Packages table with major changes in its structure. Without the proper columns in the Packages table, many of the administrative controls (which moved from the \admin\controls folder to \DesktopModules\admin folder were not properly registered resulting in errors when navigating to Module Definitions, Extensions (was completely missing), Skins, etc.

Further analysis showed that the root of the problem was failure (in 05.00.00.SqlDataProvider script) when attempting to drop the foreign key constraint FK_DNN_PackageAssemblies_PackageAssemblies on the DNN_Packages table. Apparently back in DNN 4.06.xx or so when the Packages table was added to the database, there was a missing {objectQualifier} token in the name of this FK. For those of us who had defined an objectQualifier in their web.config (in my case it was DNN_, the resulting FK constraint name then became FK_PackageAssemblies_PackageAssemblies. For those not using an objectQualifier, there would be no problem in dropping the FK constraint.

In the 05.01.01.SqlDataProvider script another attempt is made (apprently to fix a related issue of the script not completing when run on MS SQL Server 2000) to restructure the Packages table but that too fails in when first attempting to drop the FK constraint FK_DNN_PackageAssemblies_PackageAssemblies which did not exist. With th FK constraint FK_PackageAssemblies_PackageAssemblies still in place on the Packages table, the table itself could not be dropped and replaced by the newly structured Packages table.

I finally worked around this first on the test site then the production site by directly editing the database to rename the FK constraint "FK_PackageAssemblies_PackageAssemblies on the Packages table to "FK_DNN_PackageAssemblies_PackageAssemblies" before triggering the upgrade. This time the upgrade completed without error and the site appeared to be working well.

Caution: The above would apply ONLY if your site uses a non-blank objectQualifier. If your objectQualifier is something other than "DNN", use that when renaming the FK constraint. As always take a full filesystem and database backup before attempting the upgrade. 


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
9/4/2009 3:09 PM
 

I have the same problem of the host and admin menus not getting updated after the upgrade to 5.1.1, but don't understand databases enough to know how to implement your solution.  If I can figure out SQL Server Mgmt Studio Express enough to rename the FK constraint, how do I re-run the upgrade?

thanks,

karl

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error on Module Definitions page after 5.1 upgradeError on Module Definitions page after 5.1 upgrade


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