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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesmanifest file does not load files in resources.zipmanifest file does not load files in resources.zip
Previous
 
Next
New Post
10/1/2017 2:44 PM
 

 

It is about 4 years ago that I worked on DNN modules. DNN has changed a lot and I have lost touch. I have a hard time catching up.

 

The first problem I have is with the installation through a manifest file. The files in the resources.zip are not found during installation and I get errors as these:

 

Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\zordp55z\App_LocalResources\AcademicYearsEdit.ascx.resx

Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\zordp55z\App_LocalResources\AcademicYearsSettings.ascx.resx

Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\zordp55z\App_LocalResources\AcademicYearsView.ascx.resx

 

 

 

I get this error for all files in Resources.zip. What might I be doing wrong? When I unzip the resources.zip file and drop them in the main zip file, the module installs without complaining and I can debug my code.

 

I tried to attach my manifest file, but this text editor no longer allows attachments, claiming that the Telerik dialogs requires a HTTP handler registration in your web.config file. So I post my manifest file in this message. The fact that view.ascx, edit.ascx and settings.ascx have been renamed is due to the fact that This project will consist of several packages. I had first tried to put the ascx and ascx.cs files in separate folders so I could keep the names, but DNN seems not to like that. So here follows the content of my manifest file:

 

<dotnetnuke type="Package" version="5.0">
  <packages>
    <package name="SchoolAdministration" type="Module" version="00.00.01">
      <friendlyName>Academic Years</friendlyName>
      <description>khmersupport.com SchoolAdministration module</description>
      <iconFile>~/Images/icon_extensions_32px.png</iconFile>
      <owner>
        <name>Marc Vanhemelryck</name>
        <organization></organization>
        <url>/</url>
        <email></email>
      </owner>
      <license src="License.txt"></license>
      <releaseNotes src="ReleaseNotes.txt"></releaseNotes>
      <azureCompatible>true</azureCompatible>
      <dependencies>
        <dependency type="CoreVersion">09.01.01</dependency>
      </dependencies>
      <components>
        <component type="Script">
          <scripts>
            <basePath>DesktopModules\KhmerSupport.SchoolAdministration</basePath>
            <script type="Install">
              <path>Providers\DataProviders\SqlDataProvider</path>
              <name>00.00.01.SqlDataProvider</name>
              <version>00.00.01</version>
            </script>
            <script type="UnInstall">
              <path>Providers\DataProviders\SqlDataProvider</path>
              <name>Uninstall.SqlDataProvider</name>
              <version>00.00.01</version>
            </script>
          </scripts>
        </component>
        <component type="Module">
          <desktopModule>
            <moduleName>AcademicYears</moduleName>
            <foldername>KhmerSupport.SchoolAdministration</foldername>
            <businessControllerClass>khmersupport.Modules.SchoolAdministration.Components.FeatureController, SchoolAdministration</businessControllerClass>
            <supportedFeatures />
            <moduleDefinitions>
              <moduleDefinition>
                <friendlyName>Academic Years</friendlyName>
                <definitionName>Academic Years</definitionName>
                <defaultCacheTime>0</defaultCacheTime>
                <moduleControls>
                  <moduleControl>
                    <controlKey />
                    <controlSrc>DesktopModules/KhmerSupport.SchoolAdministration/AcademicYearsView.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle />
                    <controlType>View</controlType>
                    <iconFile />
                    <helpUrl />
                    <supportsPopUps>False</supportsPopUps>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Edit</controlKey>
                    <controlSrc>DesktopModules/KhmerSupport.SchoolAdministration/AcademicYearsEdit.ascx</controlSrc>
                    <supportsPartialRendering>True</supportsPartialRendering>
                    <controlTitle>Edit Content</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                    <supportsPopUps>True</supportsPopUps>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Settings</controlKey>
                    <controlSrc>DesktopModules/KhmerSupport.SchoolAdministration/AcademicYearsSettings.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>SchoolAdministration Settings</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                    <supportsPopUps>False</supportsPopUps>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                </moduleControls>
              </moduleDefinition>
            </moduleDefinitions>
          </desktopModule>
          <eventMessage>
            <processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
            <processorCommand>UpgradeModule</processorCommand>
            <attributes>
              <businessControllerClass>khmersupport.Modules.SchoolAdministration.Components.FeatureController, SchoolAdministration</businessControllerClass>
              <desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
              <upgradeVersionsList>00.00.01</upgradeVersionsList>
            </attributes>
          </eventMessage>
        </component>
        <component type="File">
          <files>
            <basePath>DesktopModules\KhmerSupport.SchoolAdministration</basePath>
            <file>
              <path>App_LocalResources</path>
              <name>AcademicYearsEdit.ascx.resx</name>
            </file>
           <file>
              <path>App_LocalResources</path>
              <name>AcademicYearsSettings.ascx.resx</name>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>AcademicYearsView.ascx.resx</name>
            </file>
            <file>
              <path>Documentation</path>
              <name>Documentation.css</name>
            </file>
            <file>
              <path>Documentation</path>
              <name>Documentation.html</name>
            </file>
            <file>
              <path>js</path>
              <name>tools.js</name>
            </file>
            <file>
              <path>js\images</path>
              <name>calendar.png</name>
            </file>
            <file>
              <name>AcademicYearsEdit.ascx</name>
            </file>
            <file>
              <name>AcademicYearsSettings.ascx</name>
            </file>
            <file>
              <name>AcademicYearsView.ascx</name>
            </file>
            <file>
              <name>License.txt</name>
            </file>
            <file>
              <name>module.css</name>
            </file>
            <file>
              <name>ReleaseNotes.txt</name>
            </file>
            <file>
              <name>Resources.zip</name>
            </file>
          </files>
        </component>
      </components>
    </package>
  </packages>
