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.0Module Uninstall Error in web.config codeSubDirectoriesModule Uninstall Error in web.config codeSubDirectories
Previous
 
Next
New Post
10/3/2006 1:42 PM
 

I've created a module in Visual Web Developer Express and created an install package (.zip file with a .dnn file). The module installs correctly and it adds an entry into my web.config:

<codeSubDirectories>
<
add directoryName="GeneSYSLabs_PhotoAlbum"
/>
</
codeSubDirectories>

When I uninstall the module/delete the module definition, the uninstall script runs correctly and the database objects are removed, the App_Code directory is removed, and the directory in DesktopModules is also removed. All seems to work fine except the <add directoryName="GeneSYSLabs_PhotoAlbum"/> entry in the web.config is still there and does not allow me to anything in the site until I manually edit that line and remove it. I've tried this on several servers and the functionality is all the same. How do I make sure that the <add directoryName="GeneSYSLabs_PhotoAlbum"/> entry is removed from the web.config when the module definiton is deleted?

Here is the .dnn install file:

<dotnetnuke version="3.0" type="Module">
  <
folders
>
    <
folder
>
      <
name>GeneSYSLabs_PhotoAlbum</name
>
      <
friendlyname>GeneSYSLabs_PhotoAlbum</friendlyname
>
      <
foldername>GeneSYSLabs_PhotoAlbum</foldername
>
      <
modulename>GeneSYSLabs_PhotoAlbum</modulename
>
      <
description>A GeneSYSLabs Photo Album module so easy, even Granny can use it!</description
>
      <
version>01.00.00</version
>
<
businesscontrollerclass>GeneSYSLabs.Modules.PhotoGallery.PhotoGalleryController</businesscontrollerclass
>
      <
modules
>
        <
module
>
          <
friendlyname>GeneSYSLabs_PhotoAlbum</friendlyname
>
          <
cachetime>60</cachetime
>
          <
controls
>
            <
control
>
              <
src>DesktopModules/GeneSYSLabs_PhotoAlbum/ViewPhotoGallery.ascx</src
>
              <
type>View</type
>
              <
helpurl></helpurl
>
            </
control
>
            <
control
>
              <
key>Edit</key
>
              <
title>Edit Content</title
>
              <
src>DesktopModules/GeneSYSLabs_PhotoAlbum/EditPhotoGallery.ascx</src
>
              <
type>Edit</type
>
              <
helpurl></helpurl
>
            </
control
>
            <
control
>
              <
key>Settings</key
>
              <
title>PhotoAlbum Settings</title
>
              <
src>DesktopModules/GeneSYSLabs_PhotoAlbum/Settings.ascx</src
>
              <
type>Edit</type
>
              <
helpurl></helpurl
>
            </
control
>
          </
controls
>
        </
module
>
      </
modules
>
      <
files
>
        <
file
>
          <
name>PhotoGalleryPhotoItem.ascx</name
>
        </
file
>
        <
file
>
          <
name>PhotoGalleryPhotoItem.ascx.vb</name
>
        </
file
>
        <
file
>
          <
name>ViewPhotoGallery.ascx</name
>
        </
file
>
        <
file
>
          <
name>EditPhotoGallery.ascx</name
>
        </
file
>
        <
file
>
          <
name>ViewPhotoGallery.ascx.vb</name
>
        </
file
>
        <
file
>
          <
name>EditPhotoGallery.ascx.vb</name
>
        </
file
>
        <
file
>
          <
name>Settings.ascx</name
>
        </
file
>
        <
file
>
          <
name>Settings.ascx.vb</name
>
        </
file
>
        <
file
>
          <
path>App_LocalResources</path
>
          <
name>ViewPhotoGallery.ascx.resx</name
>
        </
file
>
        <
file
>
          <
path>App_LocalResources</path
>
          <
name>EditPhotoGallery.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>[app_code]</path
>
          <
name>PhotoGalleryController.vb</name
>
        </
file
>
        <
file
>
          <
path>[app_code]</path
>
          <
name>PhotoGalleryEventArgs.vb</name
>
        </
file
>
        <
file
>
          <
path>[app_code]</path
>
          <
name>PhotoGalleryInfo.vb</name
>
        </
file
>
        <
file
>
          <
path>[app_code]</path
>
          <
name>DataProvider.vb</name
>
        </
file
>
        <
file
>
          <
path>[app_code]</path
>
          <
name>PhotoGalleryInfo.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
>
        <
file
>
          <
path>..\..\images</path
>
          <
name>StickFigures.jpg</name
>
        </
file
>
      </
files
>
    </
folder
>
  </
folders
>
</
dotnetnuke>


 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Module Uninstall Error in web.config codeSubDirectoriesModule Uninstall Error in web.config codeSubDirectories


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