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
8/4/2009 9:10 PM
 

I upgraded to 5.1.1 as well and have this same error.  In addition, skins and language under host are not displaying.  Any idea how to get around this with out restoring previous versions?

ashleyo wrote
 

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
12/11/2009 12:21 PM
 

Hi,

I have experienced the same problem when upgrading from 4.9.2. to 5.1.1. I have subsequently upgraded (cleanly) to 5.2.0 but this has not cleared the problems. I get errors when tyring to view module definitions, skins and languages.

Has anybody made progress on this?... or can advise how to solve?

Thanks in advance

Phil

Error: Module Definitions is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: E:\c9webs\c9-new5\Admin\ModuleDefinitions\ModuleDefinitions.ascx.vb(61): error BC30311: Value of type 'String' cannot be converted to 'System.Version'. ---> System.Web.HttpCompileException: E:\c9webs\c9-new5\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 ---

Error: Skins is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: E:\c9webs\c9-new5\Admin\Skins\EditSkins.ascx.vb(175): error BC30456: 'GetSkin' is not a member of 'DotNetNuke.UI.Skins.SkinController'. ---> System.Web.HttpCompileException: E:\c9webs\c9-new5\Admin\Skins\EditSkins.ascx.vb(175): error BC30456: 'GetSkin' is not a member of 'DotNetNuke.UI.Skins.SkinController'. 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 ---

Error: Languages is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: E:\c9webs\c9-new5\Admin\Localization\Languages.ascx.vb(120): error BC30456: 'AddLocale' is not a member of 'DotNetNuke.Services.Localization.Localization'. ---> System.Web.HttpCompileException: E:\c9webs\c9-new5\Admin\Localization\Languages.ascx.vb(120): error BC30456: 'AddLocale' is not a member of 'DotNetNuke.Services.Localization.Localization'. 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 ---

 

 
New Post
1/24/2010 11:17 PM
 

Any solution to this?  Seems to be very widespread issue but no solution to be found!  Any help is much appreciated.

Thanks,

Troy

 

 
New Post
2/4/2010 8:43 AM
 

Having the same issue ... any help greatly appreciated ...

 
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