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 6990731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:23:44+00:00 2026-05-27T19:23:44+00:00

I have an issue with an open source C++ project that I have been

  • 0

I have an issue with an open source C++ project that I have been using where when I run it on my development machine (full trust) it works fine. When I deploy it to my hosting environment my site throws the following error:

System.IO.FileLoadException: Unverifiable code failed policy check.

From what I have read this is because my hosting environment runs in medium trust. Are there any settings in the C++ project that I can change to make this dll usable in a medium trust environment?

Update:

After doing some more investigation based on @shf301’s answer, I found this quote in the documentation for the project I am working with:

The second project is for .NET developers. I wrote a wrapper in
Managed C++ around this C++ project. The result compiles into a .NET
DLL.

Doesn’t this mean that the code should run in Medium trust?

  • 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-27T19:23:45+00:00Added an answer on May 27, 2026 at 7:23 pm

    Is the C++ code managed? Otherwise it’s a DLL, not an assembly. An assembly is a .NET concept, it doesn’t apply to unmanged DLL’s.

    If the DLL is unmanaged or it’s managed and contains native code, then you can’t use it in a medium trust environment.

    Your options are to change trust environment you are running or rewriting the library so it is completely managed code.

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

Sidebar

Related Questions

I have been working on an open source project for awhile, http://gtkworkbook.sourceforge.net/ , and
Contributing to open source can have many forms: working with issue trackers, patches, further
I have an issue that is driving me a bit nuts: Using a UserProfileManager
Having witnessed in various open source projects, in which I have been involved, several
I'm looking for a free/open source collaborative project manager that can be deployed internally
I am using an FPS counter class from an open source project and I
I need to work on a project using open source software, mahout. An example
I have a requirement for a project in an open source operating system, to
I have an open-source application on the Android market. It seems to work fine
I am using the SDWebImage open source project for loading images asynchronously. I can

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.