Information générale
Catégorie:
COM, DCOM et OLE automation
>I'm trying to deploy my first n-tier application with: UI exe, Business object dll and Data object dll but am unsure how properly I should do this. Do I:
>
>1. Compile Data object dll.
>2. Copy the dll to remote server.
>3. Register dll on server using Regsvr32.exe.
>4. Create COM+ package and install component.
>5. Export package.
>6. Run client setup on each workstation.
>
>If so, do I need to unregister this component on the local workstation that origianlly compiled it before running client setup? Is there any problems with versioning if I'm working on new versions of the component on my local workstation? TIA.
The steps are good except #3. Do not register the dll on the server manually, this will be done when you create the package and add the component to it.
The workstation where you are developing it can continue using the component with the latest changes outside of COM+, (after creating the DLL VB registers it to the local machine automatically) it will not affect other clients in any way. Just don't update the package until you are ready to deploy.
Précédent
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