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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Changes to module zip file for 5.0?Changes to module zip file for 5.0?
Previous
 
Next
New Post
1/1/2009 10:47 PM
 

Hi Charles, Mitchell and others

Many thanks for these sources. I look forward to exploring them more thoroughly.

Meanwhile I have installed my modules to 5.0 in a round about way that may be useful to others. I uploaded them to 4.9.1 from the zip package then upgraded 4.9.1 to 5.0. I can then generate a "first-cut" module manifest from the installed modules via host>module definitions>clicking pencil icon beside one of my modules to go to edit extensions>create package-next> chose file to include - next>choose assmblise to include-next>create manifest-next>create package-next. Unfortunately this did not pick up the dlls so some of the screens in this wizard are incomplete and the spelling needs a check, too.

This has also revealed a couple of issues in my software which is very closely integrated into DNN core elements such as  profile properties. I also use some built in SQL views that seem to be creating a problems, see this error message when I run the 01.00.00.SqlDataProvider file as script a in 5.0.

System.Data.SqlClient.SqlException: Invalid column name 'ModuleName'. 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) CREATE procedure dbo.[MheLtd_GetMaxModuleIDByFriendlyName] -- note this stored procedure actually gets the max module id from the ModuleName @PortalId int, @FriendlyName nvarchar(128) AS SELECT MAX(dbo.vw_Modules.ModuleID) as ModuleID FROM dbo.vw_Modules INNER JOIN dbo.ModuleDefinitions as MD ON dbo.vw_Modules.ModuleDefID = MD.ModuleDefID WHERE ((PortalId = @PortalId) or (PortalId is null and @PortalID is null)) AND dbo.vw_Modules.ModuleName = @FriendlyName AND IsDeleted = 0

All suggestions welcome.

Kind regards

Geoffrey


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
1/3/2009 10:17 AM
 

Hi Charles

Many thanks for these links, they look to be just what I needed, but they didn't come up when I searched probablt because I didn't know that what I was looking for was called the extension installer manifest. I will update my little map when I have a better idea of what I am looking for.

Kind regards

Geoffrey


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
1/3/2009 12:02 PM
 

Hi folks

I am still getting the same error as I started with. This is what I have done. I have installed all my modules in DNN4.9.1. Upgraded to DNN5.0.0. Created an extension manifest for the simplest module (this worked fine but didn't pick up the dlls). Tested that manifest on another DNN 5.0.0 installetion this worked fine (except, of course, that it didn't have the dlls).

Then I added one dll (ViewGroup.dll) to the zip folder and modified the manifest file thus:

<dotnetnuke type="Package" version="5.0">
  <packages>
    <package name="ViewGroup" type="Module" version="1.0.0">
      <friendlyName>View Group</friendlyName>
      <description>This Yala module lists the names and descriptions of the View Groups.</description>
      <owner>
        <name />
        <organization />
        <url />
        <email />
      </owner>
      <license>This package has no license</license>
      <releaseNotes />
      <components>
        <component type="Module">
          <desktopModule>
            <moduleName>ViewGroup</moduleName>
            <foldername>ViewGroup</foldername>
            <businessControllerClass>MheLtd.Modules.ViewGroup.SqlDataProvider.ViewGroupController</businessControllerClass>
            <supportedFeatures>
              <supportedFeature type="Portable" />
              <supportedFeature type="Upgradeable" />
            </supportedFeatures>
            <moduleDefinitions>
              <moduleDefinition>
                <friendlyName>ViewGroup</friendlyName>
                <defaultCacheTime>0</defaultCacheTime>
                <moduleControls>
                  <moduleControl>
                    <controlKey />
                    <controlSrc>DesktopModules/ViewGroup/ListViewGroup.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>View Groups</controlTitle>
                    <controlType>View</controlType>
                    <iconFile />
                    <helpUrl />
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Edit</controlKey>
                    <controlSrc>DesktopModules/ViewGroup/EditViewGroup.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>Edit View Group</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Order</controlKey>
                    <controlSrc>DesktopModules/ViewGroup/OrderViewGroup.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>Order View Groups</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                  </moduleControl>
                </moduleControls>
              </moduleDefinition>
            </moduleDefinitions>
          </desktopModule>
          <eventMessage>
            <processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
            <processorCommand>UpgradeModule</processorCommand>
            <attributes>
              <businessControllerClass>MheLtd.Modules.ViewGroup.SqlDataProvider.ViewGroupController</businessControllerClass>
              <desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
              <upgradeVersionsList />
            </attributes>
          </eventMessage>
        </component>
        <component type="File">
          <files>
            <basePath>DesktopModules\ViewGroup</basePath>
            <file>
              <path>app_localresources</path>
              <name>EditViewGroup.ascx.resx</name>
            </file>
            <file>
              <path>app_localresources</path>
              <name>ListViewGroup.ascx.resx</name>
            </file>
            <file>
              <path>app_localresources</path>
              <name>OrderViewGroup.ascx.resx</name>
            </file>
            <file>
              <path>yala</path>
              <name>Yala.dnn.config</name>
            </file>
            <file>
              <name>EditViewGroup.ascx</name>
            </file>
            <file>
              <name>ListViewGroup.ascx</name>
            </file>
            <file>
              <name>OrderViewGroup.ascx</name>
            </file>
          </files>
        </component>
        <component type="Assembly">
          <assemblies>
            <assembly>
              <path>bin</path>
              <name>ViewGroup.dll</name>
            </assembly>
          </assemblies>
        </component>
      </components>
    </package>
  </packages>
