TheWizardofInt Posted July 11, 2004 Posted July 11, 2004 I have a web service that needs to access a folder c:\apps on the server where it is running (under c:\inetpup\wwwroot) The service can access anything in the wwwroot folder and all sub directories. It cannot get to the c:\apps folder. I have given the ASPNet, IUSR and IWAM users full control of apps, as well as trying to emulate a user and give IT full rights. I have also tried emulating the Administrator user - all fail. I went to Local Security Settings and put the ASPNet and the impersonated user and added them to Act as Part of the Operating system and Logon as Batch Job - no help Anyone see anything I am missing? I CAN access the folder with a Windows Application that is .Net based. I am running Visual studios 2003 which was upgraded from 2002 Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
Moderators Robby Posted July 12, 2004 Moderators Posted July 12, 2004 Have you tried making it a virtual directory and only giving ASPNET rights to access it? Quote Visit...Bassic Software
TheWizardofInt Posted July 12, 2004 Author Posted July 12, 2004 Yes, I did try that Quote Read the Fovean Chronicles Because you just can't spend your whole day programming!
Moderators Robby Posted July 12, 2004 Moderators Posted July 12, 2004 How about a Shared Folder? Quote Visit...Bassic Software
bri189a Posted July 12, 2004 Posted July 12, 2004 How about a Shared Folder? Robby - isn't IIS bound to only operate in web folders? In other words if it's not part of the IIS root directory or a virtual directory there under it can't access. Is he also giving permission to IWAM_User or whatever the internet guest account is? ASP may have access, but IIS may not. Know your the expert, so that's why I'm asking you to confirm or throw out the idea. Quote
Rodenberg Posted July 13, 2004 Posted July 13, 2004 You can always give the "Everyone" user full rights until you find out what user your ASP process is operating under ( you can configure this within IIS ). This is a quick fix, although not anything I would recommend long term. Quote
Moderators Robby Posted July 17, 2004 Moderators Posted July 17, 2004 Rdenberg, Giving Everyone access does not include ASPNET user. Bri189a, The virtual folder can be located anywhere in HD as long as IIS knows about it. Quote Visit...Bassic Software
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.