VB will nicht mehr :/

Es gibt 8 Antworten in diesem Thema. Der letzte Beitrag () ist von ~blaze~.

    VB will nicht mehr :/

    Huhu, nach einem Absturz meines Systems funktioniert VB2008 nicht mehr richtig.
    Um jetzt nur das größte Problem ins Auge zu fassen:

    Bei Debug.print taucht folgender Fehler auf:

    Spoiler anzeigen

    VB.NET-Quellcode

    1. System.Configuration.ConfigurationErrorsException wurde nicht behandelt.
    2. BareMessage="Das Konfigurationssystem konnte nicht initialisiert werden."
    3. Line=0
    4. Message="Das Konfigurationssystem konnte nicht initialisiert werden."
    5. Source="System.Configuration"
    6. StackTrace:
    7. bei System.Configuration.ConfigurationManager.GetSection(String sectionName) bei System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName) bei System.Diagnostics.DiagnosticsConfiguration.Initialize() bei System.Diagnostics.DiagnosticsConfiguration.get_IndentSize() bei System.Diagnostics.TraceInternal.InitializeSettings() bei System.Diagnostics.TraceInternal.WriteLine(String message) bei axepolis.GeschäftKaufen.kaufen_kaufen_Click(Object sender, EventArgs e) in D:\Users\Ich\Documents\Visual Studio 2008\Projects\axepolis\axepolis\GeschäftKaufen.vb:Zeile 14. bei System.Windows.Forms.Control.OnClick(EventArgs e) bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) bei System.Windows.Forms.Control.WndProc(Message& m) bei System.Windows.Forms.ButtonBase.WndProc(Message& m) bei System.Windows.Forms.Button.WndProc(Message& m) bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun() bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel() bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine) bei axepolis.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81. bei System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart()
    8. InnerException: System.Configuration.ConfigurationErrorsException
    9. BareMessage="Das Stammelement ist nicht vorhanden."
    10. Filename="D:\Users\Ich\AppData\Local\luxape\axepolis.vshost.exe_Url_wblqh0h1frp5tpl3j21m4ftc0in45jt0\1.0.0.0\user.config"
    11. Line=0
    12. Message="Das Stammelement ist nicht vorhanden. (D:\Users\Ich\AppData\Local\luxape\axepolis.vshost.exe_Url_wblqh0h1frp5tpl3j21m4ftc0in45jt0\1.0.0.0\user.config)"
    13. Source="System.Configuration"
    14. StackTrace:
    15. bei System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal) bei System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors() bei System.Configuration.ClientConfigurationSystem.OnConfigRemoved(Object sender, InternalConfigEventArgs e)
    16. InnerException: System.Xml.XmlException
    17. LineNumber=0
    18. LinePosition=0
    19. Message="Das Stammelement ist nicht vorhanden."
    20. Source="System.Xml"
    21. SourceUri=""
    22. StackTrace:
    23. bei System.Xml.XmlTextReaderImpl.Throw(Exception e) bei System.Xml.XmlTextReaderImpl.ParseDocumentContent() bei System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors) bei System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
    24. InnerException:



    Neugestartet(PC und VB) und neu installiert hab ich schon...

    Auf meinem Laptop funktioniert die Anwendung problemlos ;)

    LG Skybird
    //Kommentar
    Hört sich an als obs den Windows-Debugger zerhaun hat...

    1. Möglichkeit: Deinstallieren, Installationsordner löschen, alle Registryeinträge löschen und noch mal neuinstallieren.
    2. Google: Einfach mal den Fehler googeln, es gibt immer einen der so einen Fehler schonmal hatte



    3. Windows neuinstallieren (wenn gar nichts hilft)
    Hi
    @mcandy: Glauben heißt nichts wissen.
    @zourette: Er hats schon neu installiert.
    @Skybird:
    Schau mal ob du diese Datei findest:
    D:\Users\Ich\AppData\Local\luxape\axepolis.vshost.exe_Url_wblqh0h1frp5tpl3j21m4ftc0in45jt0\1.0.0.0\user.config

    Zeile 7 und 10 deuten darauf hin, dass die Datei defekt ist, weil etwas nicht geladen werden konnte. Nachdem es der System.Configuration-Namespace ist, wird es wohl eine fehlende Einstellung oder sowas sein.

    Gruß
    ~blaze~
    Versuchs mit umbenennen. Dann sollte eine neue angelegt werden. Ich denke, dass einfach irgendeine Einstellung falsch oder gar nicht mehr gespeichert wurde und deswegen die Datei nicht verwendet werden kann. Wenn der Test nicht funktioniert, kannst du die Datei wieder zurückbenennen.

    Edit: Scheinbar ist die Datei nur angelegt, aber leer (oder zumindest nur mit Nullen gefüllt) und somit wohl unbrauchbar.

    Gruß
    ~blaze~