Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Is it possible to configure an ASP.NET application under IIS 7 so it can read files stored in a mapped network drive? I'm not trying to serve up the contents of the drive. I simply need to read the contents within the ASP.NET application. I've searched the Web and haven't really found a solid answer. The questions in my mind are:

  1. Is this possible via configuration (i.e. I cannot modify the client code)?
  2. If so, what are the step by step instructions.

If it is not possible, I'm fine with that. I already know UNC paths work but using them drastically changes the work flow.

Thanks!

Bobby

share|improve this question

1 Answer 1

Not that I know of - because mapped drives blong to a session. You COULD try spawning the net use command cfrom th aspnet ap and see what happens.

I would go with UNC paths.

share|improve this answer
    
I would go with UNC paths. - what do you mean? So how would you setup IIS to use UNC? –  MSSucks May 23 '11 at 6:43
    
You dont. You just use a UNC path in the stream open command. –  TomTom May 23 '11 at 8:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.