Ive had no problems with compiling the project until yesterday. I recently made some code modifications in the gateway.cs file and when i compiled the binaries, this error only comes up when someone clicks on "Place Order" during the final checkout process.
I tried removing and re-adding the cybersource.clients reference but that didnt do anything.
Here is the error. Any help would be appreciated!
Server Error in '/' Application.
Could not load file or assembly 'CyberSource.Clients, Version=5.0.2.0, Culture=neutral, PublicKeyToken=7091342136fdb0df' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
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.IO.FileLoadException: Could not load file or assembly 'CyberSource.Clients, Version=5.0.2.0, Culture=neutral, PublicKeyToken=7091342136fdb0df' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Assembly Load Trace: The following information can be helpful to determine why the assembly 'CyberSource.Clients, Version=5.0.2.0, Culture=neutral, PublicKeyToken=7091342136fdb0df' could not be loaded.
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Stack Trace:
[FileLoadException: Could not load file or assembly 'CyberSource.Clients, Version=5.0.2.0, Culture=neutral, PublicKeyToken=7091342136fdb0df' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
AspDotNetStorefrontGateways.Cybersource.ProcessCar d(Int32 OrderNumber, Int32 CustomerID, Decimal OrderTotal, Boolean useLiveTransactions, String TransactionMode, Address UseBillingAddress, String CardExtraCode, Address UseShippingAddress, String CAVV, String ECI, String XID, String& AVSResult, String& AuthorizationResult, String& AuthorizationCode, String& AuthorizationTransID, String& TransactionCommandOut, String& TransactionResponse) +0
AspDotNetStorefrontGateways.Gateway.ProcessCard(Sh oppingCart cart, String GateWay, String TransactionMode, Int32 CustomerID, Int32 OrderNumber, Address UseBillingAddress, String CardExtraCode, Address UseShippingAddress, Decimal OrderTotal, Boolean useLiveTransactions, String CAVV, String ECI, String XID, String& AVSResult, String& AuthorizationResult, String& AuthorizationCode, String& AuthorizationTransID, String& TransactionCommand, String& TransactionResponse) +1245
AspDotNetStorefrontGateways.Gateway.MakeOrder(Stri ng PaymentGatewayToUse, String TransactionMode, ShoppingCart cart, Int32 OrderNumber, String CAVV, String ECI, String XID, String RecurringSubscriptionID) +2928
AspDotNetStorefront.checkoutreview.ProcessCheckout () +2788
AspDotNetStorefront.checkoutreview.ContinueCheckou t() +69
AspDotNetStorefront.checkoutreview.btnContinueChec kout1_Click(Object sender, EventArgs e) +29
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3053