View previous topic :: View next topic |
Author |
Message |
andrewb
Joined: 13 Dec 2006 Posts: 2 Location: Australia
|
Posted: Tue Jan 16, 2007 1:28 am Post subject: .NET trust levels |
|
|
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 :
Code: | 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. |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7938 Location: Salford, UK
|
Posted: Tue Jan 16, 2007 8:29 am Post subject: |
|
|
Have you used "signing" with your assembly? |
|
Back to top |
|
|
andrewb
Joined: 13 Dec 2006 Posts: 2 Location: Australia
|
Posted: Wed Jan 17, 2007 11:55 am Post subject: |
|
|
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). |
|
Back to top |
|
|
|