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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule Creation Errors in 7.2.2Module Creation Errors in 7.2.2
Previous
 
Next
New Post
3/31/2014 12:41 PM
 

I recently upgraded my DNN installation to 7.2.2

I was attempting to create a new module by accessing the Host/Extensions page and clicking the "Create New Module" button. I filled out all the information and upon submitting it I get the following error:

There was an error importing the module control, please see the event log for further details

The control was created and the Extension is listed on the page. I went into the extension and added a Module Definition. However, when I attempt to add the control to the definition it appears to try and open a modal popup from within a modal popup and all I get is a darkened screen with no ability to do anything.

This worked fine prior to the upgrade to 7.2.2

 
New Post
4/1/2014 7:33 PM
 
I believe it's a known error that is scheduled for a fix in 7.3.0 - I would recommend you create a new page and add a copy of the "module creator" module which has a similar (but more powerful) interface and works as expected.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
4/16/2014 11:45 AM
 

Unfortunately, when I tried this I got the following error:

System.Data.SqlClient.SqlException (0x80131904): The INSERT statement conflicted with the FOREIGN KEY constraint "FK_DesktopModulePermission_Roles". The conflict occurred in database "Gasser_DNN", table "dbo.Roles", column 'RoleID'. The statement has been terminated. at System.Data.SqlClient.SqlConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.SqlInternalConnection. (SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteScalar() at PetaPoco.Database.ExecuteScalar[T](String sql, Object[] args) at DotNetNuke.Data.PetaPoco.PetaPocoHelper.ExecuteScalar[T](String connectionString, CommandType type, Int32 timeout, String sql, Object[] args) at DotNetNuke.Data.SqlDataProvider.ExecuteScalar[T](String procedureName, Object[] commandParameters) at DotNetNuke.Data.DataProvider.AddDesktopModulePermission(Int32 portalDesktopModuleID, Int32 permissionID, Int32 roleID, Boolean allowAccess, Int32 userID, Int32 createdByUserID) at DotNetNuke.Security.Permissions.DesktopModulePermissionController.AddDesktopModulePermission(DesktopModulePermissionInfo objDesktopModulePermission) at DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortal(Int32 portalID, Int32 desktopModuleID, Boolean addPermissions, Boolean clearCache) at DotNetNuke.Entities.Modules.DesktopModuleController.AddDesktopModuleToPortals(Int32 desktopModuleID) at DesktopModules.Admin.ModuleCreator.CreateModule.CreateModuleDefinition() ClientConnectionId:d39a986e-8934-4332-8955-4c5ad583fbd6 

When I then go into Host>Extensions I see that it did create the module, but the same issue exists with the missing module definition.
 
New Post
4/18/2014 10:49 AM
 

What's worse is I just tried to install an extension that I downloaded a trial for and got the same error, stopping the install wizard.

 
New Post
4/18/2014 11:41 AM
 
please make sure, there are roles -1, -2 and -3 in your Roles table.
any other module permission with a role specified need the role to be existing.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesModule Creation Errors in 7.2.2Module Creation Errors in 7.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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out