On Wed, Oct 28, 2009 at 8:54 AM, Allen <[email protected]> wrote: > Hi foxgang > I'm trying to get a VFP DLL working on a web service to use data on another > machine. The users IT man has screwed up, making the new server on a > different domain to the main server but I have been able to map a drive > under administrator login. > Now the iisapi is made to log in as Network Service as usual. I have in the > past used LogonUser() api to change the user logged in but it seems Win2003 > server doesn't seem to like that. Is anyone doing this with a web service > getting data from another PC and if so how please. Or any clues why > LogonUser returns error 6. -----------------------------------------------
Why would the OS not like you to change identity? mmmm let me think about that???? Is the VFP.dll your webservice? If so could that be loaded into the other domain? This is what the beauty of WS was all about 12 + years ago. -- 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.

