impersonate not working for directory.

A

archana

Hi all,

In web apage i want to copy file from one directory to some shared
path.

I set impersonate to true. Its copying the file using
system.io.file.copy. But system.io.directory.exist for checking
output directory existance is not working.

can anyone tell me why and reason behind this.

please help me asap.

thanks in advance.
 
B

bruce barker

impersonate will only work with kerberos authentication, a credentials
forwarding turned on. ntlm security doe not support this (1 hop rule).

-- bruce (sqlwork.com)
 
I

IfThenElse

What are you saying?, can you please expand your wisdom to enlighten us.

Thank you,
 
A

archana

Hi,

What i want is to check if directory exist or not. This directory is
on network drive.
How can i check that?

please help me asap.

thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top