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...ModuleDefinitions.ascx Error when upgrading 4.9 to 5.2.2ModuleDefinitions.ascx Error when upgrading 4.9 to 5.2.2
Previous
 
Next
New Post
4/30/2010 11:02 AM
 

Hi Mike,

I had catalook installed too when I was trying to upgrade.  But it didn't cause me any issues when upgrading DNN.  I never had to uninstall it.  I guess I'm kind of confused.  Are you getting an error on the host/module definition pages or are they not coming up at all?  Can you at least get to the home page of your site?  I had a really hard time getting mine upgraded so I would love to help in any way I can. 

You can email me if you like.... lisa0440 at gmail.com

Lisa

 
New Post
5/1/2010 11:44 AM
 

Lisa,

This editor really blows, sorry to say.  The sequence of items in my cut and paste changed, bold and underlines are inserted where they don't belong, etc.  I'll attach the file to an email for you.  But at least the info is here for anyone else who might realize what is up.

I forwarded you the email I sent to my higher up.  This is a real problem for both of us.  There is quite a bit to digest but in a nutshell, I upgraded 4.9.5 to 5.2.2.  Then I backed up the db and site for this stage, upgraded 5.2.2 to 5.4.1.  I got the errors when browsing to the module definitions in Host that you already have the text off but come to think of it, I'll show those here as well.

It's a load to read but all steps I took are well documented.

One issue, where the tabs for Admin | Host were not displaying at all in 5.2.2 turned out to be settings that persisted for the IsSecure flag for dnn_tabs.  This got all tabs but the ones I mention displaying.  I tried upgrading to 5.4.1 hoping this would resolve it.

You already have the text of the errors so I'll inclue my upgrade path outline.

I'd love to have your help and anyone viewing this could also assist.

Mike

 

29 Apr 2010:

Before starting/restarting an upgrade sequence:

Back up doa.ovionx.com in a new unit of time
 

Back up the database in a new unit of time
 

Security Settings for Website folder can blow -- make sure Network Service privileges are re-set. This may be being caused when the upgrade package is unzipped.

When restoring a database be sure to set the file capacity to unrestricted.

When starting @ 495 with the db bak file of NEW_DOA-Full-CATRemoved.bak be sure to use the skins file above WITH the script and role function removed

Remove any 5.x dll files if you have to restore back to 4.9.5. In particular is the DotNetNuke.Modules.Html.dll.

When restoring to 4.9.5, delete the C:\WebShare\newdoa.ovionx.com\Website\Providers\DataProviders\SqlDataProvider folder. This is to remove any scripts from higher versions of DNN before another upgrade attempt is done.

Remove from the web.config | http modules references to the ovionx.httpmodules and ifinity, be sure to use the DNN friendly urls provider; also delete the entry from providers section.

This is already handled by using the saved release config files under BackupConfigs in my WebFTPShare folder. Just change the initial catalog in the connection strings.

in the js folder we have a customized /plugins folder so that DNN can't overwrite it. These js files reference Catalook.

Skins - remove the following from the skins file collectors.ascx in the Skins | DOA folder
C:\WebShare\doa.ovionx.com\Website\Portals\_default\Skins\DOA

<

script type="text/javascript" src ="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js">script>

<%

If PortalSecurity.IsInRole("Administrators") Then %>

<

script type="text/javascript">jQuery.noConflict();
script>

<%

End If %>

Follow the upgrade sequence below.

 

Re-Upgrade Sequence from Restore of the CATRem backup

Check against the above sequence to make sure it is complete

Restore from the CATRem bak file over the DOA db
Done

Run the 5.0.1/2 scripts against the db. These are the .sql files in the /DOA folder in my Webftpshare folder
Done

Update the dnn_Version table
Done

Restore the 495 backup over the doa.ovionx.com folder -- follow the applicable steps above, ensuring to remove 5.x dll files and delete the /sqldataprovider folder contents. Check for any applicable steps.
Done

Check that the backup configs are in Website/
Done

The copied web config files are backups of the 495, 522 and 541 web configs; there are also several *release.config files.

Make a DOA_495 copy Done
Delete web.config Done
Copy and paste the 495_2_522_release.config file. Done
Rename the copy to web.config Done

