2
私は現在、部分的な信頼で実行する必要があるASP.NET MVCサイトで作業しています。 高信頼性でAppFabricに接続する際に問題が発生しました。完全に信頼できる状態で実行しても問題はありません。 web_hightrust.configファイルにはどのような権限が必要ですか。あなたは私が接続を行うために十分であるべきだと思う何でメソッドを注釈を付けているが、それが失敗した見ることができるようにWindowsサーバーAppFabricキャッシング
[SecuritySafeCritical]
[PermissionSet(SecurityAction.Assert, Unrestricted = true)]
private static DataCacheFactory InitializeFactory()
{
try
{
DataCacheFactoryConfiguration configuration = GetDataCacheFactoryConfiguration();
Logger.Debug("Initializing a DataCacheFactory");
DataCacheFactory factory = new DataCacheFactory(configuration);
return factory;
}
catch (Exception ex)
{
Logger.ErrorFormat("Construction of factory failed: {0}", ex.ToString());
throw;
}
}
:
方法の失敗は、次のようになります。
感謝しています。