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

Windows Forms Discussion :

[C#] Problème exception mscorlib.dll


Sujet :

Windows Forms

  1. #1
    Débutant
    Homme Profil pro
    Chef de projet NTIC
    Inscrit en
    Janvier 2004
    Messages
    452
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Chef de projet NTIC
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Janvier 2004
    Messages : 452
    Points : 324
    Points
    324
    Par défaut [C#] Problème exception mscorlib.dll
    Tout d'abord Bonjour à tous,
    Alors voila mon problème :
    J'ai une application en C# qui se connecte à une BDD mysql.
    elle permet aussi d'écrire dans des cartes sans contact.

    Mon problème c'est que j'ai 3 machines avec visual studio 2005.
    avec le framework 1.1 et 2.0 sur chacune d'elles.

    Lorsque je compile sur la 1ere machine mon source, la compilation se fait bien
    je n'ai aucune exception de levé et la programmation de mes cartes s'effectue correctement.

    Sur le second PC, je compile mon source mais lors du lancement j'ai un message

    "a first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll'"

    Mais bon l'application se lance quand meme.
    Mais lorsque je désire écrire dans un badges.

    J'ai un autre message :
    "\bin\debug\gemCard.dll" no symbols loaded.

    Donc au final ca ne me fonctionne plus.

    Le plus etrange c'est que si je récupere l'executable generé, et que je le mette
    sur la machine ou la compilation s'effectue correctement.
    La ca fonctionne et mes badges sont programmables.

    Je comprend pas grand chose.
    D'après moi c'est peu etre un soucis au niveau du framework ou de la dlls.
    Mais comment en etre sur.

    Ah oui petite infos ma dlls de programmation de carte a été wrapper à partir d'un source visual c++.

    Peu etre un rapport.

    En tout cas, voila si quelqu'un pouvais m'aider je lui en serai tres reconnaissant.

    Merci d'avance

  2. #2
    Débutant
    Homme Profil pro
    Chef de projet NTIC
    Inscrit en
    Janvier 2004
    Messages
    452
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Chef de projet NTIC
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Janvier 2004
    Messages : 452
    Points : 324
    Points
    324
    Par défaut
    Enfaites pour la 1ere machine lorsque je lance le debuggage dans la fenetre "output" en debug rien ne s'affiche.

    Alors que sur la machine ou ca fonctionne pas, j'ai un paquet de message, dont entre autres mscorlib.

    Voici les message :
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\Documents and Settings\Christelle Carbonnel\Bureau\26-07-07\bin\Debug\BadgelogAdministrator.vshost.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    The thread 0x214 has exited with code 0 (0x0).
    The thread 0x284 has exited with code 0 (0x0).
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\Documents and Settings\Christelle Carbonnel\Bureau\26-07-07\bin\Debug\BadgelogAdministrator.exe', Symbols loaded.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
    A first chance exception of type 'System.ArgumentOutOfRangeException' occurred in mscorlib.dll
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\Documents and Settings\Christelle Carbonnel\Bureau\26-07-07\bin\Debug\GemCard.dll', No symbols loaded.
    'BadgelogAdministrator.vshost.exe' (Managed): Loaded 'C:\Documents and Settings\Christelle Carbonnel\Bureau\26-07-07\bin\Debug\SCLib.dll', No symbols loaded.
    Voila si c'a peu vous eguiller, merci

  3. #3
    Débutant
    Homme Profil pro
    Chef de projet NTIC
    Inscrit en
    Janvier 2004
    Messages
    452
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Chef de projet NTIC
    Secteur : High Tech - Électronique et micro-électronique

    Informations forums :
    Inscription : Janvier 2004
    Messages : 452
    Points : 324
    Points
    324
    Par défaut
    Bon au final j'ai trouvé d'ou provenanit mon exception "ArgumentOurOfRange"
    Malheureusement pour moi c'a n'a pas résolu mes problème d'écriture carte.

    Je vais continuer à chercher une solution, si quelqu'un à quelquechose à me proposer.
    Je suis prenneur, Merci

Discussions similaires

  1. Réponses: 2
    Dernier message: 21/09/2013, 10h56
  2. Exception System.ArgumentException dans mscorlib.dll
    Par CeluiQuiCode dans le forum C#
    Réponses: 7
    Dernier message: 07/06/2013, 09h54
  3. problème avec mscorlib.dll
    Par sisqo60 dans le forum C#
    Réponses: 1
    Dernier message: 31/01/2008, 17h47
  4. Problème création de DLL
    Par monsieur.voie.lactee dans le forum C++Builder
    Réponses: 4
    Dernier message: 12/08/2003, 16h56
  5. [Kylix] exception qtinft.dll et multi-threading
    Par leclaudio25 dans le forum EDI
    Réponses: 3
    Dernier message: 27/03/2003, 18h09

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