Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Mattias Edman 2 posts 23 karma points
    Feb 14, 2012 @ 18:06
    Mattias Edman
    0

    I Can't send emails from Ucommerce...

    Ucommerce 2.1.0.0 and the demo shop.

    I have got i all working on my local laptop with windows 7 and umbraco 4.7.1.1 and Ucommerce 2.1.0.0 but when i try to move the applications to IIS (I have tried both IIS 6.0 on W2003 and IIS 7.5 on W2008 R2) and I got the following error on "submit order".

    Error parsing XSLT file: \xslt\SubmitBasket[XSLT].xslt

    In the database log table i got:

    id userId NodeId Datestamp logHeader logComment
    708 0 -1 2012-02-14 17:59:43.453 Error Exception occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details.

    709 0 -1 2012-02-14 17:59:43.453 Error The remote server returned an error: (500) Internal Server Error. Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadData(Uri address) at System.Net.WebClient.DownloadData(String address) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, String orderNumber) at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder) at UCommerce.Pipelines.Pipeline`1.Execute(T subject)

    710 0 -1 2012-02-14 17:59:43.453 Error Exception occoured while processing pipeline 'UCommerce.Pipelines.Checkout.CheckoutPipeline'. See inner exception for details. UCommerce.Pipelines.PipelineExecutionResult Execute(T) at UCommerce.Pipelines.Pipeline`1.Execute(T subject) at UCommerce.Transactions.CheckoutService.Checkout(Basket basket) at UCommerce.Xslt.TransactionLibrary.Checkout() at UCommerce.Xslt.Library.<Checkout>b__8b() at UCommerce.Xslt.Library.HandledCall[T](Func`1 method)

    711 0 -1 2012-02-14 17:59:43.470 Error The remote server returned an error: (500) Internal Server Error. Byte[] DownloadDataInternal(System.Uri, System.Net.WebRequest ByRef) at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadData(Uri address) at System.Net.WebClient.DownloadData(String address) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, IDictionary`2 templateParameters) at UCommerce.Transactions.EmailService.Send(EmailProfile profile, String emailTypeName, MailAddress to, String orderNumber) at UCommerce.Pipelines.Common.SendEmailTask.Execute(PurchaseOrder purchaseOrder) at UCommerce.Pipelines.Pipeline`1.Execute(T subject)

    I have tested to send mail with umbraco mail service and it works fine so the SMTP settings is working. but not from ucommerce!

    I have tried to install umbraco on the server with web platform installer and manually but i only get the same error on "submit order"

    I am going Crazy on this one :-)

    Please help...

  • Mattias Edman 2 posts 23 karma points
    Feb 15, 2012 @ 08:40
    Mattias Edman
    1

    I have found a solution to the problem at last...

    I had to change the hosts file on the server to have my webshops hostname to the internal ip of the server.

    Both my w2003 and w2008 r2 servers are behind a load-balancer server (haproxy).

    /Mattias

Please Sign in or register to post replies

Write your reply to:

Draft