>I have built a very simple COM DLL using VFP 6.0. I use the Object in an ASP page. Then when I return to VFP to edit and recompile the DLL I get a File Access error.
>
>Here is the code in my ASP that is using the Object. (I had to strip some of the HTML stuff to be able to post this.)
>
>Line 5 is where the object is being created. I thought that I was
>destroying the object in line 11. Hoever, the DLL is being locked or left open after this ASP runs and I cannot recompile the DLL unless I reboot my machine.
The problem is that IIS does not release the object.
You have to stop the service in IIS 3 or stop the web in IIS4. Or course rebooting does the job :-)