Discussion Locked

Easy question related to my web site....

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a web server (IIS 4.0) running multiple sites, each in it's own memory space (to avoid bringing all sites down in the event one crashes).

My problem is a particular site I have calls
a .dll file in sending a mail message. WHen the site runs in it's own memory space, it can't call the .dll. When I take it out of it's own memory space, it runs fine.

So, when I load a site in it's own memory space how do I load the dll with it?

5 replies

by techham

I have been able to isolate a .dll to a site by assigning it to the ISAPI filter on that site alone. (site properties-ISAPI Filter).

Most application filters are applied to the whole IIS Server. And possibly when you run them in their own memory space, it needs to have that filter applied on its own.

by roman1981

Does LoadLibrary(..) cause any API error when your site is run as a separated process? If so, the problem is in IIS 4 itself, I think.

This discussion is closed to new replies.