471,119 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,119 software developers and data experts.

file.exists across network

I have read numerous posts regarding the issues of
accessing network resources via impersonation, but have
yet to resolve the issue for myself.

Simply, I wish to return System.IO.File.Exists
("\\myserver_1\myshare\myfolder\myfile.doc") within an
ASP.NET web application that sits
on "\\myserver_2"(windows server 2003). The application is
using integrated windows authentication only (anonymous is
off), and impersonation is enabled in web.config. The
security on the targeted network share includes a network
group with full control to all of its children, and I am a
member of this group. However, I continue to receive a
login prompt as this code executes.

PS. the code executes perfectly from my desktop(localhost -

What am I missing?

Jul 21 '05 #1
0 1238

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Stu | last post: by
reply views Thread by lrw | last post: by
3 posts views Thread by Amie | last post: by
1 post views Thread by John Wright | last post: by
5 posts views Thread by =?Utf-8?B?QWRyaWFuTW9ycmlz?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.