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