Accesing with aspnet user to sharing folder in domain

wakeup

Freshman
Joined
Nov 9, 2004
Messages
35
Hi,
I'm trying copy file from aspnet server to another pc in my LAN.
System.IO.File.Copy("file.txt",@"\\secondpcname\folder\file.txt").
But I get this error:
The referenced account is currently locked out and may not be logged on to

The user in my IIS aplication configuration is ASPNET.
In second pc folder I have grant write privileges to server pc.

If I put <identity impersonate="true" /> in webconfig it ask me user and password.
Thanks

Hip Hop
 
Back
Top