Leo, this is an old problem that I don't think MS has any interest in fixing. As you probably know, this error never occurs in any version of IIS. Do you really need to run in PWS??
>Hi All,
>
>We have an application that runs on Personal Web Server, MSDE 2000 and VFP backend dll's.
>Once the VFP dll is loaded by an ASP script and we attempt to shut down PWS (for installing update, or just shut down the machine), inetinfo.exe causes een GPF.
>After some testing I made a test project with a simple class with the old and famous 'Hello World!' text :-)
>With this sample I got the same problem.
>
>Here the scenario to reproduce the problem.
>Note that you must have W98 with PWS installed to reproduce the problem.
>
>This is the sample class:
>
>Define Class cTest As Custom OlePublic
> Procedure mcHello()
> Return 'Hello World!'
> EndProc
>EndDefine
>
>Add this program to a project called Test, and build and register it.
>
>Make an .asp file dlltest.asp:
>
><html>
><head>
><title>dll test</title>
></head>
><body>
><%
>Dim loTest
>Set loTest = Server.CreateObject("Test.cTest")
>Response.Write loTest.mcHello() & "<br>"
>Set loTest = Nothing
>
></body>
></html>
>
>
>Now try to shut down PWS with the following command
>c:\windows\system\inetsrv\pws.exe /stop /y
>after a few seconds you get an error from inetinfo.exe
>
>To restart your PWS again:
>c:\windows\system\inetsrv\pws.exe /start
>
>Is anyone familiar with this behaviour, or have suggestions?
>We use VFP7SP1.
>
>
>Thanks in Advance,
>
>Leo Kool