0
Answer

Impersonation

Ask a question
cg_sreenath

cg_sreenath

19y
1.6k
1
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.