Products

Solutions

Resources

Partners

Community

About

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...Administration ...Administration ...Module Definitions ErrorModule Definitions Error
Previous
 
Next
New Post
7/15/2009 1:26 PM
 

I posted this on the dnncreative.com forum and they suggested I try here:

Recently upgraded to 5.01.00. All modules seem to be working but when I go to the Module Definitions area in the host menu, this is what I get:

Error: Module Definitions is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: C:\Inetpub\wwwroot\DotNetNuke\Admin\ModuleDefinitions\ModuleDefinitions.ascx.vb(61): error BC30311: Value of type 'String' cannot be converted to 'System.Version'. ---> System.Web.HttpCompileException: C:\Inetpub\wwwroot\DotNetNuke\Admin\ModuleDefinitions\ModuleDefinitions.ascx.vb(61): error BC30311: Value of type 'String' cannot be converted to 'System.Version'. at System.Web.Compilation.BuildManager.CompileWebFile(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 ---

Can anyone suggest a solution? I have yet to run across anything that resolves it.

 
New Post
7/22/2009 9:06 PM
 

This is a bad data issue as this user control is no longer used in 5.1.0 so it shouldn't be there. 

What were you attempting to do when you get that error?


Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
7/29/2009 3:02 PM
 

I just upgraded to 5.1.1 and I'm still getting this error.

Module Definitions is still visible in the host menu. Plus Extensions, is not visible.

When upgrading I did get an error: 00:00:00.062 - Executing Script: 05.01.01.SqlDataProvider Error! (See 05.01.01.log for more information).

Here's the log:

System.Data.SqlClient.SqlException: 'DF_Packages_IsSystemPackage' is not a constraint.
Could not drop constraint. See previous errors.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)

 

/* Fix bug in drop index in 5.0 script - replay failed part of script */
/**********************************************************************/

ALTER TABLE nuke1.Packages DROP CONSTRAINT DF_Packages_IsSystemPackage

CREATE TABLE nuke1.Tmp_Packages
 (
 PackageID int NOT NULL IDENTITY (1, 1),
 PortalID int NULL,
 Name nvarchar(128) NOT NULL,
 FriendlyName nvarchar(250) NOT NULL,
 [Description] nvarchar(2000) NULL,
 PackageType nvarchar(100) NOT NULL,
 [Version] nvarchar(50) NOT NULL,
 License ntext NULL,
 Manifest ntext NULL,
 [Owner] nvarchar(100) NULL,
 Organization nvarchar(100) NULL,
 Url nvarchar(250) NULL,
 Email nvarchar(100) NULL,
 ReleaseNotes ntext NULL,
 IsSystemPackage bit NOT NULL,
 CreatedByUserID int NULL,
 CreatedOnDate datetime NULL,
 LastModifiedByUserID int NULL,
 LastModifiedOnDate datetime NULL
 )
 
ALTER TABLE nuke1.Tmp_Packages ADD CONSTRAINT DF_Packages_IsSystemPackage DEFAULT ((0)) FOR IsSystemPackage

SET IDENTITY_INSERT nuke1.Tmp_Packages ON

IF EXISTS(SELECT * FROM nuke1.Packages)
  EXEC('INSERT INTO nuke1.Tmp_Packages (PackageID, PortalID, Name, FriendlyName, Description, PackageType, Version, License, Manifest, Owner, Organization, Url, Email, ReleaseNotes, IsSystemPackage, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate)
  SELECT PackageID, PortalID, Name, FriendlyName, Description, PackageType, Version, License, Manifest, Owner, Organization, Url, Email, ReleaseNotes, IsSystemPackage, CreatedByUserID, CreatedOnDate, LastModifiedByUserID, LastModifiedOnDate FROM nuke1.Packages WITH (HOLDLOCK TABLOCKX)')

SET IDENTITY_INSERT nuke1.Tmp_Packages OFF

ALTER TABLE nuke1.Assemblies DROP CONSTRAINT FK_PackageAssemblies_PackageAssemblies

ALTER TABLE nuke1.DesktopModules DROP CONSTRAINT FK_DesktopModules_Packages

ALTER TABLE nuke1.LanguagePacks DROP CONSTRAINT FK_LanguagePacks_Packages

DROP TABLE nuke1.Packages

EXECUTE sp_rename N'nuke1.Tmp_Packages', N'Packages', 'OBJECT'

ALTER TABLE nuke1.Packages ADD CONSTRAINT PK_Packages PRIMARY KEY CLUSTERED ( PackageID )

CREATE UNIQUE NONCLUSTERED INDEX IX_Packages ON nuke1.Packages ( Owner, Name, PortalID )

ALTER TABLE nuke1.LanguagePacks ADD CONSTRAINT FK_LanguagePacks_Packages FOREIGN KEY ( PackageID ) REFERENCES nuke1.Packages ( PackageID ) ON UPDATE  NO ACTION ON DELETE  CASCADE
 
ALTER TABLE nuke1.DesktopModules WITH NOCHECK ADD CONSTRAINT FK_DesktopModules_Packages FOREIGN KEY ( PackageID ) REFERENCES nuke1.Packages ( PackageID ) ON UPDATE  CASCADE ON DELETE  CASCADE

ALTER TABLE nuke1.Assemblies ADD CONSTRAINT FK_PackageAssemblies_PackageAssemblies FOREIGN KEY ( PackageID ) REFERENCES nuke1.Packages ( PackageID ) ON UPDATE  NO ACTION ON DELETE  CASCADE
 

How can I fix this?
 

 
New Post
7/31/2009 2:47 PM
 

I've got the exact same error going from 5.0.1 to 5.1.1 - Is this something to be concerned about?



Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
New Post
8/4/2009 9:02 PM
 

 Good news - restored to 5.00.01 - and retried upgrade and everything was a success!  PHEW!  The site is a large one and I'd have hated to try and move it!



Andrew Walker

Learn to make your own beer and wine at homeIf you enjoy making your own beer and/or wine - be sure to check out http://www.ForemostBrewing.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Module Definitions ErrorModule Definitions Error


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