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
3/18/2010 4:21 PM
 

No I haven't had any success yet.  :(  If I do I will post it right away.

 
New Post
3/18/2010 6:32 PM
 
Hi ModuleDefValidator.ascx is not used in DNN 5.2.3 / DNN 5.2.2 so I think you can safely ignore this error. Thanks.


Alex Shirley


 
New Post
3/18/2010 6:59 PM
 

Hi Alex,

Thank you for answering.  I would like to ignore it but it is rendering the module upload page useless.  I've done some more research and I am actuall getting all of the errors below.  I've seen other people with the same issue but no fix.

HOST > Module Definition

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 ---

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 ---
 

HOST > Languages

Error: Languages is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/Localization/Languages.ascx' does not exist. ---> System.Web.HttpException: The file '/Admin/Localization/Languages.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 ---

Error: Skins is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: The file '/Admin/Skins/EditSkins.ascx' does not exist. ---> System.Web.HttpException: The file '/Admin/Skins/EditSkins.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 ---

 

 
New Post
3/18/2010 7:10 PM
 

The problems you're getting now have to do with the paths to those files being wrong. They were moved in DNN5 to be /desktopmodules/admin/*** It looks like something failed during your upgrade. 

In the 05.00.00.SqlDataProvider script there is a bunch of updated SQL that needs to be run. 

Having not read your full post (I caught this in the moderation queue) is it possible you can restore your backup you made (hopefully) before upgrading and try the upgrade process again? If not, open up the file for the 05.00.00 script and try running that in your HOST/SQL window.

/providers/dataprovider/sqldataprovider/05.00.00.sqldataprovider

If your HOST SQL window doesn't work either you can open that file in a text editor and replace {databaseOwner} with dbo. and replace {objectQualifier} with nothing "" 

for example, this is a sub section of that file

 

/* Update SQL Module */

/*********************/

 

DECLARE @ModuleDefID int

SET @ModuleDefID = (SELECT ModuleDefID FROM {databaseOwner}{objectQualifier}ModuleDefinitions WHERE FriendlyName = 'SQL')

 

UPDATE {databaseOwner}{objectQualifier}DesktopModules

SET FolderName = 'Admin/SQL',

   IsPremium = 1

WHERE ModuleName = 'SQL'

 

UPDATE {databaseOwner}{objectQualifier}ModuleControls

SET ControlSrc = 'DesktopModules/Admin/SQL/SQL.ascx',

   IconFile = '~/images/icon_sql_32px.gif'

WHERE ControlSrc = 'Admin/Portal/SQL.ascx'

   AND ModuleDefID = @ModuleDefID

 

GO

 

 

after replacement it would become

/* Update SQL Module */

/*********************/

 

DECLARE @ModuleDefID int

SET @ModuleDefID = (SELECT ModuleDefID FROM dbo.ModuleDefinitions WHERE FriendlyName = 'SQL')

 

UPDATE dbo.DesktopModules

SET FolderName = 'Admin/SQL',

   IsPremium = 1

WHERE ModuleName = 'SQL'

 

UPDATE dbo.ModuleControls

SET ControlSrc = 'DesktopModules/Admin/SQL/SQL.ascx',

   IconFile = '~/images/icon_sql_32px.gif'

WHERE ControlSrc = 'Admin/Portal/SQL.ascx'

   AND ModuleDefID = @ModuleDefID

 

GO

 

(assuming in your web.config file you have dbo defined as the databaseowner setting and "" as the objectqualifier setting.

 

 


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
3/18/2010 7:12 PM
 

As I said in the previous post, I would highly recommend you try to do the upgrade again. Running the SQL I suggest may fix this issue, but if any other SQL failed you may run into other issues down the road.


Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
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