Remove keys for url rewriters in httphandlers and providers in the web config, use only the dnn url rewriter. This should already be done as the pre-set release.config files already are set up. See https://my.re-invent.com/helpdesk/KB/a166/dotnetnuke-dnn-installation-upgrade-options-and-instructions.aspx as needed. This link was referenced when setting up these files.
Done

Make sure the initial catalog is set from NEW_DOA to DOA.
Done The HTML is alread removed as mentioned above in the skins file section. Rename the collectors.ascx and collectors-copy appropriately. This way you keep a backup.
Checked

Do the upgrade path on the test site:

Reinstall the modules for Catalook

Backup the CAT folders in /Desktop Modules -- reinstall these file by file from a backup once Cat 6.0.8 is installed. We customized these files.

Script the content back in

Check that it all works

Settings table can't be copied probably due to credit card protections in place.

 

Write these down and otherwise confirm on the live site upgrade that we have these settings to hand.


495 to 522
Ensure the above sequence is done Done, needed to reset to unrestricted growth
Unzip the 522 upgrade zip in my webftpshare folder/DNN Versions over the /Website folder Done
Open the C:\WebShare\doa.ovionx.com\Website\Providers\DataProviders\SqlDataProvider folder and remove the scripts for 5.0.0 and 5.0.1 Done
Verify all web.config edits are correct Done

Upgrade to 522. Do the rest of the upgrade later in the sequence Done
NB: In the test upgrades, all errors were checked and verified on the DNN site that they're being handled at least in 5.3.0
Reinstall iFinity -- copy over web config entries from 495 copy. Add these to the appropriate sections. make sure iFinity is in the appropriate sections and is the default friendly url provider. REPLACE the key in the section; ADD the key to the provider section. Done
Browse to the site Done
Check that admin and host links work They don't work -- Reason why is the dnn_Tabs | IsSecure was set true as this is a copy of the live site. We don't use SSL on the dev site. This is reset and they do work now. The query to do this is dnn_Tabs_IsSecure-Set_False.sql.
An error we do get at this point is DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist as well as DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/ModuleDefinitions/ModuleDefValidator.ascx' does not exist. Per Alex Shirley forum entry this can be safely ignored but not the case -- module definitions page won't load for Hosts | Module Definitions without this error repaired.

Ensure the rest of the site works Done
Backup the site and database at this point.Done
Continue with upgrade to 541

522 to 541
Make a DOA_522 copy of web.config.Done
Delete web.config Done
Copy and paste the 522_2_541_release.config file -- make sure iFinity is in the appropriate sections and is the default friendly url provider. REPLACE the key in the section; ADD the key to the provider section. Done
Ensure the db initial catalog is DOA and not NEW_DOA Done
Rename the copy to web.config Done

Ensure the above sequence is done Done
Unzip the 541 upgrade zip in my webftpshare folder/DNN Versions over the /Website folder Done
Delete the 5.00.00 and 5.00.01 scripts from C:\WebShare\doa.ovionx.com\Website\Providers\DataProviders\SqlDataProvider
Verify all web.config edits are correct Done
Remove any reference to Telerik.Web.UI in the web.config file and also delete the Telerik.Web.UI.dll file from the website\bin. Apparently there is a conflict between this file and something in DNN Upgrade.

Upgrade to 541
Check that everything works

 

 

 

 

 

 

 

Use the JS included collectors.ascx for 522 -- it breaks if you don't. Use the non-JS included copy of collectors to upgrade to 5.4.1

Upgrade Report for 5.4.1


I always browse to the site every time I start over to make sure I'm working from a known good restore. You will get an error with the Ad Rotator module removed where somehow the above js will initiate something looking for a stored procedure for the module even though it is removed. This is OK for upgrading.

Check this every time a restore is done. Also check to make sure the SQLDataproviders folder has these permissions propagated to it.

 

