Silverfrost Forums

Welcome to our forums

.NET trust levels

16 Jan 2007 12:28 #1538

I am trying to deploy a web application that uses a Fortan module to do some calculations. I am trying to move hosting environments from my current host (http://www.emfcalculator.com) and the new host does not allow 'full trust' for .net assemblies. It appears the Fortan redistributable (ftn95lib.dll) requires full trust as I get this error :

FileLoadException: Could not load file or assembly 'ftn95lib, Version=1.1.0.0, Culture=neutral, PublicKeyToken=626494245e82c014' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)

Is there any way to get around this? My host will not allow increased trust levels.

16 Jan 2007 7:29 #1540

Have you used 'signing' with your assembly?

17 Jan 2007 10:55 #1545

Signing the assembly doesn't seem to have helped. The error I am seeing (as above) is calling out the ftn95lib module as having trust issues, and I assume this is already signed anyway (by you guys).

I did some reading and it seems the signing issue would not affect the outcome in this case as the host has a trust level that all dlls must adhere to. Signing only allows dlls to gain higher trust levels if there is a security policy for signed dlls that has more privileges than the policy for unsigned (not the case for me).

Please login to reply.