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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Module Package DNN 4.5.1Create Module Package DNN 4.5.1
Previous
 
Next
New Post
5/2/2007 6:14 PM
 

I'm just a newbie here.  I've created the "HelloWorld" module per the tutorial in the "DotNetNuke 4.0 Module Developers Guide (Part 1)" By Michael Washington.  It is installed on my development workstation just fine.  But I've used the "Create Module Package" and tried installing it on our Test Server.  What I get is this error.  All other processes passed.  Of course the module doesn't work when added to a page.  Does anyone know what this error is and more important, how do I fix this?

StartJob Start Sql execution: HelloWorld.SqlDataProvider file
Failure SQL Execution resulted in following Exceptions: System.Data.SqlClient.SqlException: Procedure 'AddDesktopModule' expects parameter '@CompatibleVersions', which was not supplied. Cannot insert the value NULL into column 'DesktopModuleID', table 'DotNetNuke.dbo.ModuleDefinitions'; column does not allow nulls. INSERT fails. Procedure 'AddModuleControl' expects parameter '@SupportsPartialRendering', which was not supplied. Procedure 'AddModuleControl' expects parameter '@SupportsPartialRendering', which was not supplied. Procedure 'AddModuleControl' expects parameter '@SupportsPartialRendering', which was not supplied. The statement has been terminated. 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) /************************************************************/ /***** RegisterModule *****/ /***** *****/ /***** Use this script to register a module in the *****/ /***** database using Query Analyzer *****/ /***** *****/ /***** *****/ /***** Note: To manually execute this script you must *****/ /***** perform a search and replace operation *****/ /***** for dbo. and *****/ /***** *****/ /************************************************************/ exec dbo.[AddDesktopModule] @ModuleName = N'HelloWorld', @FolderName = N'HelloWorld', @FriendlyName = N'HelloWorld', @Description = N'A HelloWorld module', @Version = N'01.00.00', @IsPremium = 0, @IsAdmin = 0, @BusinessController = N'KAIGIN.Modules.HelloWorld.HelloWorldController', @SupportedFeatures = 3 declare @DesktopModuleId int select @DesktopModuleId = DesktopModuleId from dbo.[DesktopModules] where ModuleName = 'HelloWorld' exec dbo.[AddModuleDefinition] @DesktopModuleId, @FriendlyName = N'HelloWorld', @DefaultCacheTime = 0 declare @ModuleDefID int select @ModuleDefID = ModuleDefID from dbo.[ModuleDefinitions] where FriendlyName = 'HelloWorld' exec dbo.[AddModuleControl] @ModuleDefID, @ControlKey = NULL, @ControlTitle = NULL, @ControlSrc = N'DesktopModules/HelloWorld/ViewHelloWorld.ascx', @IconFile = NULL, @ControlType = 0, @ViewOrder = NULL, @HelpUrl = NULL exec dbo.[AddModuleControl] @ModuleDefID, @ControlKey = 'Edit', @ControlTitle = 'Edit Content', @ControlSrc = N'DesktopModules/HelloWorld/EditHelloWorld.ascx', @IconFile = NULL, @ControlType = 1, @ViewOrder = NULL, @HelpUrl = NULL exec dbo.[AddModuleControl] @ModuleDefID, @ControlKey = 'Settings', @ControlTitle = 'HelloWorld Settings', @ControlSrc = N'DesktopModules/HelloWorld/Settings.ascx', @IconFile = NULL, @ControlType = 1, @ViewOrder = NULL, @HelpUrl = NULL
EndJob

End Sql execution: HelloWorld.SqlDataProvider file

 

 
New Post
5/2/2007 8:58 PM
 

What version of DotNetNuke is your Test server running? Also try it by checking "Create Manifest File?" but don't check "Supports Private Assembly SubFolder?" 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/2/2007 9:32 PM
 

Both installs are DNN 4.5.1.  And I did create the Module Package with only "Create Manifest File" checked.  I developed this module using WAP and the Starter Kit.

 
New Post
5/2/2007 9:39 PM
 

What is odd is that when I uninstall the module from my development system and then try to install it using the very Module Package I just created, I get the same error.

So.  Either there is something wrong with the packager or I need to self medicate!

 
New Post
5/2/2007 10:18 PM
 

pkailas wrote

I developed this module using WAP

Yeah that tutorial (and the entire Module Developer's Guide) uses the WSP (the default Visual Studio setup). This is what I recommend for those new to DotNetNuke development. Once you get the hang of it then you should give the WAP approach a try. Since I only use the WSP approach I am not sure what is going wrong.

Perhaps one of the users who use WAP knows, or you can try again using the WSP approach I describe in the guide.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Module Package DNN 4.5.1Create Module Package DNN 4.5.1


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