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...Using Modules a...Using Modules a...Files from Subdirectories under module folder have access issue.Files from Subdirectories under module folder have access issue.
Previous
 
Next
New Post
1/9/2014 11:37 AM
 
I have an instance where a module in my development system (local host) does not have access to two folders after the DeskTopModules/MyModuleFolder. They are an images folder and a themes folder (like in the dnn events module). When the module is running in my dnn 7.2 environment it fails to fetch the images and the theme. It has to be a permissions issue, but i can not find it. All other aspects of the module run normally.

I have checked the Windows permissions (the entire directory structure from the name of the module folder on out has the same access). Since the module is running, the ISS permission for the virtual directory are correct too.

What is going on and how can I fix it?
 
New Post
1/9/2014 2:12 PM
 
i'd not be convinced - these issues often turn out to be a naming issue (e.g. paths with spaces or controlled characters) or invalid path generation (e.g. using relative paths from a virtual directory etc.) - i'd recommend debugging the requests and looking at the exception to see if that offers a clue

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/9/2014 2:30 PM
 
Cathal,

I would want to agree with you, but the module works fine in production. It worked fine in my only localhost environment until I did restored this localhost. Now, with no changes in codes my Scripts, Images & Themes all come up not found. I have triple verified the path is correct.

Help would be appreciated. Ia m stuck until I can figure out why it can not access these files.
 
New Post
1/9/2014 4:26 PM
 
Another update. On you tip I looked at the result of the DotNetNuke.Common.Globals.ResolveUrl for both my test system and the production system. Oddly enough there is a difference, but I can not understand why:

Prod = /DesktopModules/QHWeb/Events/Images/imagefile.gif
Test = /DotNetNuke/DesktopModules/QHWeb/Events/Images/imagefile.gif

Of course prod works and test does not. Why is the same function producing different results, and how do I prevent it?
 
New Post
1/9/2014 5:20 PM
 
I did another test placing several image files into raw html and putting it on my localhost.
1) /Desktopmodules/QHWeb/Events/Images/Imagefile.gif
2) /DotNetNuke/Desktopmodules/QHWeb/Events/Images/Imagefile.gif
3) http://localhost/DotNetNuke/Desktopmodules/QHWeb/Events/Images/Imagefile.gif

None of these produced a file. All could not find the file. The odd thing is that this IS where the file IS. So this goes back to a security issue?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Files from Subdirectories under module folder have access issue.Files from Subdirectories under module folder have access issue.


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