This is the code. I have all dlls in same folder as exeTrustPolicyFactory tpf = new TrustPolicyFactory();TrustPolicy _trustPolicy = null;_trustPolicy = tpf.Load(@"\\TK3ADFSTDC01\ADFS\TrustPolicy.xml", false);
This is the exceptionSystem.DllNotFoundException: Unable to load DLL 'ifsutils.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F) at System.Web.Security.SingleSignOn.NativeMethods.WsDeserializeTrustPolicyStore(Boolean UpdateMachineStore, Byte[] pSerializedStore, Int32 cbSerializedStore,SafeCertStoreHandle& phCertStore) at System.Web.Security.SingleSignOn.NativeMethods.DeserializeCertificateStore
(Byte[] serializedStore, Boolean updateMachineStore, SafeCertStoreHandle& certStore) at System.Web.Security.SingleSignOn.TrustPolicy.Initialize() at System.Web.Security.SingleSignOn.TrustPolicy.Load(String filename, BooleaninitCerts) at TestAccessTrustPolicy.Program.Main(String[] args) in D:\Source\Version5.4Sustain\Source\Private\Code\DotNet2.0\WCFSolution\TestAccessTrustPolicy\Program. cs:line 18
Bookmarks