difficulty to access a mapped network drive

G

Guest

I am experiencing difficulty to access a mapped network drive in an ASP.NET
application.

While using the .Net framework v 1.1 implementation of
System.IO.Directory.Exists() to check if the directory is exists and then
create the directory if not exists, but it fails to recognize a mapped
network drive.

I have set also set the <identity impersonate="true" />.
Because I need to check the Map folder of the Logged in user.

When I run the web Application from My Local machine then it is working with
only my user name. But if if any one else try to access the same web
application from there machine then it is giving Error :- Access to the path
"-----" is denied.

Do I need to change any setting in IIS. I have remove the Check from
Anonymous Access for the Web Application.

Please Help me to solve this... Thanks
 
B

bruce barker \(sqlwork.com\)

you are hitting the one hop rule. in order to access a network resource
(like a share), asp.net can not impersonate the client using windows
autheication, you must unless use use kerberos or basic.

-- bruce (sqlwork.com)
 

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,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top