On Wed, Oct 28, 2009 at 1:33 PM, Allen <[email protected]> wrote: > Hi Christof > It's actually my test machine , a win2k3 server. I've not locked it down > though maybe an update did. > I'm running a web service which is a .net calling a VFP dll. The DLL needs > to look at data on another machine so what I was trying to do was > impersonate. So the dll is trying to impersonate this administrator, in this > case for test purposes, and I'm using LogonUser and Impersonate. But I'm not > getting past LogonUser because the call fails with Username or Password > incorrect. > I have also tried making a user and having the pool use that name but then I > get Service Unavailable on the browser even looking for a text file. > I'm not sure how I can use RunAs from a dll. -------------------
You are presenting the new domain name as well as user right? DOMAIN\user -- Stephen Russell Sr. Production Systems Programmer SQL Server DBA Web and Winform Development Independent Contractor Memphis TN 901.246-0159 _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

