Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reboot for COM object changes?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00408415
Message ID:
00408673
Views:
22
>As I remember someone had a solution for shutting down foxpro dll's but I cant remember what it was.
>(Thought it may have been Ken Levy but what happened to classx.com anyway)
>
>After running a foxpro dll in an asp page I get a file access denied error when attempting to rebuild.
>
>Anyone have the answer?

The IIS Adminstration process has the DLL locked in memory. In NT, run the following at the Cmd prompt:

net stop iisadmin

You may get a message asking if it is okay to stop the Web Service, FTP Service, Gopher Service, SMTP Service, Site Server License Service (etc.), type in Y to go ahead.

At this point you can restart all those services by using net start *servicenamehere* or going to Control Panel - Services and start each service individaully. You can also rebuild your DLL after the services have been started (as long as someone else doesn't hit your ASP page before you rebuild and instantiate a new instance of your COM server).

And of course, as others have implied, you can create an MTS package (NT 4.0) and unload/rebuild/reload it without shutting down IIS. MTS adds a layer of communication and as such, adds a slight performance hit but you will have to make the call whether this is acceptable or not.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform