Hi,

Pls see the link
http://bytes.com/topic/asp-net/answers/755714-file-copy-remote-machine-probelm

Thanks
Gayathry

On Nov 18, 11:28 am, Pratiksha Saxena <[email protected]>
wrote:
> What permission should i give.I have already given permission in folder for
> the files to be copied to the user.
> Eg my machine name is okh-lb-labs-014 i have given rights to okh-lb-labs-014
> as full control.What else should i give.
>
> Thanks
> Pratiksha
>
> On Tue, Nov 17, 2009 at 10:02 PM, slim MOURALI <[email protected]>wrote:
>
>
>
> > you must give permission on the remote machine... to the user that the iis
> > is running
>
> > 2009/11/17 Pratiksha Saxena <[email protected]>
>
> > Hi,
>
> >> i have a web application in which on button_click i have written code for
> >> File.Copy
>
> >>  File.Copy(@"e:\Text.txt", @"\\okh-lb-labs-030\\D$\\MT\\Text.txt");
>
> >> but i gives error *Logon failure: unknown user name or bad password.*
> >> *
> >> *
> >> *The files are in Intranet.*
> >> Source is   e:\Text.txt
> >> Destination is \okh-lb-labs-030\\D$\\MT\\Text.txt
>
> >> If i copy on my local system it is fine but on network it gives error.i
> >> tried even giving rights to MT folder but no use.
>
> >> Please help.
>
> >> Pratiksha

Reply via email to