Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DCOM under NT4.0 problem
Message
De
01/10/1999 18:55:34
 
 
À
01/10/1999 18:04:45
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00271794
Message ID:
00271809
Vues:
24
>Here at EagleUSA I'm writing a out-of-process DCOM EXE server that will run on a NT4 server to simulate Record Locking in SQL Server 6.5
>
>The EXE registered fine on the NT machine and
>I can get the DCOM object to fire if I set the DCOMcnfg identity rights for that CLSID to "The launching user".
>But the problem is that if 5 people instantiate the DCOM object, then it generates 5 entries running on the NT server.(not good because there will be more than 500 users)
>ie: It causes multiple instances of the server to be launched on one computer.
>Microsoft solution "The most common approach is to create a dedicated Windows NT user account that serves as the security principal for distributed applications. Once you create a local or a domain account, you can configure the AppID by selecting This User and entering the user name and password. Once you configure your application to run using a specific user account, all objects activated from the AppID run in a single-server process."
>
>
>When we do that it creates the object (I think) but we cannot run any methods as we did before...
>
>Maybe the Service Control Manager cannot load the server process for some reason... We even gave the EXE (CLSID) administrator rights, and included SYSTEM user as indicated by Microsoft.
>
>Do you know what else can I try?
Does it have to be an exe? You might get lucky with a multi-threaded dll.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform