Home     Products      Support      Corporate     Sign In 
Support Knowledge Base, Article 1013
Product
FileUp
Version
versions 4 and higher
Title
Unverifiable assembly 'FileUpModule'/'SAPrgres'/ 'SAFileUp' failed policy check.
Problem

You may receive the following .NET run-time error:

Unverifiable assembly 
['FileUpModule']['SAPrgres']['SAFileUp'] 
failed policy check.  
This error will occur after changing your web.config or machine.config file so that the value specified in the level attribute of the <trust> element is any other value than "full".

<location allowOverride="false">
  <system.web>
    <securityPolicy>
        <trustLevel name="Full" policyFile="internal"/>
        <trustLevel name="High" policyFile="web_hightrust.config"/>
        <trustLevel name="Medium" policyFile="web_mediumtrust.config"/>
        <trustLevel name="Low" policyFile="web_lowtrust.config"/>
        <trustLevel name="Minimal" policyFile="web_minimaltrust.config"/>
      </securityPolicy>

    <!-- trust level="[Full|High|Medium|Low|Minimal]" -->
    <trust level = "Full" originUrl="" />

  </system.web>
</location>
Solution

The trust level of your FileUp application must be set to "full" in order to run FileUp. This is because FileUp contains both managed and unmanaged code. The only trust level that allows calls to unmanaged code is "full".


Related Links:
Created : 1/28/2005 11:45:25 AM (last modified : 4/24/2012 4:27:53 PM)
Rate this article!
Comments