locked
Server Error in '/' Application. RRS feed

  • Question

  • Could not load file or assembly 'System.Data.SQLite' or one of its dependencies. An attempt was made to load a program with an incorrect format.

    Env: Windows Server 2008 / IIS 7.0 / MS SQL Server 2008 / Access 2003

    It shows this after I deployed the site , this is why ?

    Thank you for your help.


    Michael Chiang
    • Moved by Bob Beauchemin Wednesday, September 28, 2011 2:59 AM Moved to relevent forum (From:.NET Framework inside SQL Server)
    Wednesday, September 28, 2011 12:54 AM

Answers

  • Are you running 64-bit Windows Server 2008? Perhaps you are deploying the 32-bit version of SQLite but did not set the "Enable 32-Bit Applications" option for the application pool to True in IIS?
    Paul ~~~~ Microsoft MVP (Visual Basic)
    • Marked as answer by Larcolais Gong Wednesday, October 5, 2011 5:00 AM
    Thursday, September 29, 2011 2:19 PM