Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hi I have a web application that uses a DLL to connect to a AS/400 server, using cwbx.dll (Interop). What happens now is that it works fine for 1 user, but if 2 users requests something at the same time, it takes too long because the DLL is not instance twice.

Is it possible to instantiate a DLL dynamicaly in IIS? Or how can I work around this issue?
Posted

1 solution

That's not your problem. The DLLs are only ever loaded once into a process and it hangs around until the process is terminated. That process is IIS, not your web page. The problem has to be in how your code is accessing the server, not with the number of instances of the .DLL.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900