2010-08-01 146 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

相关问题