Click to add

Click to add
ex: [email protected]

Click to add
What would you like to tell me?

 

  • Blog
  • Portfolio
  • Articles
  • Downloads
  • Contact

This is how I blog...

  • Home/
  • Blog/
  • Resolve Could not load file or assembly System.Data.SQLite

Resolve Could not load file or assembly System.Data.SQLite

This YSOD error drove me batty for a few hours, simple resolution though.

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.

You'll experience it with Sitefinity when you setup a new site in IIS.  By default "Enable 32-Bit Applications" in the App Pool settings for the new site are "FALSE"...turn it to "TRUE" and it'll all work fine again (*sigh*)

**Update Dec 28th, 2012**
That assembly doesn't appear to be required, just kill it from the bin folder and you don't need to run in 32-bit more anymore.

Cheers

Deploy to live and you get a YSOD of System.Data.SQLite? This dear fellows...be the answer.
tutorial
ysod
  • LinkedIn
Back to all posts
June 06, 2012   /  
Visit Steve on Google+
comments powered by Disqus

Search

Blog Categories

  • fixes
  • news
  • other
  • previews
  • rants
  • reviews
  • tutorial

Recent Comments

Tags

3x404243444x5253AjaxAnalyticsAsp.netBetablog-postboolChoiceFieldCommunityContentViewContextContractControlscssCTPCufonDatabaseDelaysDesignDetailDisqusdowntimeDropboxdynamicDynamicContenteCommerceELMAHEnergy-MarketersEntendingErrorEventsExtensionFieldControlFixFlatTaxonFieldFontsFormsGeneric-ContentGoogleHierarchicalTaxonFieldhostingHtmlimageImagesjavascriptJobjQueryJustJustCodeJustDecompileJustTraceKendoUILayoutControlsLogMarketersMasterMindscapeMinificationModule-Buildernew-productsNotesOpenAccessOptomizationPage-EditPerformancePITSportfolioPreviewPrimerRackspaceRadChartRadControlsRadEditorRadNotificationRadStyleSheetManagerRadXmlHttpPanelreleaseReportingResolutionReviewroadmapRoutingScamScrewedSDKSearchSelectorsServicessitefinitySkinsSpeedSQLStored-ProcedureStored-ProceduresteleriktellarickTemplatesthemeToolsUpdateuptimeVersionsViewstateWCFwebinarWebservicesWF4widgetXmlHttpPanelYSOD
FreshBooks

Latest Blog Posts

  • Twitter is dead, Sitefinity just got less Social
    Sitefinity doesn't have a twitter widget anymore.
  • Introducing the ScriptStyle Widget
    Introduction to the best Script control to use in Sitefinity
  • The Sitefinity ContentView can be an ass#$%@ sometimes
    The problem with the assumtions Sitefinity ContentView makes

Recent Comments

Address

Hamilton, ON
Canada
Email: contact

Disclaimer

Important: This site is perhaps too awesome for some users.  Please self govern your own awesomeness before browsing the awesome content.  
Telerik MVP Logo

Buy me a beer

Back to Top