error displaying module

Last post 10-04-2005, 5:07 PM by Adam. 5 replies.
Sort Posts: Previous Next
  •  09-29-2005, 8:26 AM 11174

    error displaying module

      Hi,
    im using DNN 3.1.0 an was trying to install DotNet Gallery. I've done everything described in the readme-file.
     
    as folder path i couse the same as the file-path (for testing).
     
    i can add the module to the pane - but instead the module I only see an error:
     
    Unhandled error loading module.
    DotNetNuke.Services.Exceptions.ModuleLoadException: Security error. ---> System.Security.SecurityException: Security error. at ASP.dotnetgallerymodule_ascx.__BuildControlgallery1() at ASP.dotnetgallerymodule_ascx.__BuildControlTree(Control __ctrl) in C:\Inetpub\dotnetduke\DesktopModules\dotnetgallery\dotnetgallerymodule.ascx:line 1 at ASP.dotnetgallerymodule_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.UserControl.InitializeAsUserControl(Page page) at System.Web.UI.TemplateControl.LoadControl(Type t) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
     
     
    please help.
     
    thx
    Christian
  •  09-29-2005, 1:00 PM 11188 in reply to 11174

    Re: error displaying module

    Christian,
     
    Please open the dotnetgallerymodule.ascx file.
     
    And check the FoldPath property.
     
    For example,
    <CE:Gallery
        id="gallery1"
        runat="server"
        Height="300"
        Width="600"
        Column = "8"
        MaxImageWidth="600"
        CellPadding="3"  
        AutoResizeUploadedImages = "true"  
        CellSpacing="3"
        ForeColor="#000000"
        BorderStyle="solid"
        BorderWidth="0"
        CssClass="container"
        ShowThumbNailName="true" 
        ShowBatchBuild = "False"
        ShowThumbNailDescription = "False"
        ShowThumbNailSize="true" 
        ShowThumbNailDate="false" 
        FilesPath  = "~/DesktopModules/dotnetgallery/DotNetGallery_Files"
        FolderPath = "/samplefolder/"
       >
       </CE:Gallery> 
     
    Make sure that folder does exist on your server.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  09-30-2005, 7:43 AM 11230 in reply to 11188

    Re: error displaying module

    i created an physical folder:
    C:\Inetpub\dotnetduke\samplefolder
     
    and this one i insert into the file:
    FolderPath = "C:\Inetpub\dotnetduke\samplefolder\"
     
    this does not work.
     
    then i tried:
    FolderPath = "/samplefolder/"
    also that does not work.
     
    what do I have to write if i want to use the physical folder located at: C:\Inetpub\dotnetduke\samplefolder  ??

  •  10-01-2005, 2:38 AM 11272 in reply to 11230

    Re: error displaying module

    How do you access your portal?
     
    If you access your portal through http://localhost, 

    Try
    FolderPath = "/samplefolder/"
     
    If you access your portal through http://localhost/dotnetduke, 

    Try
    FolderPath = "/dotnetduke/samplefolder/"

     


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  10-03-2005, 2:49 AM 11289 in reply to 11272

    Re: error displaying module

    i access my portal using http://my.domain.name/
    and i tryed the folderpath="/samplefolder/" - it doesn't work.
     
    please take a second look at the exception:
    Unhandled error loading module.
    DotNetNuke.Services.Exceptions.ModuleLoadException: Security error. ---> System.Security.SecurityException: Security error. at ASP.dotnetgallerymodule_ascx.__BuildControlgallery1() at ASP.dotnetgallerymodule_ascx.__BuildControlTree(Control __ctrl) in C:\Inetpub\dotnetduke\DesktopModules\dotnetgallery\dotnetgallerymodule.ascx:line 1 at ASP.dotnetgallerymodule_ascx.FrameworkInitialize() at System.Web.UI.UserControl.InitializeAsUserControlInternal() at System.Web.UI.UserControl.InitializeAsUserControl(Page page) at System.Web.UI.TemplateControl.LoadControl(Type t) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
     
     
    red line looks important.
     
    please help.
     
    thx
  •  10-04-2005, 5:07 PM 11388 in reply to 11289

    Re: error displaying module

    Can you post your first line cod of dotnetgallerymodule.ascx?

    It should be:
     
    <%@ Control language="VB" Inherits="DotNetNuke.Entities.Modules.PortalModuleBase" AutoEventWireup="false" %>


    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML