Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and IIS
Message
 
To
17/03/2004 15:47:35
Jean Haidar
Arkansas Blue Cross/Blue shield
Little Rock, Arkansas, United States
General information
Forum:
Microsoft IIS Server
Category:
Other
Title:
Miscellaneous
Thread ID:
00885346
Message ID:
00887389
Views:
8
Yes, I've seen other developers use the LogonUser API and oher workarounds and they were amazed it was so much easier creating a COM+ application to accomplish what they wanted. It's a pity Microsoft doesn't make this information more available - it would save a lot of time and effort.
>Claude,
> One last note:
>
> Since we do not have Direct Access the IIS Server,
> we tried this Test:
>
>As a test:
>We Have included section of code in a Method in the VFP DLL (for test) to impersonate the Anonymous user into a User who has access to NTFS Resources on the SERVER (using a Call to LogonUser).
>Also hosted the Web Services under an XP machine as Test Server.
>And The Result is successful.
>
>When we take out Windows User Impersonation code, we get the following error:
> Error 1429- OLE Exception ISDisptach Code 0-.... Error at line 352 File \\lrd1fil2\vfptest\icu\libs\appobject.app does not exist
>
>The Method code in VFP multithreaded DLL that is generated the error above is:
>
>PROCEDURE groupcancellation(lcxmldata as String) as VOID
>This.MyAppObject = NEWOBJECT("AppObject","AppObject","\\lrd1fil2\vfptest\icu\libs\AppObject.app")
>
>
>Note: FILE ","\\lrd1fil2\vfptest\icu\libs\AppObject.app does exist and we can access ok within the LAN from VFP 8 Development.
>
>
>
>*-- The VFP test Program that call the Web Services is as follows:
>
>loolegrpcancellation.MSSoapInit("http://lrd1web1/MarketWrite_Test/olegrpcancellation.wsdl", "olegrpcancellation", "olegrpcancellationSoapPort","\\lrd1web1\web services\cancellation\olegrpcancellationClient.wsml")
>
>Where lrd1web1/MarketWrite_Test is under IIS Server 2000
>
>
>Thanks for all your replies..
>
>Jean
Previous
Reply
Map
View

Click here to load this message in the networking platform