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 5:47 PM
 
Another find.
/DesktopModules/Images/Imagefile.gif - WORKS
/DesktopModules/ModuleName/Images/Image.gif - fails no mattaer what module directory. Fails no matter what sub directory. I can access nothing in any directory AFTER the module name.

Baffling. This is a security issue. But what to do to fix it?
 
New Post
1/10/2014 4:07 AM
 
if direct access to the files via browser fails, it is a file system permission issue in your IIS website, usually for anonymous web users group.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/10/2014 6:34 AM
 
Sebastian,

None of my files may be accessed through the browser with the virtual directory. All of my files (in all directories) are accessible in my browser.

I followed a set of instructions to set up this DNN Host from the web. It mentioned nothing about special IIS access. IN the past I remember setting up an ASP40Net type security and granting IIS and Windows directories to it. This was not in the directions this time. At the time I thought that was odd. This might be the issue. if it is, can you point me to an article (or video) for DNN 7.2 on Windows 7 with IIS 7.5. This way I can be sure I am working through the problem correctly.

If what I mentioned means I should check something else out, let me know. Again, keep in mind this works in production with the same code. The difference is tat production was an INSTALL of a module and test was a module CREATE from a MANIFEST and the virtual directory was created by VS 2010. This might have caused the issue because DNN is unaware of it?

All help is appreciated. I have access issues with Module.css files, javascript files, image files and css files all throughout my desktop modules directories across several modules.
 
New Post
1/10/2014 12:21 PM
 
based on your description I think you're hitting windows path length restrictions i.e. your folder path is too long and causes the failure i.e. similar to this https://dnntracker.atlassian.net/brow... . If your files are in a deep path (e.g. d:\development\projects\dotnetnuke\testing\custommodules\... etc.) that would explain why long paths (DesktopModules/ModuleName/Images/Image.gif) fail and shorter ones (DesktopModules/Images/Imagefile.gif) work. The other possibility is that you do not have permissions inheritance enabled (this is the default, but you can control this by a folders properties->security_>advanced->change permissions and change the "include inheritable permission from a parent) -note: I have also seen cases where servers were mirrored/cloned and that caused file GUID's to be lost and this caused permission inheritance to fail. Finally, make sure that you are not creating virtual directories within the site in IIS

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/10/2014 12:38 PM
 
Cathal,

I will look into all of those. I am unable to access the dnntracker link, even after logging in to dnntracker. Is the link bad?

My directory length is between 75 and 105 characters (fully qualified to the last character of the file names). Is this shorter than the issue?
I believe in production the names are about the same length.
 
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