Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unloading COM DLLS and EXEs
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00715571
Message ID:
00715674
Views:
28
You might want to try code to see if that works like:
DirObj=GetObject("llS://LocalHost/W3SVC/1/Root/"+JustStem(cOutputName))
DirObj.AppUnload

>>>I swtiching from COM+ to having my virtual directory run with Application Protect = High so that I can unload my COM EXEs (COM+ only allows unloading of COM DLLs). When I start Internet Information Services, then select "propertiers" on my virtual directory, then click the "directory" tab... then "Unload" button is disabled. Which means I can't unload the DLLs and EXEs from memory.
>>>
>>>Anyone know why or how to enable the button or what I am doing wrong?
>>
>>Unload button will be disabled when:
>>
  • Web app has not yet started (i.e. after rebooting and prior to first request)

  • >>
  • Web app is still running in Medium or Low mode (even if you changed the mode, it wont take efect till IIS is restarted

  • >>After first restart, Unload button usually behaves well: if the app is started it will allow you to unload it.
    >>If it doesn't, you can always restart the IIS services (you can do it from the IIS console, on W2K)
    >
    >Web app has started, just hit an ASP.NET page that loads the DLL. IIS has been restarted.
    >The unload but is still disabled though. Any other ideas?
    Previous
    Next
    Reply
    Map
    View

    Click here to load this message in the networking platform