Home All Groups Group Topic Archive Search About

Error while file copying over network.

Author
7 Jun 2006 12:39 PM
neeraj
I have one Problem while File copying in ASP.net , When I trid to copy
my file to other system on the same network I am getting the "Acces
Denied" Error. Whereas I have have given all the permissions on the
remote system's shared directory. Whereas I am able to copy the same
file on my local system.

I have set the Impersonate to true in my web.confg also but still
problem is not solved.

Please help its very urgent.

Author
7 Jun 2006 1:15 PM
Paul Clement
On 7 Jun 2006 05:39:09 -0700, "neeraj" <neeraj.***@gmail.com> wrote:

¤ I have one Problem while File copying in ASP.net , When I trid to copy
¤ my file to other system on the same network I am getting the "Acces
¤ Denied" Error. Whereas I have have given all the permissions on the
¤ remote system's shared directory. Whereas I am able to copy the same
¤ file on my local system.
¤
¤ I have set the Impersonate to true in my web.confg also but still
¤ problem is not solved.

If your ASP.NET app is using Integrated Windows authentication then you will need to enable Kerberos
to support credential delegation to remote resources.

http://support.microsoft.com/kb/810572/


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
8 Jun 2006 4:26 AM
neeraj
Dear Paul,

Thanx for the prompt reply.
but the problem is I dn't have Active Directory configured on my
Network. Is there is any other way ?

Thanx in advance.


Paul Clement wrote:
Show quoteHide quote
> On 7 Jun 2006 05:39:09 -0700, "neeraj" <neeraj.***@gmail.com> wrote:
>
> ¤ I have one Problem while File copying in ASP.net , When I trid to copy
> ¤ my file to other system on the same network I am getting the "Acces
> ¤ Denied" Error. Whereas I have have given all the permissions on the
> ¤ remote system's shared directory. Whereas I am able to copy the same
> ¤ file on my local system.
> ¤
> ¤ I have set the Impersonate to true in my web.confg also but still
> ¤ problem is not solved.
>
> If your ASP.NET app is using Integrated Windows authentication then you will need to enable Kerberos
> to support credential delegation to remote resources.
>
> http://support.microsoft.com/kb/810572/
>
>
> Paul
> ~~~~
> Microsoft MVP (Visual Basic)
Author
8 Jun 2006 7:14 PM
Paul Clement
On 7 Jun 2006 21:26:32 -0700, "neeraj" <neeraj.***@gmail.com> wrote:

¤ Dear Paul,
¤
¤ Thanx for the prompt reply.
¤ but the problem is I dn't have Active Directory configured on my
¤ Network. Is there is any other way ?
¤

You could switch to Basic authentication. I would check the following for other options:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vxconaspnetdelegation.asp


Paul
~~~~
Microsoft MVP (Visual Basic)