You will need a user that has access to the UNC path or share. This can be
the user of the application (for web apps, anonymous will not work) or a
user you specify, by assigning a user to a thread.
For ASP.NET, try this:
http://support.microsoft.com/default...b;en-us;306158
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge
****************************************************************************
****
Think Outside the Box!
****************************************************************************
****
"Vinayak" <(E-Mail Removed)> wrote in message
news:0d0501c36648$7aa2e480$(E-Mail Removed)...
> Hi
> How to access the file residing on remote machine.
> Where to specify the userid & password for the remote
> machine before oopening the file. Can anybody help me with
> some piece of code?
>
> Thanks in advance
> Vinayak