00:00:00.020 - Upgrading to Version: 05.04.01
00:00:00.030 - Executing Script: 05.02.03.SqlDataProvider Success
00:00:00.130 - Executing Script: 05.03.00.SqlDataProvider Success
00:00:00.701 - Executing Script: 05.03.01.SqlDataProvider Success
00:00:00.701 - Executing Script: 05.04.00.SqlDataProvider Success
00:00:01.211 - Executing Script: 05.04.01.SqlDataProvider Success
00:00:01.241 - Executing Application Upgrades: 05.02.03 Success
00:00:01.241 - Executing Application Upgrades: 05.03.00 Error!
00:00:05.057 - Executing Application Upgrades: 05.03.01 Success
00:00:05.057 - Executing Application Upgrades: 05.04.00 Success
00:00:05.628 - Executing Application Upgrades: 05.04.01 Success
00:00:05.628 - Cleaning Up Files: 05.02.03 Success
00:00:05.628 - Cleaning Up Files: 05.03.00 Success
00:00:05.638 - Cleaning Up Files: 05.03.01 Success
00:00:05.638 - Cleaning Up Files: 05.04.00 Success
00:00:05.638 - Cleaning Up Files: 05.04.01 Success
00:00:05.638 - Updating Config Files: 05.02.03 Success
00:00:05.638 - Updating Config Files: 05.03.00 Success
00:00:05.638 - Updating Config Files: 05.03.01 Success
00:00:05.648 - Updating Config Files: 05.04.00 Success
00:00:05.648 - Updating Config Files: 05.04.01 Success
00:00:05.648 - Performing General Upgrades
00:00:05.708 - Installing Optional Modules:
00:00:05.708 - Installing Package File HTML_Community_05.02.00_Install: Success
00:00:05.928 - Installing Package File Messaging_01.00.00_Install: Error!
00:00:06.048 - Installing Package File Messaging_01.01.00_Install: Error!
00:00:06.148 - Installing Package File Taxonomy_01.00.00_Install: Error!
00:00:06.309 - Installing Package File Taxonomy_01.01.00_Install: Error!
00:00:06.429 - Installing Package File Telerik_05.04.00_Install: Success
00:00:09.213 - Installing Optional Skins:
00:00:09.223 - Installing Optional Containers:
00:00:09.223 - Installing Optional Languages:
00:00:09.223 - Installing Optional Providers:
00:00:09.223 - Installing Package File AspNetMembershipProvider_05.02.00_Install: Success
00:00:09.764 - Installing Package File CorePermissionProvider_05.01.01_Install: Success
00:00:09.784 - Installing Package File CoreSitemapProvider_5.2.0.0_Install: Success
00:00:09.854 - Installing Package File DatabaseLoggingProvider_05.01.01_Install: Success
00:00:09.874 - Installing Package File DNNMembershipProvider_05.01.03_Install: Success
00:00:09.904 - Installing Package File DNNMenuNavigationProvider_05.01.00_Install: Success
00:00:09.974 - Installing Package File DNNTreeNavigationProvider_05.01.00_Install: Success
00:00:10.004 - Installing Package File FckHtmlEditorProvider_02.00.04_Install: Success
00:00:11.256 - Installing Package File FileBasedCachingProvider_05.01.03_Install: Success
00:00:11.286 - Installing Package File FileModuleCachingProvider_05.02.01_Install: Success
00:00:11.326 - Installing Package File MemoryModuleCachingProvider_05.02.01_Install: Success
00:00:11.356 - Installing Package File SchedulingProvider_05.02.01_Install: Success
00:00:11.386 - Installing Package File SearchIndexProvider_05.01.00_Install: Success
00:00:11.406 - Installing Package File SearchProvider_05.01.01_Install: Success
00:00:11.436 - Installing Package File SolpartMenuNavigationProvider_05.01.00_Install: Success
00:00:11.476 - Installing Package File TelerikEditorProvider_05.04.00_Install: Success
00:00:11.696 - Installing Optional AuthSystems:
00:00:11.696 - Installing Package File LiveID_01.00.01_Install: Success
00:00:11.746 - Installing Package File OpenID_02.00.00_Install: Success
00:00:11.796 - Installing Optional Packages:
 

 

All I know at the moment is that this is a known issue, which I'm finding very difficult to reproduce at my end. I've tried all sorts of ways.
If anybody has full and exact steps from the very beginning of an initial clean DNN installation, on how to reproduce this issue - then please let me know.

http://support.dotnetnuke.com/issue/V... Entry by Alex Shirley

there seem to be a problem with delete file permissions for asp.net account.

Cheers from Germany,
Sebastian Leupold

 




00:00:06.048 - Installing Package File Messaging_01.01.00_Install: Error!
00:00:06.148 - Installing Package File Taxonomy_01.00.00_Install: Error!
Nothing located for these errors.

Nothing can be found on these errors.

 


00:00:06.309 - Installing Package File Taxonomy_01.01.00_Install: Error!
 

 

DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist

Problem: No module definitions are showing up after the 522 upgrade and after the further upgrade to 541.

Data: The above directory can't be found at all. Examination of scripts for upgrading DNN database finds:

05.02.00 script, section Update Extensions Module, does update module defintions with a control source of DesktopModules/Admin/Extensions/Editors/EditModuleDefinition.ascxErrors when browsing to Host | Module Definitions after upgrade from 5.2.2 to 5.4.1

05.01.01 script, line 250 updates for a bug re: ImportModuleDefinition.ascx

05.01.00 script on line 250 imports an image for ImportModuleDefinition.ascx

 

Module Definitions

Error Error: Module Definitions is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist. ---> System.Web.HttpException: The file '/Admin/ModuleDefinitions/ModuleDefinitions.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

  

Module Definition Validator

Error Error: Module Definition Validator is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/ModuleDefinitions/ModuleDefValidator.ascx' does not exist. ---> System.Web.HttpException: The file '/Admin/ModuleDefinitions/ModuleDefValidator.ascx' does not exist. at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.ControlUtilities.LoadControl[T](TemplateControl containerControl, String ControlSrc) at DotNetNuke.UI.Modules.ModuleHost.LoadModuleControl() --- End of inner exception stack trace ---

 

00:00:05.928 - Installing Package File Messaging_01.00.00_Install: Error!

 

00:00:01.241 - Executing Application Upgrades: 05.03.00 Error!

 
New Post
5/1/2010 1:41 PM
 

Chris,

Something is happening on my end where the sequence of the entries is all messed up.  I'm also, on dnn login getting some kind of blocking happening and this is scary, just after a McAfee update.

I read your prior entry to this more fully.  Here's what is happening on my end.  To circumvent the errors i was getting in the 5.0.0 and 5.0.1 scripts I did these manually then deleted them out of the dataproviders/sqldataprovider folder for the 5.2.2 and 5.4.1 stages of the upgrade.  So these were run and per SQL 2008 management studio, all executed successfully.

I searched all other scripts for moduledefinitions.ascx, definitions.ascx and any variation.  I can't find where there is a db entry creating these files nor to I see any content in the upgrade zips meant to be loaded to the /admin paths, either in Desktop Modules or in root/admin.

From what i see, at 5.4.1, DNN expects these paths to exist.  They don't.  Per your earlier post the content has been moved to desktopmodules/admin, etc.  that path also does not exist.

Clearly, whatever should be creating the path isn't doing it.  Also, the content files, moduledefinitions.ascx and moduledefvalidator.ascx, do not exist anywhere.  There are no scripts making these controlsrc= entries in any table nor are there files in the zips, nor do they show up otherwise anywhere in the site after upgrade.

I welcome some input.  I've done a THOROUGH search of the scripts and files for any information showing what didn't run, etc.  I can't find it.

If I can email you files showing my upgrade checklist and notes, I think this would be helpful.

Cheers,

Mike Durthaler

 
New Post
5/1/2010 2:24 PM
 

Hi Chris,

Did you try what I posted before that worked for me?  The path for these modules isn't updated in a script.  It is updated with this file....   '\Library\Services\Upgrade\Upgrade.vb    

Since the issue first happened in 5.2.2 I would try to fix that before upgrading to the newer version.  What turned out to be my problem with the module def page is that during the upgrade process it was trying to use certain stored procedures that weren't updated properly.  I'm not sure how it happened but what fixed it was obtaining a script of all stored procedures from a clean install of 5.2.2.  So before upgrading I ran the script to create/alter all stored procedures so that I made sure all were up to date.  Once I did that I ran the upgrade and voila it was successful. 

The paths aren't updated in a script.  They are updated in the source code for dotnetnuke.  If you obtain a copy of the source code and go to the file I mentioned above then do a find for Case "5.1.0"  Alot of changes were made in this section.  You can add debugging lines to this file using the HtmlUtils.WriteFeedback("...") to add logging messages to the upgrade result screen. 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...ModuleDefinitions.ascx Error when upgrading 4.9 to 5.2.2ModuleDefinitions.ascx Error when upgrading 4.9 to 5.2.2


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