</dotnetnuke>

 

 

 
New Post
10/2/2017 3:06 AM
 

The resources.zip folder should not be included within the Files component node but rather in a  separate component node of type="ResourceFile" as in the following example:

 

<component type="ResourceFile">
                    <resourceFiles>
                        <basePath>DesktopModules/WESNet_AVGallery</basePath>
                        <resourceFile>
                            <name>Resources.zip</name>
                        </resourceFile>
                    </resourceFiles>
                </component>

 


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
10/8/2017 4:19 AM
 
Thanks for the advice. I have modified the manifest file accordingly, but the problem persists. I have tried to add the new component at the bottom of the components node, in the middle and now at the top (it shouldn't make a difference, should it?). I have tried to add Resources.zip back as a file component, nothing made a difference. I have tried to check the contents of the Install\temp folder, and I can see that a folder is created, but it disappears in a flash, no time to check the content of the folder.
This is my new manifest file:
<dotnetnuke type="Package" version="5.0">
  <packages>
    <package name="SchoolAdministration" type="Module" version="00.00.01">
      <friendlyName>Academic Years</friendlyName>
      <description>khmersupport.com SchoolAdministration module</description>
      <iconFile>~/Images/icon_extensions_32px.png</iconFile>
      <owner>
        <name>Marc Vanhemelryck</name>
        <organization>khmersupport.com</organization>
        <url>http://www.khmersupport.com/</url>
        <email>support@khmersupport.com</email>
      </owner>
      <license src="License.txt"></license>
      <releaseNotes src="ReleaseNotes.txt"></releaseNotes>
      <azureCompatible>true</azureCompatible>
      <dependencies>
        <dependency type="CoreVersion">09.01.01</dependency>
      </dependencies>
      <components>
        <component type="ResourceFile">
          <resourceFiles>
            <basePath>DesktopModules\KhmerSupport.SchoolAdministration</basePath>
            <resourceFile>
              <name>Resources.zip</name>
            </resourceFile>
          </resourceFiles>
        </component>
        <component type="Script">
          <scripts>
            <basePath>DesktopModules\KhmerSupport.SchoolAdministration</basePath>
            <script type="Install">
              <path>Providers\DataProviders\SqlDataProvider</path>
              <name>00.00.01.SqlDataProvider</name>
              <version>00.00.01</version>
            </script>
            <script type="UnInstall">
              <path>Providers\DataProviders\SqlDataProvider</path>
              <name>Uninstall.SqlDataProvider</name>
              <version>00.00.01</version>
            </script>
          </scripts>
        </component>
        <component type="Module">
          <desktopModule>
            <moduleName>AcademicYears</moduleName>
            <foldername>KhmerSupport.SchoolAdministration</foldername>
            <businessControllerClass>khmersupport.Modules.SchoolAdministration.Components.FeatureController, SchoolAdministration</businessControllerClass>
            <supportedFeatures />
            <moduleDefinitions>
              <moduleDefinition>
                <friendlyName>Academic Years</friendlyName>
                <definitionName>Academic Years</definitionName>
                <defaultCacheTime>0</defaultCacheTime>
                <moduleControls>
                  <moduleControl>
                    <controlKey />
                    <controlSrc>DesktopModules/KhmerSupport.SchoolAdministration/AcademicYearsView.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle />
                    <controlType>View</controlType>
                    <iconFile />
                    <helpUrl />
                    <supportsPopUps>False</supportsPopUps>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Edit</controlKey>
                    <controlSrc>DesktopModules/KhmerSupport.SchoolAdministration/AcademicYearsEdit.ascx</controlSrc>
                    <supportsPartialRendering>True</supportsPartialRendering>
                    <controlTitle>Edit Content</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                    <supportsPopUps>True</supportsPopUps>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Settings</controlKey>
                    <controlSrc>DesktopModules/KhmerSupport.SchoolAdministration/AcademicYearsSettings.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>SchoolAdministration Settings</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                    <supportsPopUps>False</supportsPopUps>
                    <viewOrder>0</viewOrder>
                  </moduleControl>
                </moduleControls>
              </moduleDefinition>
            </moduleDefinitions>
          </desktopModule>
          <eventMessage>
            <processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
            <processorCommand>UpgradeModule</processorCommand>
            <attributes>
              <businessControllerClass>khmersupport.Modules.SchoolAdministration.Components.FeatureController, SchoolAdministration</businessControllerClass>
              <desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
              <upgradeVersionsList>00.00.01</upgradeVersionsList>
            </attributes>
          </eventMessage>
        </component>
        <component type="File">
          <files>
            <basePath>DesktopModules\KhmerSupport.SchoolAdministration</basePath>
            <file>
              <path>App_LocalResources</path>
              <name>AcademicYearsEdit.ascx.resx</name>
            </file>
           <file>
              <path>App_LocalResources</path>
              <name>AcademicYearsSettings.ascx.resx</name>
            </file>
            <file>
              <path>App_LocalResources</path>
              <name>AcademicYearsView.ascx.resx</name>
            </file>
            <file>
              <path>Documentation</path>
              <name>Documentation.css</name>
            </file>
            <file>
              <path>Documentation</path>
              <name>Documentation.html</name>
            </file>
            <file>
              <path>js</path>
              <name>tools.js</name>
            </file>
            <file>
              <path>js\images</path>
              <name>calendar.png</name>
            </file>
            <file>
              <name>AcademicYearsEdit.ascx</name>
            </file>
            <file>
              <name>AcademicYearsSettings.ascx</name>
            </file>
            <file>
              <name>AcademicYearsView.ascx</name>
            </file>
            <file>
              <name>License.txt</name>
            </file>
            <file>
              <name>module.css</name>
            </file>
            <file>
              <name>ReleaseNotes.txt</name>
            </file>
          </files>
        </component>
      </components>
    </package>
  </packages>
</dotnetnuke>

This is the logfile:
StartJob Reading files
Info File khmersupport.SchoolAdministration.dnn read successfully
Info File License.txt read successfully
Info File ReleaseNotes.txt read successfully
Info File Resources.zip read successfully
Info File bin\SchoolAdministration.dll read successfully
Info File Providers/DataProviders/SqlDataProvider\00.00.01.SqlDataProvider read successfully
Info File Providers/DataProviders/SqlDataProvider\Uninstall.SqlDataProvider read successfully
EndJob Reading files done.
StartJob Reading Installation Manifest file
Info Reading Package Manifest - Module - SchoolAdministration
Info Reading Component Manifest - ResourceFile
Info Found valid path () for Resources.zip.
Info Found valid path () for Resources.zip.
Info Reading Component Manifest - Script
Info Found valid path (Providers\DataProviders\SqlDataProvider) for 00.00.01.SqlDataProvider.
Info Found valid path (Providers\DataProviders\SqlDataProvider) for Uninstall.SqlDataProvider.
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: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\App_LocalResources\AcademicYearsEdit.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\App_LocalResources\AcademicYearsSettings.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\App_LocalResources\AcademicYearsView.ascx.resx
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\Documentation\Documentation.css
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\Documentation\Documentation.html
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\js\tools.js
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\js\images\calendar.png
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\AcademicYearsEdit.ascx
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\AcademicYearsSettings.ascx
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\AcademicYearsView.ascx

Info Found valid path () for License.txt.
Failure File specified in the dnn could not be found in the zip file: - D:\development\Dnn.Platform\Website\Install\Temp\kqkvczou\module.css
Info Found valid path () for ReleaseNotes.txt.

 

When the contents of Resources.zip is unzipped and dumped in the main zip file, installation proceeds normally without errors and I can use the new module.

 

Any other suggestions?

 

Marc.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesmanifest file does not load files in resources.zipmanifest file does not load files in resources.zip


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