Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Web services publisher
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Divers
Thread ID:
00664469
Message ID:
00665389
Vues:
24
Don't need the speed improvement yet, but it's good to know. Thanks!
Jaime

>In low isolation, your component is basically not using MTS at all, so IIS is unprotected if it blows up. It runs slightly faster in low isolation mode, but, it's not advisable to run it there and the difference in speed is hardly noticeable.
>If you look at the properties of any virtual directory you've created under IIS, you'll see "Application protection" which will have options for High, medium, and low. If it's High (not sure about medium) you'll be able to press the "Unload" button right next to it to stop it without affecting IIS or any other apps.
>I've automated this in a project hook using this VFP code in the BeforeBuild method:
>
>DirObj=GetObject("llS://LocalHost/W3SVC/1/Root/"+myVirtualDir)
>DirObj.AppUnload
>
>>Claude
>>Never heard of Low Isolation. What is it?
>>Jaime
>>
>>>If the Virtual Directory where your Web Service component is located is not running in Low Isolation, you should be able to just Unload it by using the IIS console instead of the old Stop/Start routine. You can even automate this in a project hook so that nothing manual has to ever be done.
>>>>The dll is indeed in use by the IIS. By the way, i hope you installed Soap Toolkit 2 SP2 since i had many problems that were fixed when i installed the service pack.
>>>>Now for the IIS: you alwasy have to stop it, compile your dll, and rerun it. This is done in 2 different ways, depending on the version of your OS.
>>>>For NT4, go to the control panel, and then go to Services, and stop the IIS Admin Service. It will tell you this will stop some other services, then accept. To restart it, you should go to the bottome of the services list, and start the service called "World Wide Web Publishing Service". This will also start automatically the IIS Admin Service.
>>>>For Win2K, go to the control panel, then administrative tools, and there you'll see 'Internet Service Manager'. There, Right-Click on the name of the computer, choose the option 'Restart IIS...', and choose 'Stop Internet Services on ...'. Go to the same place and choose 'Start Internet Services on ...' after you finished your compile.
>>>>
>>>>Cheers
>>>>Jaime
>>>>
>>>>>Thanks Pinto for the code. I had a problem with my SOAP toolkit instellation. Now it is working fine. Now I have a different problem.
>>>>>Afrer publishing the web service and working with it I decided to change the code in my original program. Afrer changing the code when I tried to rebuild the project to make the required "DLL", I get the file access denied message. It seems the file is in use. I tried to locate it using component services, internet information services etc in control pannel. But coudn't locate it. How do I stop it?
Why do programs stop working correctly as soon as you leave the Fox?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform