login about faq

I've added your library to web service and when I try to load anything from the site with your .NET Assembly DLL installed I get the following error loading the page in the browser. If I simply remove your library from the application folder, I don't have an problems. It looks like some sort of permission thing. What permissions are required to run your library on IIS?

[PolicyException: Required permissions cannot be acquired.]

System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission) +7613091

System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission) +57

[FileLoadException: Could not load file or assembly 'ChilkatDotNet2, Version=9.5.0.56, Culture=neutral, PublicKeyToken=eb5fc1fc52ef09bd' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)]

asked May 26 at 11:03

chilkat's gravatar image

chilkat ♦♦
11.8k316358420


The Chilkat .NET Assembly is a mixed-mode assembly, meaning that the inner core is compiled to native code (because the Chilkat software is written in C++, and the same internal implementation is used across all programming languages and all operating systems).

Here is a link with information to help resolve the problem.

http://stackoverflow.com/questions/9269491/failed-to-grant-minimum-permission-requests-when-calling-c-sharp-library-from-c

Also see these two links for what was written about it in 2006/2007 (Wow, that was 10 years ago already..)

https://www.chilkatsoft.com/p/p_243.asp

and

https://www.chilkatsoft.com/p/p_116.asp

link

answered May 26 at 11:07

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×4
×4
×1
×1

Asked: May 26 at 11:03

Seen: 305 times

Last updated: May 26 at 11:07

powered by OSQA