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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Wrong Desktop module folder structureWrong Desktop module folder structure
Previous
 
Next
New Post
5/15/2007 11:58 PM
 

Hi,

I developed a new module using DNN starter kit, then I did few changes in the dnn file.  I created new folder copied all the necessary files with the dnn file and zip it up.  I used this zip file to install in my DNN web portal.  It was able to install without any error.  The only problem is, it creates an additional folder in the Desktop module and put the files into it and that causes the error.  The file sturcture created is as follows.

Desktopmodules/HealthCheck/HealthCheck/Here goes all the relevant files.

I want it to be

DesktopModules/HealthCheck/Here should be the files

When I manually change the structure to above mentioned, my new module works perfectly.  I'm not too sure why the file structure is created in that way.

My .dnn file content is as follows.  Could anyone point me out where I go wrong.  It is in the dnn file or in my code files?  Thanks.

<?xml version="1.0" encoding="utf-8" ?>
<dotnetnuke version="3.0" type="Module">
 <folders>
  <folder>
   <name>HealthCheck</name>
   <description>HealthCheck</description>
   <version>02.01.02</version>
   <modules>
    <module>
     <friendlyname>HealthCheck</friendlyname>
     <controls>
      <control>
       <title>View Health Check</title>
       <src>ViewHealthCheck.ascx</src>
       <type>View</type>
      </control>
      <control>
       <key>Edit</key>
       <title>Edit Health Check</title>
       <src>EditHealthCheck.ascx</src>
       <type>Edit</type>
      </control>
      <control>
       <key>Settings</key>
                    <title>HealthCheck Settings</title>
                    <src>Settings.ascx</src>
                    <type>Edit</type>
      </control>
     </controls>
    </module>
   </modules>
     <files>
        <file>
          <name>ViewHealthCheck.ascx</name>
        </file>
        <file>
          <name>ViewHealthCheck.ascx.vb</name>
        </file>
        <file>
          <name>EditHealthCheck.ascx</name>
        </file>
        <file>
          <name>EditHealthCheck.ascx.vb</name>
        </file>
        <file>
          <name>Settings.ascx</name>
        </file>
        <file>
          <name>Settings.ascx.vb</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>ViewHealthCheck.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>EditHealthCheck.ascx.resx</name>
        </file>
        <file>
          <path>App_LocalResources</path>
          <name>Settings.ascx.resx</name>
        </file>
        <file>
          <path>[app_code]</path>
          <name>DataProvider.vb</name>
        </file>
        <file>
          <path>HealthCheck_DB</path>
          <name>HealthCheck.mdb</name>
        </file>
        <file>
          <path>[app_code]</path>
          <name>HealthCheckController.vb</name>
        </file>
        <file>
          <path>[app_code]</path>
          <name>HealthCheckInfo.vb</name>
        </file>
        <file>
          <path>[app_code]</path>
          <name>SqlDataProvider.vb</name>
        </file>
        <file>
          <name>01.00.00.SqlDataProvider</name>
        </file>
        <file>
          <name>Uninstall.SqlDataProvider</name>
        </file>
      </files> 
  </folder>
 </folders>
</dotnetnuke>

 
New Post
5/18/2007 3:27 AM
 

This problem is not sorted yet.  Anyone there to help out on the module structure. Thanks

 
New Post
6/19/2007 2:08 AM
 

I found out the cause of this problem.  It was the way I zip up the file.  The correct method is to select all the relevant files and add them to the zip but what I did was zipping up the folder in which all the relevant files were there.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Wrong Desktop module folder structureWrong Desktop module folder structure


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