2010-08-01 145 views
1

我的PayPal Direct腳本在我的機器上工作得很完美。 nUnit都通過本地主機上的網站進行測試。但是,第一行代碼在我的服務器和另一臺服務器上失敗。 (均完全信任)PayPal的呼叫服務適用於本地主機,但不適用於服務器

CallerServices caller = new CallerServices(); 

消息:關於 'com.paypal.sdk.core.soap.SOAPAPICaller' 的類型初始引發了異常。 :paypal_base

堆棧跟蹤:

在com.paypal.sdk.core.soap.SOAPAPICaller..ctor() 在com.paypal.sdk.services.CallerServices..ctor() 在TS.Common.BusinessLogic.PaymentGateways.PayPalProController.CChargeCard(字符串paymentAmount,令CurrentOrder,字符串CREDITCARDTYPE,字符串creditCardNumber,CVV2字符串,字符串expMonth,字符串expYear,PaymentActionCodeType paymentAction,交易&交易) 在TS.Common.BusinessLogic。 PaymentGateways.PayPalProController.ChargeCard(OrderOrderOrder,Decimal Amount,String CreditCardN嗯,字符串ExpMonth,字符串ExpYear,字符串保險號,交易&交易) 在OrderController.SubmitCreditCardPayment(訂貨訂單,小數ChargeAmount,字符串CreditCardNum,字符串ExpMonth,字符串ExpYear,瓦爾字符串,字符串CardType,交易&交易) 在OrderController。 SubmitOrder(Order order,Transaction & transaction,Nullable`1 GiftCertId,String CreditCardNum,String ExpMonth,String ExpYear,String Var,String CardType,String Culture) 位於d:\ Inetpub \中的Checkout.btnOrder_Click(Object sender,EventArgs e) tickets \ Checkout.aspx.cs:line 488

回答

4

添加log4net.dll,如果沒有放入bin文件夾並添加引用。它適用於我...

+0

權利,工作! – aron 2010-12-29 20:29:02

1

添加對具有特定版本的log4net.dll的引用。它將工作

+0

對,它必須是特定的版本。謝謝! – aron 2011-05-19 15:05:26

相關問題