on this, it took me some time to figure it all out. Not sure why Microsoft don't have any info. Current = null ) // WinFormĮlse // WebForm - Uses Machine store for keysĭSA = new DSACryptoServiceProvider (CSPParam) UseMachineKeyStore ĬSPParam.Ke圜ontainerName = "Your Container Name"
#Boolean b. apple c. 7up d. grandtotal code#
Complete Code is:ĬspParameters CSPParam = new CspParameters (13, null, null ) ĬSPParam.Flags = CspProviderFlags. I got this exception:Įxception message: Bad Version of provider.Īs a test, I tried specifying the Ke圜ontainerName but another exception occurs:Įxception message: The specified cryptographic service provider (CSP) does not support this key algorithm.įinally I specified the provider type code and it all works. However when I followed her posted answer it was not working for me when using DSACryptoServiceProvider. Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061 Callback(Object sender, EventArgs e) +34 EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15 RSC_Home.Page_Load(Object sender, EventArgs e) in c:\RSC_RFID_GUI\RSC_:118 (String groupName, CommandEvent commandEvent) +40 (String target, CommandEvent commandEvent) +216 (ClientSession session, WebServicesClientProtocol service, String methodName, Object args) +15 (ClientSession session, WebServicesClientProtocol service, String methodName, Boolean attemptLoginIfNeeded, Object args) +90 ToXmlString(Boolean includePrivateParameters) +41 ExportParameters(Boolean includePrivateParameters) +38 GetKeyPairHelper(CspAlgorithmType keyType, CspParameters parameters, Boolean randomKe圜ontainer, Int32 dwKeySize, SafeProvHandle& safeProvHandle, SafeKeyHandle& safeKeyHandle) +55 CreateProvHandle(CspParameters parameters, Boolean randomKe圜ontainer) +1459868 [CryptographicException: The system cannot find the file specified. When i tried to use a third party web service using IIS, i am getting the following ErrorĮxception Details: : The system cannot find the file specified.