Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Same COM component in parallel folder
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Same COM component in parallel folder
Divers
Thread ID:
00769742
Message ID:
00769742
Vues:
45
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
Fil
Voir

Click here to load this message in the networking platform