Information générale
Titre:
Same COM component in parallel folder
I guess I should have known better but.... when I have three web applications is parallel folders on a single web server, the ASP.NET pages don't use the local copy of the COM components. They use whichever COM component was registered last.
Folder structure is like this.
c:\vghecp\
c:\sphecp\
c:\ubcecp\
Each of these has a \bin folder with ECPBIZ.DLL in it. Beneath this folder is a \DATA folder that that COM component should access.
Is there a way to force the ASP.NET web app to use the local copy of the COM component instead of going to the registry to find out where the COM component is? The main downside to this problem is that the COMP component will then use the data that is stored in the subfolder of that component instead of the proper data.
Is there another solution to this problem? Really should I be considering the COM components as a web server global service and then passing the data path on each method call to the COM component?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement