Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Checkout question

  1. #1
    metals1 is offline Junior Member
    Join Date
    Feb 2010
    Posts
    17

    Default Checkout question

    I am testing check out with Linkpoint and received the following error when the "place order" button is clicked . Could someone help.

    Server Error in '/remote' Application.
    --------------------------------------------------------------------------------

    Security Exception
    Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

    Exception Details: System.Security.SecurityException: System.Security.Permissions.SecurityPermission

    Source Error:


    Line 443: OrderNumber = AppLogic.GetNextOrderNumber();
    Line 444: }
    Line 445: String status = Gateway.MakeOrder(String.Empty, AppLogic.TransactionMode(), cart, OrderNumber, String.Empty, String.Empty, String.Empty, String.Empty);
    Line 446: if (status == AppLogic.ro_3DSecure)
    Line 447: { // If credit card is enrolled in a 3D Secure service (Verified by Visa, etc.)


    Source File: d:\hosting\3060907\html\remote\checkoutreview.aspx .cs Line: 445

    Stack Trace:


    [SecurityException: System.Security.Permissions.SecurityPermission]
    LinkPointTransaction.LinkPointTxn.send(String sXml) +0
    LinkPointTransaction.LinkPointTxn.send(String sClientCertPath, String sHost, Int32 iPort, String sXml) +38
    AspDotNetStorefrontGateways.Linkpoint.ProcessCard( 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) +1818
    AspDotNetStorefrontGateways.Gateway.mxq0YmDNX(Shop pingCart , String , String , Int32 , Int32 , Address , String , Address , Decimal , Boolean , String , String , String , String& , String& , String& , String& , String& , String& ) +1980
    AspDotNetStorefrontGateways.Gateway.MakeOrder(Stri ng PaymentGatewayToUse, String TransactionMode, ShoppingCart cart, Int32 OrderNumber, String CAVV, String ECI, String XID, String RecurringSubscriptionID) +3169
    AspDotNetStorefront.checkoutreview.ProcessCheckout () in d:\hosting\3060907\html\remote\checkoutreview.aspx .cs:445
    AspDotNetStorefront.checkoutreview.ContinueCheckou t() in d:\hosting\3060907\html\remote\checkoutreview.aspx .cs:157
    AspDotNetStorefront.checkoutreview.btnContinueChec kout2_Click(Object sender, EventArgs e) in d:\hosting\3060907\html\remote\checkoutreview.aspx .cs:150
    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) +6785
    System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
    System.Web.UI.Page.ProcessRequest() +80
    System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +21
    System.Web.UI.Page.ProcessRequest(HttpContext context) +49
    ASP.checkoutreview_aspx.ProcessRequest(HttpContext context) in App_Web_hhjq9stp.2.cs:0
    System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +181
    System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +75




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.4049

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    You'll need to contact your hosting provider/server administrator about your security permissions on the site (Microsoft has an article on this error here). The LinkPointTransaction assembly is unable to send the information about the order due to the current restrictions in your current environment.
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    matthewkimber is offline Junior Member
    Join Date
    Jul 2007
    Location
    Ogden, Utah
    Posts
    20

    Default

    I had a very similar error, however the kb article from MS didn't help at all. I'm running Windows 7 and ended up going into IIS and editing the .NET Trust Levels from there. Of course I'm on my development machine so this makes me a little nervous for deployment.