Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Announcements M...  You Do Not Have Permission To View The Requested File
Previous Previous
 
Next Next
New Post 2/2/2007 10:34 AM
User is offline J Morrissette
75 posts
10th Ranked


Re: You Do Not Have Permission To View The Requested File 
Did you ever get this issue resolved?
 
New Post 2/3/2007 6:26 AM
User is offline ErikVB
2827 posts
www.apollo-software.nl
5th Ranked










Re: You Do Not Have Permission To View The Requested File 

this is not an issue of the announcements module.

You can set folder permissions to everyone  for all folders in your filesystem through an sql script though:

declare @PermissionID int
select @PermissionID = PermissionID from {objectQualifier}Permission where PermissionCode = 'SYSTEM_FOLDER' and PermissionKey='READ'

declare @FolderID int
DECLARE FoldersCursor CURSOR FOR
  Select FolderID from {objectQualifier}Folders

OPEN FoldersCursor

FETCH NEXT FROM FoldersCursor
  into @FolderID

WHILE @@FETCH_STATUS = 0
BEGIN

   if not exists (select * from {objectQualifier}FolderPermission where (PermissionID = @PermissionID) and (FolderID = @FolderID) and (RoleID=-1))
   begin
   insert into {objectQualifier}FolderPermission (FolderID, PermissionID, RoleID, AllowAccess) values (@FolderID, @PermissionID, -1, 1)
   end
   FETCH NEXT FROM FoldersCursor
     into @FolderID
END


CLOSE FoldersCursor
DEALLOCATE FoldersCursor

Run this script from host > sql, and all your folders, in all your portals will have read permissions for all users set.


Erik van Ballegoij,
a view from my attic, my personal blog

DNN OpenForce 2008... Register Now!
 
New Post 1/25/2008 4:18 PM
User is offline David Gilfillan
6 posts
10th Ranked


Re: You Do Not Have Permission To View The Requested File 

Hi - I've got exactly the same problem in the Announcements Module on a DNN installation of 3.7 (running announcements module 03.03.05) - I have tried going to ADMIN > FILE MANAGER and ensuring the root portal folder is set so All Users have permissions to view (with no joy) I have experimented with all the permissions in ADMIN > FILE MANAGER and have tried synchronise files etc... no joy!!!

I have copied and pasted your script directly into HOST > SQL and ran it with no joy. I have even tried to run it in Query Analyser but I get a "[Microsoft][ODBC SQL Server Driver]Syntax error or access violation" error message.

I then tried to update to v4 of the announcements module, but it doesnt seem to have worked succefully.

Anyway I read somewhere regarding that if you uncheck the track link checkbox it will work - and sure enough it did....!!!!

In my DNN 4.7 installation, (running announcements module 03.04) there appears to be no problem...? 

 
New Post 1/26/2008 11:06 PM
User is offline ErikVB
2827 posts
www.apollo-software.nl
5th Ranked










Re: You Do Not Have Permission To View The Requested File 

David, the 4.0 version of the module needs dnn 4.6.x or newer, it will not work in older versions of DNN

Anyhow, this is not a module issue, but a core issue, as explained above. Turning off tracking linked the file directly i think in older dnn versions, which would bypass dnn file security. Hence the error does not happen anymore...

After running sql scripts you really should also restart the application, as info might be cached by DNN


Erik van Ballegoij,
a view from my attic, my personal blog

DNN OpenForce 2008... Register Now!
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Announcements M...  You Do Not Have Permission To View The Requested File
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com
DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP