For Programmers: Free Programming Magazines  


Home > Archive > ASP > March 2004 > ASPExec and UNC Drives









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ASPExec and UNC Drives
Aaron Rasmusson

2004-03-28, 9:55 pm

Hi,

I have a quick question: I am using ASPExec to run some command line
apps from a IIS server. Everything is fine, except I can't access UNC
drives. What is a best way to solve this problem.

Here is some setup information:

- I have anonymous access disabled and it is using integrated windows
authentication.
- I run this command "Dir \\myserver\mydir\myfile.txt" and get this
response back from the ASPExec "Logon failure: unknown user name or
bad password."
- The UNC points to a NetApp device
- I use the default account to start thge web service (WWW service)
- this is an internal server that will only be accessed by company
employees.
- the IIS server is set to medium pooled. The inetinfo runs under
system and the various DLLhosts run under the IWAM_xxx accounts.


Questions:

1) When I call ASPExec what context is it using (SYSTEM, IWAM_machine,
etc)?
2) If I set the anonymous user to a known domain account I still seem
to have the problem, so it seems the process context is not derived
from that. Is this true?
3) If I change the Log On for the WWW service, will this change my
process context when calling ASPExec.
4) Can I change the account one virtual web server runs under, Leave
all the other ones on this development server run under IWAM_XX but
start mine under a known domain account?
5) Anyone have any ideas on some quick fixes?

Thanks

Aaron
NOTE: the email account is no longer correct, please response thru
news.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com