I get "The connection was interrupted" when I test checkout my dashCommerce site.

Discussion in 'Third-party applications' started by cablecar, Jun 11, 2009.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi, I finished setting up dashCommerce on my domain. I tested this on my local machine and it works smoothly. But testing it online, I can't proceed with checkout. Clicking checkout gives me "The connection was interrupted" error. Why is this happening? The shipping and payment are configured correctly.

    Has anybody encountered the same error? Support told me this error usually means the application crashed but I don't know why.

    I hope someone can shed a light for me on this one. :confused:

    Thanks
     
  2. What the full error message. It will be helpful if you give us the complete and exact error message.
     
  3. Screen cap of the error

    [​IMG]
     
  4. When I set the application to medium trust <trust level="Medium" />, set custom errors off, and compilation debug to true; the website would no longer work. This is the error I received:

    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: Request failed.

    Source Error:

    [No relevant source lines]


    Source File: App_Web_ljgken5h.5.cs Line: 0

    Stack Trace:

    [SecurityException: Request failed.]
    MettleSystems.Licensing.Web.MasterPage.Render(HtmlTextWriter writer) +0
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
    System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
    System.Web.UI.Page.Render(HtmlTextWriter writer) +29
    System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
    System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
    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(HttpContext context) +21
    System.Web.UI.Page.ProcessRequest(HttpContext context) +49
    ASP.default_aspx.ProcessRequest(HttpContext context) in App_Web_ljgken5h.5.cs:0
    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

    [​IMG]
     
  5. Hi.
    From dashCommerce Installation document:
    Security Concerns
    When running dashCommerce, your installation, depending upon your configuration, may need to make web requests to other sites (such as PayPal, USPS, UPS, etc.). Doing this requires a modified medium trust. Some hosters may not allow for modified medium trust, so you should check with your hosting provider before deploying dashCommerce to your hosting environment. Provided a modified medium trust is allowed, you will have to add the following permission to your modified medium trust file at the
    MACHINE level:
    <IPermission class="WebPermission" version="1" Unrestricted="true"/>

    Does this mean dashCommerce will not work correctly on full trust? I contacted DiscountASP support and this is what they told me:
    Currently your account is under IIS6 which is full trust. I did some browsing through the forums and other clients seem to have this installation working without this issue. Unfortunately we do not know if this application was modified and we also have not tested this, but from the forums customers have had dashcommerce work on our servers. I suggest posting to those forums posts or maybe contacting the vendor on this issue.
    So this could be the reason why I get a Security Exception error when I set the application to medium trust. If I remove the trust element on the web.config, I still get the "connection was interrupted" issue. It's very confusing.
     
  6. I just figured out the "connection was interrupted" error occurs because i had the require SSL checked on dashCommerce site settings while SSL is not enabled on my hosting account. A very minute mistake but got me stuck for days.
     
  7. mjp

    mjp

    Thanks for posting the fix.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page