Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > WebServices file access problem with UNC Name.

Thread Tools

WebServices file access problem with UNC Name.

Julien Petit-Pasquier
Posts: n/a
Hi everybody,

First of all, I know that the question has been asked many times, but
I've never seen the answer till now :

I have a WebService running on a computer with impersonation set to
true in its web.config file (checked, has good windowsidentity). One
of its webmethods needs to write a file to another computer's disk
through an UNC name.
I have correctly set the rights on that computer, which I checked by
creating a file on this computer when logged under the impersonated
account under windows.
The question is quite obvious : I get a file access error when I try
to write the file from the WebService. So how could I correct this ?

Access to the path "xxx" is denied.

(I run W2K Server on webservice server and file server)

Thank you in advance,

Julien Petit-Pasquier
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Network file UNC Access from Web Application mcrose ASP .Net 0 10-20-2006 04:54 AM
WinXP File Transfer-Cannot retrieve USMT2.UNC file =?Utf-8?B?Sm9obg==?= Microsoft Certification 0 01-18-2006 06:46 PM
Could not find a part of the path when access a remote server via mapped drive or unc AL ASP .Net 0 10-14-2004 08:12 AM
How to get system.IO access to UNC resources using virtual directory configuration SERVER SIDE? Dwaine ASP .Net 0 02-16-2004 11:53 PM
Trouble on creating a new web project - UNC share does not exist or you do not have access Simon Chung-Jen Chuang ASP .Net 1 08-23-2003 11:01 AM