Server Error in '/' Application
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
September 28th, 2011 3:46am
I notice others mentioning about the issue with 32-bit and 64-bit platforms. Are you using 64-bit version of OS and SharePoint?
http://stackoverflow.com/questions/1278929/could-not-load-file-or-assembly-system-data-sqlite
Thanks & Regards,
Kamlesh | Blog |
Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 5:46am
I notice others mentioning about the issue with 32-bit and 64-bit platforms. Are you using 64-bit version of OS and SharePoint?
http://stackoverflow.com/questions/1278929/could-not-load-file-or-assembly-system-data-sqlite
Thanks & Regards,
Kamlesh | Blog |
Twitter | Posting is provided "AS IS" with no warranties, and confers no rights.
Yes. I'm using 64-bit OS now, and the site was deployed in 32-bit OS before.
But not sharepoint, it's my web site .
Michael Chiang
September 28th, 2011 6:06am
Hi,
Can you run your application pool at 32 bit version? Just try to set 32 version = true on IIS.
Here is the link to do this:
http://www.prolificnotion.co.uk/elmah-an-attempt-was-made-to-load-a-program-with-an-incorrect-format/
Just let us know how much it is useful in your caseCheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 11:27am
Hi,
Can you run your application pool at 32 bit version? Just try to set 32 version = true on IIS.
Here is the link to do this:
http://www.prolificnotion.co.uk/elmah-an-attempt-was-made-to-load-a-program-with-an-incorrect-format/
Just let us know how much it is useful in your caseCheers, Hemendra-MCTS "Yesterday is just a memory,Tomorrow we may never see"
September 28th, 2011 11:27am