How to access a file on a shared

Results 1 to 2 of 2

Thread: How to access a file on a shared

  1. #1
    Join Date
    Dec 1969

    Default How to access a file on a shared

    Hi All,<BR>I&#039;m trying to access files that are stored on a share but am not having any luck. Here the details:<BR><BR>My app lives on my desktop: cmpierce<BR>My desktop has mapped Z drive to the share: csfs02<BR>I can browse to the file I need to access: Z:5ESS Records empTelcoxlsExample.xls<BR>or enter in the IE address bar:<BR>\csfs02cos-tech5ESS Records empTelcoxlsExample.xls<BR>which also brings up the correct page.<BR><BR>How can my app get to this file??<BR>If I try to use server.mappath, I get &#039;virtual path expected&#039; error. If I try without mappath, I get &#039;invalid path&#039; error.<BR><BR>Can anyone help?<BR><BR>Thanks<BR>Marshall<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: How to access a file on a shared

    You have to give permissions to the local ASPNET user account to the remote folder.<BR><BR>But, once that&#039;s done, you can access the file using the UNC path (\csfs02cos-tech5ESS Records empTelcoxlsExample.xls).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts