You are the man! It's working like a champ now. One dll, multiple servers and apps. Thanks
George James wrote:
Ben I think this is a manifestation of what is usually known as DLL hell!
I believe that IIS will only have one instance of CSPms.dll in memory, and consequently it will only load up the config from one csp.ini file.
To put it another way, despite having two instances of Cache, you only have one instance of IIS and consequently only one CSP gateway (whichever of the two got loaded first).
There is a solution to this. Forget about the second instance of the CSP gateway. Point the script mapping for both applications to the first instance. Then from a web-browser on the server run http://localhost/csp/bin/CSPmsSys.dll to configure the gateway.
In the Gateway configuration, first select Server Access and then make an entry for each of your two Cache instances. Then select Application Access and create an entry corresponding to the path of the application's url and then set the Default Server value to point to the appropriate instance of Cache.
Regards George
George James Software Cach� Tools, Training, Technology www.georgejames.com +44-1932-252568
-----Original Message-----
From: Ben Taylor [mailto:[EMAIL PROTECTED] Posted At: 05 August 2004 16:04
Posted To: Cach� Newsgroup
Conversation: Multiple Instances of Cache
Subject: Multiple Instances of Cache
Hey guys.
Got a problem here. On our test box, we recently installed a second instance of Cache (ver. 5.0.5). I changed the port numbers, installed with a different name, in different directory than the original install. Install one works fine. Install two works fine in the GUIs, Terminal etc. However, not matter how I seem to configure IIS (ver. 5, Windows XP), incoming .csp connections get sent to install one, and I recieve an 'application doesn't exist' error, which makes since the app I want is on Install two, NOT on install one. I changed the configuration to map .cls and .csp extenstions for the virtual directory to use the dlls for install two, but it still uses install one.
What I am missing?
Ben Taylor MPLNet, Inc.