</dotnetnuke>

Zipped up the manifest file and tried to install it in a clean version of DNN 5.0, whereupon I got this...

Error reading the zip package - see below
 
 
 
StartJob Reading files
Info File viewgroup/app_localresources\EditViewGroup.ascx.resx read successfully
Info File viewgroup/app_localresources\ListViewGroup.ascx.resx read successfully
Info File viewgroup/app_localresources\OrderViewGroup.ascx.resx read successfully
Info File viewgroup\EditViewGroup.ascx read successfully
Info File viewgroup\ListViewGroup.ascx read successfully
Info File viewgroup\OrderViewGroup.ascx read successfully
Info File viewgroup\ViewGroup.dll read successfully
Info File viewgroup\viewgroup.dnn read successfully
Info File viewgroup/yala\Yala.dnn.config read successfully
EndJob Reading files done.
 
StartJob Reading Installation Manifest file
Info Reading Package Manifest - Module - ViewGroup
Info Reading Component Manifest - Module
Info Module Manifest read successfully
Info Reading Component Manifest - File
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\app_localresources\EditViewGroup.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\app_localresources\ListViewGroup.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\app_localresources\OrderViewGroup.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\yala\Yala.dnn.config
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\EditViewGroup.ascx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\ListViewGroup.ascx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\OrderViewGroup.ascx
Info Reading Component Manifest - Assembly
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\bin\ViewGroup.dll

Which brings me back to the problem at the start of the thread. DNN seems to be using a temporary file l2iiq5dn but not reading from it. What am I doing wrong?

Kind regards

Geoffrey


Geoffrey Morton-Haworth www.yalaworld.net
 
New Post
1/25/2009 8:37 AM
 

I have got the same error. please help.

 

Error reading the zip package - see below
 
 
 
StartJob Reading files
Info File DnnBoost.dnn read successfully
Info File DnnBus.Client.dll read successfully
Info File DnnBus.Client.Handlers.Users.dll read successfully
Info File license.txt read successfully
Info File releaseNotes.txt read successfully
Info File Verdify.Provider.CacheProvider.dll read successfully
Info File Verdify.Provider.DNNProvider.dll read successfully
Info File Verdify.Security.CacheMembershipProvider.dll read successfully
Info File Verdify.Security.Membership.Data.dll read successfully
Info File Verdify.SqlDataProvider.dll read successfully
EndJob Reading files done.
 
StartJob Reading Installation Manifest file
Info Reading Package Manifest - Provider - Verdify.Provider.CacheProvider
Info Reading Component Manifest - Assembly
Failure File specified in the dnn could not be found in the zip file: - C:\Projects\dnn500\Website\Portals\_default\Temp\tmddetyo\bin\Verdify.Provider.CacheProvider.dll
Info Reading Component Manifest - File
Info Found valid path () for license.txt.
Info Found valid path () for releaseNotes.txt.
Info Reading Component Manifest - Config
Info Reading Package Manifest - Provider - Verdify.SqlDataProvider
Info Reading Component Manifest - Assembly
Failure File specified in the dnn could not be found in the zip file: - C:\Projects\dnn500\Website\Portals\_default\Temp\tmddetyo\bin\Verdify.SqlDataProvider.dll
Info Reading Component Manifest - File
Info Found valid path () for license.txt.
Info Found valid path () for releaseNotes.txt.
Info Reading Component Manifest - Config
Info Reading Package Manifest - Provider - Verdify.DNNProvider
Info Reading Component Manifest - Assembly
Failure File specified in the dnn could not be found in the zip file: - C:\Projects\dnn500\Website\Portals\_default\Temp\tmddetyo\bin\Verdify.Provider.DNNProvider.dll
Failure File specified in the dnn could not be found in the zip file: - C:\Projects\dnn500\Website\Portals\_default\Temp\tmddetyo\bin\Verdify.Security.Membership.Data.dll
Failure File specified in the dnn could not be found in the zip file: - C:\Projects\dnn500\Website\Portals\_default\Temp\tmddetyo\bin\DnnBus.Client.dll
Failure File specified in the dnn could not be found in the zip file: - C:\Projects\dnn500\Website\Portals\_default\Temp\tmddetyo\bin\DnnBus.Client.Handlers.Users.dll
Info Reading Component Manifest - File
Info Found valid path () for license.txt.
Info Found valid path () for releaseNotes.txt.
Info Reading Component Manifest - Config
Info Reading Package Manifest - Provider - Verdify.AspNetMembershipProvider
Info Reading Component Manifest - Assembly
Failure File specified in the dnn could not be found in the zip file: - C:\Projects\dnn500\Website\Portals\_default\Temp\tmddetyo\bin\Verdify.Security.CacheMembershipProvider.dll
Info Reading Component Manifest - File
Info Found valid path () for license.txt.
Info Found valid path () for releaseNotes.txt.
Info Reading Component Manifest - Config

 

 

