Server Error in '/' Application.
--------------------------------------------------------------------------------
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at OPENSSL_add_all_algorithms_noconf()
at ButtonEncryption.SignAndEncrypt(String sCmdTxt, String certPath, String keyPath, String payPalCertPath, String& sResult)
at PaypalSvc.EWP.PayPalSignAndEncrypt(String sCmdTxt, String sCertFile, String sPrivKeyFile, String sPPCertFile) in d:\documents and settings\sonny\vswebcache\office.axshop.com_4433\paypalsvc\ewp.asmx.cs:line 53
--- End of inner exception stack trace ---
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at OPENSSL_add_all_algorithms_noconf()
at ButtonEncryption.SignAndEncrypt(String sCmdTxt, String certPath, String keyPath, String payPalCertPath, String& sResult)
at PaypalSvc.EWP.PayPalSignAndEncrypt(String sCmdTxt, String sCertFile, String sPrivKeyFile, String sPPCertFile) in d:\documents and settings\sonny\vswebcache\office.axshop.com_4433\paypalsvc\ewp.asmx.cs:line 53
--- End of inner exception stack trace ---
Source Error:
Line 44: [System.Web.Services.Protocols.SoapDocumentMethodAttribute("
http://tempuri.org/PayPalSignAndEncrypt", RequestNamespace="
http://tempuri.org/", ResponseNamespace="
http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
Line 45: public string PayPalSignAndEncrypt(string sCmdTxt, string sCertFile, string sPrivKeyFile, string sPPCertFile) {
Line 46: object[] results = this.Invoke("PayPalSignAndEncrypt", new object[] {
Line 47: sCmdTxt,
Line 48: sCertFile,
Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7d078791\a022eb3e\App_WebReferences.-xtznqqi.0.cs Line: 46
Stack Trace:
[SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at OPENSSL_add_all_algorithms_noconf()
at ButtonEncryption.SignAndEncrypt(String sCmdTxt, String certPath, String keyPath, String payPalCertPath, String& sResult)
at PaypalSvc.EWP.PayPalSignAndEncrypt(String sCmdTxt, String sCertFile, String sPrivKeyFile, String sPPCertFile) in d:\documents and settings\sonny\vswebcache\office.axshop.com_4433\paypalsvc\ewp.asmx.cs:line 53
--- End of inner exception stack trace ---]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMes
age message, WebResponse response, Stream responseStream, Boolean asyncCall) +533462
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
Services.EWP.PayPalSignAndEncrypt(String sCmdTxt, String sCertFile, String sPrivKeyFile, String sPPCertFile) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\7d078791\a022eb3e\App_WebReferences.-xtznqqi.0.cs:46
FifthUnit.classes.PayPal.GetEncryptedPayPalCmd(String cmd) in c:\Web\
www.fifthunit.com\App_Code\classes\PayPal.cs:53
FifthUnit.classes.ShoppingCart.GetPayPalCheckOutRedirectHTML(HttpContext httpContext) in c:\Web\
www.fifthunit.com\App_Code\classes\ShoppingCart.cs:538
FifthUnit.classes.ShoppingCart.TransferToPayPalCheckout(HttpResponse Response, HttpContext httpContext) in c:\Web\
www.fifthunit.com\App_Code\classes\ShoppingCart.cs:463
FifthUnit.shoppingcart.lnkPayPalCheckout_Click(Object sender, EventArgs e) in c:\Web\
www.fifthunit.com\shoppingcart.aspx.cs:370
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +105
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +107
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMes
ageSystem.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaiseP
stBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42