forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

.NET trust levels

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
andrewb



Joined: 13 Dec 2006
Posts: 2
Location: Australia

PostPosted: Tue Jan 16, 2007 1:28 am    Post subject: .NET trust levels Reply with quote

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
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7927
Location: Salford, UK

PostPosted: Tue Jan 16, 2007 8:29 am    Post subject: Reply with quote

Have you used "signing" with your assembly?
Back to top
View user's profile Send private message AIM Address
andrewb



Joined: 13 Dec 2006
Posts: 2
Location: Australia

PostPosted: Wed Jan 17, 2007 11:55 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group