Messages d'erreur « Impossible de trouver le moteur de script… » / « Impossible de créer un script pour la langue spécifiée »

Les modules complémentaires MediaMonkey (scripts) dépendent du framework de script Windows pour fonctionner. S'il n'est pas installé ou configuré correctement, les modules complémentaires peuvent échouer ou afficher des erreurs.

« Impossible de trouver le moteur de script… »

Certaines applications antivirus peuvent empêcher l'enregistrement des scripts ; cette erreur peut se produire si l'application antivirus tente d'analyser un module complémentaire avant de l'autoriser à être exécuté par le moteur de script de Windows et ne parvient pas à trouver le fichier vbscript.dll une fois l'analyse terminée.

Le problème apparaît parfois après l'installation du correctif Microsoft MS10-020 et l'exécution de Kaspersky Internet Security.

Pour résoudre l'erreur « Impossible de trouver le moteur de script… », vous pouvez modifier le registre à l'aide de REGEDIT :

[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

Et écrivez « C:\Windows\system32\vbscript.dll » comme valeurs clés


[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

Et écrivez « C:\Windows\SysWOW64\vbscript.dll » comme valeurs clés

« Un script pour la langue spécifiée ne peut pas être créé »

Sur certains systèmes (en particulier les systèmes x64), les contrôles d'accès utilisateur (UAC) peuvent interférer avec l'enregistrement correct des composants de script, ce qui entraîne l'erreur ci-dessus.

Pour résoudre le problème « Un script pour la langue spécifiée ne peut pas être créé » :

  1. Exécutez CMD en mode administrateur (cliquez sur le bouton Démarrer de Windows -> tapez CMD dans la barre de recherche et faites un clic droit, puis choisissez exécuter en tant qu'administrateur).
  2. Tapez/exécutez « cd \windows\syswow64 » (« cd \windows\system32 » pour Windows 32 bits)
  3. Tapez/exécutez « regsvr32 /U vbscript.dll » pour désenregistrer la bibliothèque Visual Basic Script (vbscript) et Windows Scripting Host (WSH) si elle est enregistrée
    Tapez/exécutez « regsvr32 vbscript.dll » pour enregistrer la bibliothèque Visual Basic Script (vbscript) et Windows Scripting Host (WSH)
  4. Tapez/exécutez « regsvr32 /U jscript.dll » pour désenregistrer la bibliothèque Java Script (jscript) si elle est enregistrée
    Tapez/exécutez « regsvr32 jscript.dll » pour enregistrer la bibliothèque Java Script (jscript)
  5. Tapez/exécutez « regsvr32 /U scrrun.dll » pour désinscrire la bibliothèque Microsoft Script Runtime si elle est enregistrée
    Tapez/exécutez « regsvr32 scrrun.dll » pour enregistrer la bibliothèque Microsoft Script Runtime
  6. Tapez/exécutez « regsvr32 /U msscript.ocx » pour enregistrer la bibliothèque Microsoft Script Control si elle est enregistrée
    Tapez/exécutez « regsvr32 msscript.ocx » pour enregistrer la bibliothèque Microsoft Script Control

    Après avoir enregistré ces bibliothèques, MediaMonkey et tous les modules complémentaires/scripts tiers devraient fonctionner sans problème.

    Remarque : pour tester VBScript, vous pouvez utiliser le test suivant pour afficher la version VBScript sur votre système :
    http://www.happymonkeying.com/eSupport/Test_VBscript.exe devrait afficher la version VBScript.
    Si la version ne s'affiche pas, il se peut qu'il y ait toujours un problème de script sur votre système.

REMARQUES

  • La modification du registre Windows comporte des risques. Assurez-vous de bien vous familiariser avec le registre Windows en effectuant des recherches en ligne avant de le modifier.

S'applique à :

Translated automatically (see original)

‘Can’t find script engine …’ / ‘A script for the specified language can not be created’ error messages

MediaMonkey Addons (scripts) depend upon the Windows Scripting framework to run. If it isn’t installed or configured correctly, then Addons may fail or show errors.

‘Can’t find script engine …’

Some antivirus applications may prevent scripts from being registered; this error can occur if the antivirus application tries to scan an Addon before allowing it to be run by Windows’ scripting engine, and fails to find the vbscript.dll file after scanning is complete.

The problem is sometimes introduced after Microsoft patch MS10-020 has been installed and Kaspersky Internet Security is running.

To resolve the ‘Can’t find script engine …’ error, you may edit the registry using REGEDIT:

[HKEY_CLASSES_ROOT\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

And write “C:\Windows\system32\vbscript.dll” as key values


[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3741-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3742-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]
[HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{B54F3743-5B07-11cf-A4B0-00AA004A55E8}\InprocServer32]

And write “C:\Windows\SysWOW64\vbscript.dll” as key values

‘A script for the specified language can not be created’

On some systems (particularly x64 systems), User Access Controls (UAC) may interfere with proper registration of scripting components, resulting in the above error.

To resolve the ‘A script for the specified language can not be created’:

  1. Run CMD in administrator mode (click the Windows Start button -> type CMD in the search bar and right click, then choose execute as administrator).
  2. Type/execute “cd \windows\syswow64” (“cd \windows\system32” for 32 Bit windows)
  3. Type/execute “regsvr32 /U vbscript.dll” to unregister Visual Basic Script (vbscript) and Windows Scripting Host (WSH) library if it is registered
    Type/execute “regsvr32 vbscript.dll” to register Visual Basic Script (vbscript) and Windows Scripting Host (WSH) library
  4. Type/execute “regsvr32 /U jscript.dll” to unregister Java Script (jscript) library if it is registered
    Type/execute “regsvr32 jscript.dll” to register Java Script (jscript) library
  5. Type/execute “regsvr32 /U scrrun.dll” to unregister Microsoft Script Runtime library if it is registered
    Type/execute “regsvr32 scrrun.dll” to register Microsoft Script Runtime library
  6. Type/execute “regsvr32 /U msscript.ocx” to register Microsoft Script Control library if it is registered
    Type/execute “regsvr32 msscript.ocx” to register Microsoft Script Control library

    After registering these libraries MediaMonkey and any third party addons / scripts should work without issues.

    Note: To test VBScript, you can use the following test show the VBScript Version on your system:
    http://www.happymonkeying.com/eSupport/Test_VBscript.exe should show VBScript Version.
    If it fails to display the version, there may still be a problem with scripting on your system.

NOTES

  • Editing the Windows Registry is not without risk. Make sure you familiarize yourself with the Windows Registry through online searches prior to modifying it.

Applies to:

Hide original

Cet article vous a-t-il été utile ?