Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COM Object isnot released from memory when referenced from ASP page

Status
Not open for further replies.

dellyjm

Programmer
Apr 13, 2000
168
JM
Howdy folks.

I'm having a problem with a COM DLL that I wrote to be used by an ASP page and a VB client app.

The object is used and released in VB client app, if there are any changes i just uncheck reference and then recompile COM DLL. If i used the object in ASP i get a Permission denied error when I try to recompile it.

Could someone tell me how i could force the release of this object from memory so that i can recompile it?

Delton.
 
Try Process Isolation.


"If you are a component developer, you get another bonus. Normally, when you try to recompile a DLL that's in use by IIS, you will get a Permission Denied error message. Unfortunately, the workaround requires stopping and restarting the Web service. However, when your Web application is isolated, you can simply unload it through the ISM so that you can recompile your DLL. To unload your parent MTX.EXE process for your Web application, bring up your Web application's properties through the ISM and click the Unload button." Generate Forms/Controls Resizing/Tabbing Class
Compare Code (Text)
Generate Sort Class in VB or VBScript
 
Semi-related to this - I find when I register a DLL at home and use it in ASP pages (through PWS), I have to restart my computer (after unregistering the DLL) to be able to delete/recompile the DLL file. Any easy-outs for that? codestorm
Fire bad. Tree pretty. - Buffy
Hey, I'm operating on a limited mental budget here.
<insert witticism here>
 
If you are using Interdev there may be times where you have to shut it down and start it again after creating your COM dll.

Hope this helps a little.

AJ
 
Thanks guys, this has been very helpful.

Delton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top