windows7下,调用支付接口,在验证证书的时候
byte[] OriginalByte = System.Text.Encoding.UTF8.GetBytes(OriginalString);
        X509Certificate2 x509_Cer1 = new X509Certificate2(prikey_path, CertificatePW);        RSACryptoServiceProvider rsapri = (RSACryptoServiceProvider)x509_Cer1.PrivateKey;
        RSAPKCS1SignatureFormatter f = new RSAPKCS1SignatureFormatter(rsapri);报错
错误信息:
System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) +33
   System.Security.Cryptography.X509Certificates.X509Utils._LoadCertFromFile(String fileName, IntPtr password, UInt32 dwFlags, Boolean persistKeySet, SafeCertContextHandle& pCertCtx) +0
   System.Security.Cryptography.X509Certificates.X509Certificate.LoadCertificateFromFile(String fileName, Object password, X509KeyStorageFlags keyStorageFlags) +237
   System.Security.Cryptography.X509Certificates.X509Certificate2..ctor(String fileName, String password) +131
   pay_PayInfo.CerRSASignature(String OriginalString, String prikey_path, String CertificatePW, Int32 SignType) in d:\project\CourseOnline\CourseOnline\CourseOnline.Web\pay\PayInfo.aspx.cs:27
   pay_PayInfo.Page_Load(Object sender, EventArgs e) in d:\project\CourseOnline\CourseOnline\CourseOnline.Web\pay\PayInfo.aspx.cs:326
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
请各位高手解决一下