Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 683763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:44:36+00:00 2026-05-14T01:44:36+00:00

I just downloaded the Orchard CMS , opened it up in VS2008 and hit

  • 0

I just downloaded the Orchard CMS, opened it up in VS2008 and hit F5: Everything runs fine.

I then created a website in IIS 7.5 and pointed it to the web project’s directory and set up permissions correctly (I hope). I downloaded the 64-bit version System.Data.SQLite as suggested here: Orchard Work Item 14798 and here: SO: Could not load file or assembly ‘System.Data.SQLite’.

The site runs in Full Trust. When I point my browser to the site running through IIS I get

Could not load file or assembly
‘System.Data.SQLite, Version=1.0.65.0,
Culture=neutral,
PublicKeyToken=db937bc2d44ff139’ or
one of its dependencies. Failed to
grant minimum permission requests.

I don’t know much about Code Access Security (if that is even what’s at play here), so I am at a loss here. What am I doing wrong / not understanding / not seeing? How do I provide appropriate permissions and to whom / what?

Is there any hope of ever deploying this application to a hoster where I am only allowed to run in Medium Trust?

Any help, pointers or suggestions would be greatly appreciated. Thanks.

NOTE: the question is not why this initially worked when run through Cassini. The answer to that question is contained in the answer to the SO question referenced above.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T01:44:36+00:00Added an answer on May 14, 2026 at 1:44 am

    The SQLite provider uses P/Invoke to communicate with the underlying engine and therefore cannot run in medium trust. This makes SQLite inappropriate for the majority of hosting providers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just downloaded MVC and I am going through a tutorial. Everything goes fine
I just downloaded Eclipse several hours ago, and needed to add Java3D to the
I just downloaded the ASP.NET MVC beta and wanted to walk through the quickstarts
I just downloaded the ASP.NET MVC beta and the templates are not StyleCop compliant.
I just downloaded MonoDevelop for my Mac, but I cannot figure out how to
I've just downloaded the ASP.MVC MSI package, but the installation fails with the There
I'm new to Apex and have just downloaded Eclipse to get to work Eclipse
Or just any library, in general? I downloaded the bin.zip file, but I can't
I just downloaded Ruby 1.9.2, and I want it to completely replace the older
I just downloaded a trial version of NDepend. What I'm looking for is a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.