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 Modified Documents Module PackageCreate Modified Documents Module Package
Previous
 
Next
New Post
2/26/2007 8:15 AM
 

I have amended the Documents Module and want to create an install .zip for it. I've tried this using the "Create Module Package" within Host Module Definitions. However this creates a zip file that fails when I try to install it in a new site.

I don't think the DNN file is creating the Zip correctly using "Create Module Package". There are a few abnormalities, e.g. resx files appear twice and there is only one DotNetNuke.Modules.Documents.dll and not a corresponding DotNetNuke.Modules.Documents.SqlDataProvider.dll as specified in the DNN file. Nor is there a bundled source.zip file like in the original Documents.zip source I downloaded from dotnetnuke.com


Errors:
StartJob Reading DNN file
Info DNN file is in valid 3.0 format.
Info xml loaded.
Failure ResourceFile specified in the dnn could not be found in the zip file: DNN_Documents_source.zip
Info Loading files info
Info Found valid path (App_LocalResources) for Document.ascx.resx.
Info Found valid path (App_LocalResources) for EditDocs.ascx.resx.
Info Found valid path (App_LocalResources) for EditDocumentsSettings.ascx.resx.
Failure File specified in the dnn could not be found in the zip file: DotNetNuke.Modules.Documents.SqlDataProvider.dll
Failure File specified in the dnn could not be found in the zip file: 03.01.00.SqlDataProvider
Failure File specified in the dnn could not be found in the zip file: 03.01.01.SqlDataProvider
Failure File specified in the dnn could not be found in the zip file: 03.01.02.SqlDataProvider
Failure File specified in the dnn could not be found in the zip file: Uninstall.SqlDataProvider
Info Loading Modules info
Info Loading Control info for 'Documents' module
Failure ExceptionSystem.Exception: Dnn load failed, aborting at DotNetNuke.Modules.Admin.ResourceInstaller.PaDnnAdapter_V2.ReadDnn() at DotNetNuke.Modules.Admin.ResourceInstaller.PaInstaller.Install()




My project is set up in the following way in VS2005:
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/111/threadid/109915/scope/posts/Default.aspx




DNN file

<dotnetnuke version="3.0" type="Module">
  <folders>
    <folder>
      <name>DNN_Documents</name>
      <friendlyname>Documents</friendlyname>
      <foldername>Documents</foldername>
      <modulename>DNN_Documents</modulename>
      <description>This module renders a list of documents, including links to browse or download the document. Documents includes an edit page, which allows authorized users to edit the information about the Documents (for example, a friendly title) stored in the SQL database.</description>
      <version>03.01.06</version>
      <businesscontrollerclass>DotNetNuke.Modules.Documents.DocumentController, DotNetNuke.Modules.Documents</businesscontrollerclass>
      <resourcefile>DNN_Documents_source.zip</resourcefile>
      <modules>
        <module>
          <friendlyname>Documents</friendlyname>
          <cachetime>0</cachetime>
          <controls>
            <control>
              <src>DesktopModules/Documents/Document.ascx</src>
              <type>View</type>
              <helpurl>http://www.dotnetnuke.com/default.aspx?tabid=787</helpurl>
            </control>
            <control>
              <key>Edit</key>
              <title>Edit Documents</title>
              <src>DesktopModules/Documents/EditDocs.ascx</src>
              <type>Edit</type>
              <helpurl>http://www.dotnetnuke.com/default.aspx?tabid=787</helpurl>
            </control>
            <control>
              <key>Settings</key>
              <title>Documents Settings</title>
              <src>DesktopModules/Documents/EditDocumentsSettings.ascx</src>
              <type>Edit</type>
              <helpurl>http://www.dotnetnuke.com/default.aspx?tabid=787</helpurl>
            </control>
          </controls>
        </module>
      </modules>
      <files>
        <file>
          <name>DotNetNuke.Modules.Documents.dll</name>
        </file>
        <file>
          <name>Document.ascx</name>
        </file>
        <file>
          <name>EditDocs.ascx</name>
        </file>
        <file>
          <name>EditDocumentsSettings.ascx</name>
        </file>
        <file>
          <name>module.css</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>Document.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>EditDocs.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>EditDocumentsSettings.ascx.resx</name>
        </file>
        <file>
          <name>DotNetNuke.Modules.Documents.SqlDataProvider.dll</name>
        </file>
        <file>
          <name>03.01.00.SqlDataProvider</name>
        </file>
        <file>
          <name>03.01.01.SqlDataProvider</name>
        </file>
        <file>
          <name>03.01.02.SqlDataProvider</name>
        </file>
        <file>
          <name>Uninstall.SqlDataProvider</name>
        </file>
      </files>
    </folder>
  </folders>
</dotnetnuke>
 
New Post
2/26/2007 11:35 AM
 
I've got by it by ignoring the "Create Module Package" and merely copying the same files from my code that exist in the DNN download instead

Although I've found out you have to develop on a version of DNN before at equal to your production server, else you also get version errors
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Create Modified Documents Module PackageCreate Modified Documents Module Package


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