Impersonation

Nov 15 2004 12:18 PM
I'm trying to copy an image though web services from one server, to a folder on an another server. The following steps are taken 1)Changed Procees model from Machine to system and restarted the server. 2)Added Identity impersonate=true in web.config 3)Created a domain account on the server and added that account as an Administrator account on to the server. 4) assigned access to the folder with full control for the domain account. Included the impersonationprocess class (using advapi32.dll, code snippet from microsoft site). the process works fine when I run from my local box, but fails to impersonate on the server? any idea.... Thanks.