IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

VB 6 et antérieur Discussion :

probleme acces a projet/references -> erreur acces base registre [Trucs & Astuces]


Sujet :

VB 6 et antérieur

  1. #1
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Janvier 2003
    Messages
    43
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2003
    Messages : 43
    Points : 37
    Points
    37
    Par défaut probleme acces a projet/references -> erreur acces base registre
    bonjour a tous,
    je ne peux pas aller dans projet/references, il m'affiche un message d'erreur "erreur d'acces a la base de registre"
    j'ai trouvé ceci http://support.microsoft.com/kb/269383/fr mais cest une traduction automatique et c'est incomprehensible pour la partie 3 ou il faut utiliser le planificateur de tache. apparemment le probleme viendrai avec l'installation d'une certaine version de crystal report
    Pourriez vous m'aider si vous avez eu le meme probleme ou si vous comprenez la partie avec le planificateur de tache
    merci d'avance
    cordialement
    pierre

  2. #2
    Modérateur
    Avatar de AlainTech
    Homme Profil pro
    Consultant informatique
    Inscrit en
    Mai 2005
    Messages
    4 235
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 70
    Localisation : Belgique

    Informations professionnelles :
    Activité : Consultant informatique
    Secteur : Finance

    Informations forums :
    Inscription : Mai 2005
    Messages : 4 235
    Points : 24 327
    Points
    24 327
    Par défaut
    Version anglaise:
    Steps to Correct this Problem
    First you need to figure out which registry key or keys are affected. This can be done in two ways: 1. Use REGEDT32.exe to scan for keys that are dimmed in HKEY_CLASSES_ROOT\TypeLib and HKEY_CLASSES_ROOT\CLSID.
    2. Use the RegMon utility from www.sysinternals.com. Run the filtering processes for Visual Basic, and then try accessing the References dialog box in Visual Basic. When the error occurs, switch to RegMon and make note of the last keys which were successfully read or written. (These should be from HKEY_CLASSES_ROOT\TypeLib or HKEY_CLASSES_ROOT\CLSID.)
    You can then fix the permission problem in the following ways: 1. Load REGEDT32 and locate the keys that are dimmed from the preceding step 1, or the keys that you noted from step 2. (Note: If you used step 2, once you locate the key, look at the key or sub-key that immediately follows it in the Registry. If you did not have the appropriate permissions to access the key, it would not have even been logged through the RegMon utility and, as such, the entry you noted in step 2 will be the last successful read/write. Therefore, the one that followed it caused the error to occur.
    2. On the Security menu, give the appropriate permissions to the key so that you, and Visual Basic, can access it:• Administrators - Full Control
    • Everyone - Read
    • System - Full
    • Users - Read
    • Modify the user list to suite your needs.


    3. Sometimes REGEDT32 is not able to access the key, and it gives you an error stating that the security account information cannot be retrieved or found. You can fix this in the following ways:a. On the Control Panel, double-click the Services icon.
    b. Verify that the Task Scheduler is running and start it if it is not.
    c. Open a command prompt. (DOS Prompt) (Note: The window caption says Command Prompt.)
    d. Type the following command to schedule a new command prompt:AT 13:10 /Interactive cmd.exe


    e. Change 13:10 to whatever time you want the cmd.exe (command prompt) to run: for example, one or two minutes from your current time.
    f. Wait until this new command prompt starts. (Note: The window caption is similar to C:\Winnt\System32\MSTask.exe.) If the command prompt fails to start, please see Knowledge Base article 193852 (http://support.microsoft.com/kb/193852/EN-US/) "Task Scheduler May Fail to Run Job When Scheduled"

    Because the Task Scheduler is running under the SYSTEM account, the new command prompt is created running under the SYSTEM security context.
    g. From the new command prompt, type the following, and then press enter: REGEDT32.EXE Because you start this process from the SYSTEM command prompt, REGEDT32 is also running under the SYSTEM security context.
    h. Repeat the preceding step 2, and then reset the permissions.
    Ils recommandent d'utiliser RegMon de Sysinternals pour savoir quel accès à la base de registre est refusé.

    L'utilisation du planificateur de tâches, c'est pour pouvoir exécuter une tâche en tant que SYSTEM.
    N'oubliez pas de cliquer sur quand vous avez obtenu ou trouvé vous-même la réponse à votre question.
    Si vous trouvez seul, pensez à poster votre solution. Elle peut servir à d'autres!
    Pensez aussi à voter pour les réponses qui vous ont aidés.
    ------------
    Je dois beaucoup de mes connaissances à mes erreurs!

  3. #3
    Nouveau membre du Club
    Profil pro
    Inscrit en
    Janvier 2003
    Messages
    43
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Janvier 2003
    Messages : 43
    Points : 37
    Points
    37
    Par défaut
    merci a toi
    je viens de reussir, jai dabord telechargé un fichier "Scr8_webregfix.exe" sur le site de crystal report (sur la page de ce lien : http://technicalsupport.businessobje...1%200%20356275) qui permet de reparer le bug puis jai ouvert une invite de commande msdos puis jai tappé : AT 10:42 / interactif cmd.exe (pour quil ouvre une nouvelle invite genre 1 mn apres avec des droits speciaux), a partir de la nouvelle fenetre, je lance le fichier "Scr8_webregfix.exe"
    ca faisait 1 journée que j'etais dessus, j'espere que ca pourra servir a d'autres
    ++ et merci

  4. #4
    Membre confirmé Avatar de La Praline
    Inscrit en
    Mars 2007
    Messages
    592
    Détails du profil
    Informations personnelles :
    Âge : 38

    Informations forums :
    Inscription : Mars 2007
    Messages : 592
    Points : 568
    Points
    568
    Par défaut
    Un p'tit tag s'impose donc


    Bonne continuation
    ..........................."Membre Chevronné"... non "Chaviré" serait plus juste !!!
    ...............................Avant toute chose => Règles, FAQ, Tuto, Google...
    ...................................................................
    Rock'n Roll

Discussions similaires

  1. recherche conseils pour importation d'Acces vers Projet Acces
    Par Access Newbie dans le forum Access
    Réponses: 7
    Dernier message: 31/07/2006, 17h11
  2. [AJAX] IFrame : erreur accès refusé
    Par mouste79 dans le forum Général JavaScript
    Réponses: 7
    Dernier message: 24/03/2006, 09h50
  3. [VB] (débutant) erreur accès base de registre
    Par bandit boy dans le forum VB 6 et antérieur
    Réponses: 3
    Dernier message: 24/02/2006, 13h15
  4. [crash] Erreur accès fichier
    Par cesar33 dans le forum Access
    Réponses: 1
    Dernier message: 21/10/2005, 14h44
  5. Erreur Accès BDD
    Par psyco2604 dans le forum ASP
    Réponses: 13
    Dernier message: 10/06/2004, 10h46

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo