SQL CE funktioniert nicht

  • VB.NET

Es gibt 1 Antwort in diesem Thema. Der letzte Beitrag () ist von INOPIAE.

    SQL CE funktioniert nicht

    Hallo,
    Ich habe bis jetzt auf meinem alten PC x86 mit VB 2008 und SQLite gearbeitet.
    Seit ich nun PC wechseln musste (Windows 7, x64) kann ich SQLite nicht mehr benutzen. Ich habe also SQL CE benutzt. Auf meinem PC funktioniert auch mein Programm, aber auf einem anderen PC mit XP x86 gibt er mir diese Fehlermeldung:

    See the end of this message for details on invoking
    just-in-time (JIT)
    debugging instead of this dialog box.

    ************** Exception Text
    **************
    Unable to load the native components of SQL Server Compact
    corresponding to the ADO.NET provider of version 8080. Install the correct
    version of SQL Server Compact. Refer to KB article 974247 for more
    details.


    ************** Loaded Assemblies
    **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32
    Version: 4.0.30319.1 (RTMRel.030319-0100)
    CodeBase:
    file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    Verba
    Disco 2
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

    CodeBase:
    file:///H:/Debug/Verba%20Disco%202.exe
    ----------------------------------------
    Microsoft.VisualBasic

    Assembly Version: 10.0.0.0
    Win32 Version: 10.0.30319.1 built by:
    RTMRel
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System

    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by:
    RTMRel
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Core

    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by:
    RTMRel
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Windows.Forms

    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by:
    RTMRel
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing

    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by:
    RTMRel
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Runtime.Remoting

    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1
    (RTMRel.030319-0100)
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    System.Data.SqlServerCe

    Assembly Version: 3.5.1.0
    Win32 Version: 3.5.8080.0
    CodeBase:
    file:///H:/Debug/System.Data.SqlServerCe.DLL
    ----------------------------------------
    System.Data

    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1
    (RTMRel.030319-0100)
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Transactions

    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1
    (RTMRel.030319-0100)
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    ----------------------------------------
    System.Xml

    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.1 built by:
    RTMRel
    CodeBase:
    file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------

    **************
    JIT Debugging **************
    To enable just-in-time (JIT) debugging, the
    .config file for this
    application or computer (machine.config) must have
    the
    jitDebugging value set in the system.windows.forms section.
    The
    application must also be compiled with debugging
    enabled.

    For
    example:

    <configuration>
    <system.windows.forms
    jitDebugging="true" />
    </configuration>

    When JIT debugging is
    enabled, any unhandled exception
    will be sent to the JIT debugger registered
    on the computer
    rather than be handled by this dialog box.

    _____________________

    Wieso bekomme ich diesen Fehler? Bitte hilft mir!
    Bilder
    • bild1.jpg

      74,83 kB, 449×356, 165 mal angesehen
    Unable to load the native components of SQL Server Compact
    corresponding to the ADO.NET provider of version 8080. Install the correct
    version of SQL Server Compact. Refer to KB article 974247 for more
    details.

    gibt die Lösung: Hast Du auf dem Zielrechner auch die nötige bzw. richtige DLL vom SQLCE installiert? Wie kommt denn Dein Programm auf den anderen PC?
    NB. Es ist doch schön, wenn man lesbare Namen vergibt. Siehe auch [VB.NET] Beispiele für guten und schlechten Code (Stil).