Geoffrey Morton-Haworth wrote

Hi folks

I am still getting the same error as I started with. This is what I have done. I have installed all my modules in DNN4.9.1. Upgraded to DNN5.0.0. Created an extension manifest for the simplest module (this worked fine but didn't pick up the dlls). Tested that manifest on another DNN 5.0.0 installetion this worked fine (except, of course, that it didn't have the dlls).

Then I added one dll (ViewGroup.dll) to the zip folder and modified the manifest file thus:


 
   
      View Group
      This Yala module lists the names and descriptions of the View Groups.
     
       
       
       
       
     

      This package has no license
     
     
       
         
            ViewGroup
            ViewGroup
            MheLtd.Modules.ViewGroup.SqlDataProvider.ViewGroupController
           
             
             
           

           
             
                ViewGroup
                0
               
                 
                   
                    DesktopModules/ViewGroup/ListViewGroup.ascx
                    False
                    View Groups
                    View
                   
                   
                 

                 
                    Edit
                    DesktopModules/ViewGroup/EditViewGroup.ascx
                    False
                    Edit View Group
                    Edit
                   
                   
                 

                 
                    Order
                    DesktopModules/ViewGroup/OrderViewGroup.ascx
                    False
                    Order View Groups
                    Edit
                   
                   
                 

               

             

           

         

         
            DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke
            UpgradeModule
           
              MheLtd.Modules.ViewGroup.SqlDataProvider.ViewGroupController
              [DESKTOPMODULEID]
             
           

         

       

       
         
            DesktopModules\ViewGroup
           
              app_localresources
              EditViewGroup.ascx.resx
           

           
              app_localresources
              ListViewGroup.ascx.resx
           

           
              app_localresources
              OrderViewGroup.ascx.resx
           

           
              yala
              Yala.dnn.config
           

           
              EditViewGroup.ascx
           

           
              ListViewGroup.ascx
           

           
              OrderViewGroup.ascx
           

         

       

       
         
           
              bin
              ViewGroup.dll
           

         

       

     

   

 

Zipped up the manifest file and tried to install it in a clean version of DNN 5.0, whereupon I got this...

Error reading the zip package - see below
 
 
 
StartJob Reading files
Info File viewgroup/app_localresources\EditViewGroup.ascx.resx read successfully
Info File viewgroup/app_localresources\ListViewGroup.ascx.resx read successfully
Info File viewgroup/app_localresources\OrderViewGroup.ascx.resx read successfully
Info File viewgroup\EditViewGroup.ascx read successfully
Info File viewgroup\ListViewGroup.ascx read successfully
Info File viewgroup\OrderViewGroup.ascx read successfully
Info File viewgroup\ViewGroup.dll read successfully
Info File viewgroup\viewgroup.dnn read successfully
Info File viewgroup/yala\Yala.dnn.config read successfully
EndJob Reading files done.
 
StartJob Reading Installation Manifest file
Info Reading Package Manifest - Module - ViewGroup
Info Reading Component Manifest - Module
Info Module Manifest read successfully
Info Reading Component Manifest - File
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\app_localresources\EditViewGroup.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\app_localresources\ListViewGroup.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\app_localresources\OrderViewGroup.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\yala\Yala.dnn.config
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\EditViewGroup.ascx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\ListViewGroup.ascx
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\OrderViewGroup.ascx
Info Reading Component Manifest - Assembly
Failure File specified in the dnn could not be found in the zip file: - C:\DotNetNuke\DNN500Test\Portals\_default\Temp\l2iiq5dn\bin\ViewGroup.dll

Which brings me back to the problem at the start of the thread. DNN seems to be using a temporary file l2iiq5dn but not reading from it. What am I doing wrong?

Kind regards

Geoffrey

 
New Post
1/25/2009 12:08 PM
 

Try adding a <version> item inside the assembly, I doubt its a requirement, but thats how I packaged up my Photo Gallery module. Also, does the packaged zip contain a folder for app_localresources? or are all the files just flat in a single folder?

 

61
            <assembly>
62
              <path>bin</path>
63
              <name>OliverHine.Escher.dll</name>
64
              <version>0.0.118</version>
65
            </assembly>

 

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Changes to module zip file for 5.0?Changes to module zip file for 5.0?


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