asp mvc textreader

Posted by czuroski on Stack Overflow See other posts from Stack Overflow or by czuroski
Published on 2010-04-21T12:48:36Z Indexed on 2010/04/21 12:53 UTC
Read the original article Hit count: 355

Filed under:
|

Hello, I am trying to use a textreader to retrieve data from a text file on a local machine. I have an upload routine to get the file for the reader to open.

When I run the application locally, it works fine. When I publish my application to my server, I am getting a Could not find a part of the path error. I assume this error has to do with permission in that the server cannot read from the local file system, but I don't know the proper way to remedy this.

do I set up the application to impersonate the user? I know I can't possibly set up each local users machine to allow the iusr account to access it.

Thanks for any thoughts.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc