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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:30:30+00:00 2026-05-29T16:30:30+00:00

This question follows on from Assembly does not allow partially trusted callers when using

  • 0

This question follows on from Assembly does not allow partially trusted callers when using a custom resolver

Thanks to the solution in that question I am now able to call into a C# Library on a network share from a local console application (with no changes to CasPol)

I now need to take the next step which is calling the C# Library from another mixed C++/CLI DLL that is in the same folder on the network as the C# Library. The C++/CLI DLL will be called by the local console application.

I’m using the same custom handler in question above (ie. with evidence) that works when calling into a C# library fromn a local console application.

When calling into the C++/CLI library from the local Console application I get the following exception:

Could not load file or assembly ‘MyCplusplusCLILib, Version=0.0.0.0,
Culture=neutral, PublicKeyToken=null’ or one of its dependencies.
Failed to grant minimum permission requests. (Exception from HRESULT:
0x80131417)

If I fully trust the network location it works correctly however I do not understand why I need to grant this trust when according to changes in 3.5 SP1 the Intranet should no longer require FullTrust to be applied to it (all libraries are compiled for .NET 3.5 in the Visual Studio options)

  • 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-29T16:30:36+00:00Added an answer on May 29, 2026 at 4:30 pm

    The cases where you don’t get FullTrust are listed at the bottom of this blog post:

    1. Assemblies loaded from a subdirectory of the share where the .exe was launched from
    2. Assemblies loaded from shares other than the one where the main .exe was launched
    3. Any assembly loaded on a machine with the LegacyMyComputer registry value set to 1
    4. Any assembly loaded into a CLR host, including assemblies loaded into Internet Explorer as controls.
    5. Any assembly loaded from shares by an application that was launched from the “real” MyComputer zone.

    Sounds like your case is number 5. Copying the .exe to the same network directory would be a workaround.

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

Sidebar

Related Questions

This question follows on from a question I asked yesterday about why using the
This question follows on from this vim search question I have a setting in
This question follows on from a previous question, that has raised a further issue.
This follows on from this question where I was getting a few answers assuming
This problem follows on from a previous question . When I run the following
this kind of follows on from another question of mine. Basically, once I have
OK, this kind of follows on from my previous question . What I would
As a follow on from this question I'm building a custom server control to
Question follows on from Fluent NHibernate + multiple databases (no need to follow this
This question follows on from a previous question which can be found here: Need

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.