Looking for the v10 manual? Visit our new user's guide!
 
Search Descriptions Version
 
 
This article applies to: ML v7, ML8, MultiStore

Error viewing order receipts after upgrading to ML 7.1.1.0+


Symptoms 
When viewing the order receipt, the errors below are returned.

XmlPackage Exception: Exception=Last Trace Point=[].  Cannot find the script or external object that implements prefix 'urn:receipt'.

System.ArgumentException: Last Trace Point=[].  Cannot find the script or external object that implements prefix 'urn:receipt'.

at AspDotNetStorefrontCommon.XmlPackage2.TransformString() in D:\ML sites\ML 7.1.1.0\ASPDNSFCommon\XmlPackage2.cs:line 643 at AspDotNetStorefrontCommon.AppLogic.RunXmlPackage(XmlPackage2p, Parser UseParser, Customer ThisCustomer, Int32 SkinID, Boolean ReplaceTokens, Boolean WriteExceptionMessage) in D:\ML sites\ML 7.1.1.0\ASPDNSFCommon\AppLogic.cs:line 1279

Cause 
If you are still using your old web.config file from your previous store site, you will get this error, since there are a few lines added in the latest web.config file to make the new version of the receipt work.

Solution 
Ensure that you are using the web.config file that was included in the latest build or that the lines below are present.

<xsltobjects defaultExtension=""> 
<extensions>  
<clear/> 
<add name="receipt" namespace="urn:receipt" type="ReceiptXsltExtension, app_code"></add> 
</extensions> 
</xsltobjects>