Bonjour,
J'ai créé une application en vb.net pour communiquer avec un automate. Je lance mon application bin/release/appli.exe, mon appli se lance bien et s'exécute correctement.
Mais si je lance un autre logiciel qui communique avec ce même automate en même temps, selon les ordinateurs (version de windows plus ou moins récents) mon application créé une exception sur les windows moins récents :
Ceci me dépasse totalement, après quelque recherche j'ai cru comprendre qu'il faudrait changer les droits sécurités de cette manière :System.TypeInitializationException: The type initializer for 'WindowsApplication1' threw an exception. ---> System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {B544D2BD-354C-456E-9E88-20F71625E7DF} failed due to the following error: 80080005 Échec de l'exécution du serveur (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
Mais le problème est : je ne connais pas l'application avec ce CLSID, dans les références sur visual basic aucunes de mes références en COM ont ce CLSID.1) Run dcomcnfg open Component Services
2) Expand Component Services "->" Computer "->" My Computer "->" the DCOM configuration "
3) Find the application
4) Right to open the Properties dialog box
5) Click on the "Security" tab,
6) "Launch and Activation Permissions, configure permissions, have opted for a custom
7) Their editing and then click the considered app added to it, and added all the permissions ...
Si ce problème est résolu toute mon application sera terminé et prête à l'emploi mais en attendant elle sert à rien. -_-
Merci pour votre aide,
Cordialement
Neoxaro
Partager