Hi!
Thank you for additional details. We still don't know why AclFolder() does not work, but we'd like to ask you to try something.
- Please go to the "C:\Program Files\UltiDev\Web Server" and
- copy "Redirector" folder to "c:\Documents and Settings\All Users\Application Data\SPR".
- Now, in "c:\Documents and Settings\All Users\Application Data\SPR\Redirector", please create App_Data folder and make sure that "Network Service" user does not have any rights to it.
- Open UWS Explorer and register a new application (under a "Network Service" host) with physical location at "c:\Documents and Settings\All Users\Application Data\SPR\Redirector".
- Now App_Data folder under "c:\Documents and Settings\All Users\Application Data\SPR\Redirector" should be accessible to "Network Service" - application registration process grants access to Network Service user for App_Data folder.
We have tested this and it has worked for us under XP, but, we have found in our comments that ACLing does not always works for some reason.
Application registration process uses AclFolder() like this:
Code:SystemUtilites.AclFolder(app_dataFolder.FullName, System.Security.AccessControl.FileSystemRights.Modify, System.Security.Principal.WellKnownSidType.NetworkServiceSid);
If that does not work, please try using
this utility to check whether your current user has access to the folder in question.
Please let us know what you have found.
Best regards,
UltiDev Team.
Please donate at
http://www.ultidev.com/products/Donate.aspx to help us improve our products.