Commerce Server 2007 ForumQuestions and discussions about installing, deploying and developing for CS2007.© 2009 Microsoft Corporation. All rights reserved.Wed, 25 Nov 2009 20:48:00 Za1b69ffc-95f0-443e-a6cf-6df6c2578460http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/6ec2cd97-17b7-4280-8004-5b3aa85d0704http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/6ec2cd97-17b7-4280-8004-5b3aa85d0704qingzhuhttp://social.msdn.microsoft.com/Profile/en-US/?user=qingzhuComponent Execution failed for component[0x2] hr: 0x80004005 ProgID: Commerce.CheckInventory 对 COM 组件的调用返回了错误 HRESULT E_FAIL<strong>hi,</strong> <div><strong>  this problem is Random, I donot know why. i'm introble.</strong></div> <div><strong>this is my code : add products to basket</strong></div> <div>            LineItem li = new LineItem();</div> <div>        li.ProductId = pid;</div> <div>        if (!String.IsNullOrEmpty(varid))</div> <div>        {</div> <div>            li.ProductVariantId = varid;</div> <div>        }</div> <div>        li.ProductCatalog = &quot;viyas products&quot;;</div> <div>        li.Quantity = 1;</div> <div>        CurrentBasket.OrderForms[&quot;cart&quot;].LineItems.Add(li, true);</div> <div><br/></div> <div>        PipelineInfo pipeline = new PipelineInfo(&quot;basket&quot;, OrderPipelineType.Basket);</div> <div><strong>        CurrentBasket.RunPipeline(pipeline); // this line got wrong</strong></div> <div><strong><br/></strong></div> <div><strong>  thanks everyone </strong></div>Wed, 25 Nov 2009 09:38:30 Z2009-11-25T20:47:59Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/a0a3f127-5d3e-43bd-8e23-7a2fb4cb4948http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/a0a3f127-5d3e-43bd-8e23-7a2fb4cb4948Tony Datahttp://social.msdn.microsoft.com/Profile/en-US/?user=Tony%20Data3 for 2 offer in marketing manager, commerce server 2007Hi, hopefully someone can help!?<br/><br/>I'd like to apply a 3 for 2 offer across a select range of products where the cheapest value item is always the one you get free...<br/><br/>So, for example, within the offer there are four different products:<br/><br/>W = £6.99<br/>X = £7.99<br/>Y = £12.99<br/>Z = £13.99<br/><br/>I want to be able to offer the customer these options (as examples of what customers might buy):<br/><br/>Buy 3 x &quot;W&quot; get one of the &quot;W's&quot; free<br/>Buy 2 x &quot;X&quot; and 1 x &quot;W&quot; and get &quot;W&quot; free<br/>Buy 2 x &quot;W&quot; and 1 x &quot;Z&quot; and get one of the &quot;W's&quot; free<br/>Buy 2 x &quot;Z&quot; and 1 x&quot;Y&quot; and get &quot;Y&quot; free...<br/><br/>Plus other options within the same rules.<br/><br/>Am I able to set this up in Marketing Manager as it stands?<br/><br/>Any help on this would be great.<br/><br/>Thanks in advance<br/>TD<br/>Tue, 24 Nov 2009 12:01:41 Z2009-11-25T09:34:46Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/11cc4b89-7b2f-4142-8a37-3f03cceaf959http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/11cc4b89-7b2f-4142-8a37-3f03cceaf959Muhammad Altafhttp://social.msdn.microsoft.com/Profile/en-US/?user=Muhammad%20AltafCommerce server 2007<p>How to add new table to commerce server database to implement/extend rma etc</p>Mon, 02 Nov 2009 12:41:09 Z2009-11-25T01:42:05Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/c7405e39-bc50-42c1-9804-4d7f0ea86257http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/c7405e39-bc50-42c1-9804-4d7f0ea86257habeebahttp://social.msdn.microsoft.com/Profile/en-US/?user=habeebaExtending OrderForm Issue<p>Hi,<br/>I have extende my OrderForm by update a new Parameters which will be returned by verisign after Creditcard Transaction<br/>I have following the steps mentioned as in<br/><a href="http://blogs.msdn.com/sathishcg/archive/2006/11/08/extending-commerce-server-order-system.aspx">http://blogs.msdn.com/sathishcg/archive/2006/11/08/extending-commerce-server-order-system.aspx</a><br/>after <br/>this i  also have updated new column in the  en_OrdersPresentationInfo.xml for the change in orderform<br/>as below<br/>&lt;Class Name=&quot;OrderForm&quot; DisplayName=&quot;Order form&quot;&gt;<br/>&lt;Property Name=&quot;cc_auth_number&quot; DisplayName=&quot;cc_auth_number&quot; /&gt;/*my new field*/</p> <p>now i am added my products in one page...<br/>as below</p> <p> </p> <p>Microsoft.CommerceServer.Runtime.Orders.</p> <p>Basket bas = CommerceContext.Current.OrderSystem.GetBasket(UserID, &quot;default&quot;);</p> <p> SiteOrderForm frm = new SiteOrderForm ();</p> <p> frm.cc_auth_number= &quot;65&quot;;/*my new field just for verification i am updating here*/</p> <p> LineItem item = new LineItem(CatalogName, ProductID, &quot;&quot;, Quantity);</p> <p> frm.LineItems.Add(item); bas.OrderForms.Add(frm);</p> <p>bas.Save();</p> <p>PipelineInfo pipeline = new PipelineInfo(&quot;basket&quot;, OrderPipelineType.Basket);</p> <p> Profile profile = CommerceContext.Current.ProfileSystem.GetProfile(Session[&quot;AuthUserId&quot;].ToString(), &quot;UserObject&quot;);  if (profile != null)</p> <p>if(profile != null)</p> <p>{</p> <p>pipeline.Profiles.Add(&quot;UserObject&quot;, profile);</p> <p>bas.RunPipeline(pipeline);</p> <p>}</p> <p> </p> <p> </p> <p>  <br/>In my checkout page<br/>after verisignApproval<br/> </p> <p>Basket bas = CommerceContext.Current.OrderSystem.GetBasket(UserID, &quot;default&quot;);</p> <p>SiteOrderForm orderform = GetSiteOrderForm();</p> <p>orderform.cc_auth_number = &quot;232&quot;;</p> <p> bas.OrderForms.Add(orderform);/*throws error over here*/<br/>//*Error  thrown is &quot;An order form by the same name or ID already exists in the order forms collection.&quot;*/<br/>//If i comment the  section bas.OrderForms.Add(orderform); no error is thrown but i am not getting the updated value in the cc_auth_number.Please let mw know where i am wrong<br/>bas.Save();</p> <p>bas.SaveAsOrder();</p> <p><br/>        public SiteOrderForm GetSiteOrderForm(string orderFormName)<br/>        {<br/>            if (String.IsNullOrEmpty(orderFormName))<br/>            {<br/>                orderFormName = SiteOrderForm.DefaultOrderFormName;<br/>            }</p> <p>            Guid registeredUserID = new Guid(Session[&quot;AuthUserId&quot;].ToString());<br/>            Basket registeredBasket = OrderContext.Current.GetBasket(registeredUserID, &quot;default&quot;);<br/>            SiteOrderForm orderForm = registeredBasket.OrderForms[orderFormName] as SiteOrderForm;</p> <p>            if (orderForm == null)<br/>            {<br/>                orderForm = new SiteOrderForm(orderFormName);<br/>                registeredBasket.OrderForms.Add(orderForm);<br/>            }</p> <p>            return orderForm;<br/>        }</p> <p><br/>        public SiteOrderForm GetSiteOrderForm()<br/>        {<br/>            return this.GetSiteOrderForm(null);<br/>        }</p> <p> </p> <p> </p>Tue, 24 Nov 2009 12:21:52 Z2009-11-24T12:21:52Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/bb5791f6-87c9-4a45-9d3c-23c8b547c925http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/bb5791f6-87c9-4a45-9d3c-23c8b547c925arikvehttp://social.msdn.microsoft.com/Profile/en-US/?user=arikveExport discounts from one server to another<p align=left><font face=Arial size=2></font> </p> <p>Hello</p> <p align=left> </p> <p align=left>Is there a way to export discounts from on server to another.</p> <p align=left>I want to export the discount i've created in my development enviorment to the production server.</p> <p align=left> </p> <p align=left> </p> <p align=left> </p> <p align=left>Thanks</p> <p align=left>Arik</p>Tue, 01 Apr 2008 07:43:58 Z2009-11-23T21:12:15Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/4b319294-e74e-467f-a85e-a2f969d5c9f1http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/4b319294-e74e-467f-a85e-a2f969d5c9f1Chris_Pearcehttp://social.msdn.microsoft.com/Profile/en-US/?user=Chris_PearceDoes a tool exist to export Commerce Server 2007 marketing data (e.g. campaigns, ads, discounts, etc)?<p align=left>Hi,</p> <p align=left> </p> <p align=left>Can anyone confirm whether there exists any tools for Commerce Server 2007 which allow users to import/export marketing data (e.g. campaigns, ads, discounts, etc) as xml?</p> <p align=left> </p> <p align=left>Currently we are writing directly to the database using sql scripts to populate our test data.</p> <p align=left> </p> <p align=left>We find the catalog import/export command line tool really useful, and we're hoping that there is a similar tool available somewhere that handles marketing data.</p> <p align=left> </p> <p align=left>Thanks in advance</p> <p align=left> </p> <p align=left> </p> <p align=left> </p> <p align=left>Chris</p>Wed, 17 Oct 2007 14:54:34 Z2009-11-23T21:07:08Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/e5cf72ac-84a0-471f-96c6-6f98ff588584http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/e5cf72ac-84a0-471f-96c6-6f98ff588584stefan_brhttp://social.msdn.microsoft.com/Profile/en-US/?user=stefan_brNavigation doesn't work anymoreHello,<br/><br/>Our navigation for the webshop doens't work anymore<br/>When we want to go to the site, I get the following error;<br/><br/> <h2><em>The DataSourceID of 'CurrentNav' must be the ID of a control of type IHierarchicalDataSource.  A control with ID 'SiteMapDS' could not be found.</em></h2> <span style="font-family:Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"><strong><span style="font-family:Verdana">Description: </span></strong>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. <br/><br/><strong><span style="font-family:Verdana">Exception Details: </span></strong>System.Web.HttpException: The DataSourceID of 'CurrentNav' must be the ID of a control of type IHierarchicalDataSource.  A control with ID 'SiteMapDS' could not be found.<br/><br/><strong><span style="font-family:Verdana">Source Error:</span></strong> <br/><br/> <table border=0 width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code>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.</code></td> </tr> </tbody> </table> <br/><strong><span style="font-family:Verdana">Stack Trace:</span></strong> <br/><br/> <table border=0 width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><code> <pre>[HttpException (0x80004005): The DataSourceID of 'CurrentNav' must be the ID of a control of type IHierarchicalDataSource. A control with ID 'SiteMapDS' could not be found.] System.Web.UI.WebControls.HierarchicalDataBoundControl.GetDataSource() +2332337 System.Web.UI.WebControls.HierarchicalDataBoundControl.ConnectToHierarchicalDataSource() +212 System.Web.UI.WebControls.HierarchicalDataBoundControl.OnLoad(EventArgs e) +28 System.Web.UI.Control.LoadRecursive() +66 System.Web.UI.Control.LoadRecursive() +191 System.Web.UI.Control.LoadRecursive() +191 System.Web.UI.Control.LoadRecursive() +191 System.Web.UI.Control.LoadRecursive() +191 System.Web.UI.Control.LoadRecursive() +191 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428 </pre> </code></td> </tr> </tbody> </table> <br/><br/>And I use the following code in the masterpage;<br/><br/>      &lt;!-- Current Navigation --&gt;<br/>      &lt;SharePoint:AspMenu ID=&quot;CurrentNav&quot; runat=&quot;server&quot; datasourceID=&quot;SiteMapDS&quot; orientation=&quot;Vertical&quot;<br/>                      StaticDisplayLevels=&quot;3&quot; <br/>                      MaximumDynamicDisplayLevels=&quot;1&quot; <br/>                      ItemWrap=&quot;true&quot; AccessKey=&quot;3&quot; <br/>                      CssClass=&quot;Skin_Menu&quot;                                                 <br/>                      StaticMenuItemStyle-VerticalPadding=&quot;3px&quot;<br/>                      SkipLinkText=&quot;&lt;%$Resources:defaultSite,masterpages_skiplinktext%&gt;&quot;<br/>          StaticHoverStyle-CssClass=&quot;Skin_MenuItemHover&quot;&gt;           <br/> <br/>                &lt;LevelMenuItemStyles&gt;<br/>                    &lt;asp:MenuItemStyle CssClass=&quot;Skin_MenuHeader&quot; /&gt;<br/>                    &lt;asp:MenuItemStyle CssClass=&quot;Skin_MenuItem&quot; /&gt;<br/>                &lt;/LevelMenuItemStyles&gt;                        <br/> <br/>      &lt;/SharePoint:AspMenu&gt;<br/><br/><br/>I hope somebody know what is wrong or what is missing.<br/><br/>Thanks!<br/>Stefan</span>Mon, 23 Nov 2009 09:11:32 Z2009-11-23T09:11:33Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/7deb85e1-b939-4d7c-8ea6-135a442a3103http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/7deb85e1-b939-4d7c-8ea6-135a442a3103Arunachalam khttp://social.msdn.microsoft.com/Profile/en-US/?user=Arunachalam%20kVAT Calculation in Custom Pipeline<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left><strong>My Requirement is</strong></p> <p align=left>I want calculate the VAT tax based on the delivery address(with in country) and Line item.The line item unit price is above $100, i need calculate VAT tax.</p> <p align=left> </p> <p align=left>I have created a custom pipeline and inserted new component in after &quot;Commerce DefaultTaxCy&quot; in &quot;total.pcf&quot;.</p> <p align=left>After that i have run my custom pipeline, it thrown exception is<font color="#ff0000"> &quot;Unable to cast object of type 'System.Int32' to type 'Microsoft.CommerceServer.Runtime.ISimpleList'.&quot; </font></p> <p align=left><font color="#ff0000"></font> </p> <p align=left><font color="#000000">My codes are below</font></p> <p align=left> </p> <p align=left><strong>Execute Method</strong></p> <p align=left><strong></strong> </p><font size=2> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> AddressesKey = </font><font color="#800000" size=2>&quot;Addresses&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> AdjustedPriceKey = </font><font color="#800000" size=2>&quot;_cy_oadjust_adjustedprice&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> BasketErrorsKey = </font><font color="#800000" size=2>&quot;_Baseket_Errors&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> CountryCodeKey = </font><font color="#800000" size=2>&quot;country_code&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> DecimalPlacesKey = </font><font color="#800000" size=2>&quot;_currency_decimal_places&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> ItemIndexesKey = </font><font color="#800000" size=2>&quot;ItemIndexes&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> ItemsKey = </font><font color="#800000" size=2>&quot;Items&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> MessageManagerKey = </font><font color="#800000" size=2>&quot;MessageManager&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> ShipmentsToProcessKey = </font><font color="#800000" size=2>&quot;shipments_to_process&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> ShippingAddressIdKey = </font><font color="#800000" size=2>&quot;shipping_address_id&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>private</font><font size=2> </font><font color="#0000ff" size=2>const</font><font size=2> </font><font color="#008080" size=2>String</font><font size=2> VATTotalKey = </font><font color="#800000" size=2>&quot;_cy_tax_total&quot;</font><font size=2>;</p></font><font size=2> <p></font><font color="#0000ff" size=2></font> </p> <p align=left><font color="#0000ff" size=2>public</font><font size=2> </font><font color="#0000ff" size=2>int</font><font size=2> Execute(</font><font color="#0000ff" size=2>object</font><font size=2> pdispOrder, </font><font color="#0000ff" size=2>object</font><font size=2> pdispContext, </font><font color="#0000ff" size=2>int</font><font size=2> lFlags)</p> <p>{</p> <p></font><font color="#008080" size=2>IDictionary</font><font size=2> Order = </font><font color="#0000ff" size=2>null</font><font size=2>; </font><font color="#008000" size=2>// OrderForm dictionary representing the basket</p></font><font size=2> <p></font><font color="#008080" size=2>IDictionary</font><font size=2> Context = </font><font color="#0000ff" size=2>null</font><font size=2>; </font><font color="#008000" size=2>// Context dictionary</p></font><font size=2> <p></font><font color="#008080" size=2>ISimpleList</font><font size=2> ShipmentsToProcess = </font><font color="#0000ff" size=2>null</font><font size=2>; </font><font color="#008000" size=2>// Simplelist of shipments in this order</p></font><font size=2> <p></font><font color="#008080" size=2>ISimpleList</font><font size=2> Items = </font><font color="#0000ff" size=2>null</font><font size=2>; </font><font color="#008000" size=2>// Simplelist of items to process for each shipment</p></font><font size=2> <p></font><font color="#008080" size=2>IDictionary</font><font size=2> Addresses = </font><font color="#0000ff" size=2>null</font><font size=2>; </font><font color="#008000" size=2>// Dictionary object representing a shipping address</p></font><font size=2> <p></font><font color="#008080" size=2>IMessageManager</font><font size=2> MessageManager = </font><font color="#0000ff" size=2>null</font><font size=2>; </font><font color="#008000" size=2>// MessageManager used to return pipeline errors</p></font><font size=2> <p></font><font color="#008080" size=2>Object</font><font size=2> ErrorMessage = </font><font color="#0000ff" size=2>null</font><font size=2>; </font><font color="#008000" size=2>// Error message returned from pipeline component</p></font><font size=2> <p></font><font color="#008080" size=2>Int32</font><font size=2> ReturnValue = StatusSuccess; </font><font color="#008000" size=2>// Status level for component execution</p></font><font size=2> <p></font><font color="#0000ff" size=2>try</p></font><font size=2> <p>{</p> <p>Order = (</font><font color="#008080" size=2>IDictionary</font><font size=2>)pdispOrder;</p> <p>Context = (</font><font color="#008080" size=2>IDictionary</font><font size=2>)pdispContext;</p> <p>Addresses = (</font><font color="#008080" size=2>IDictionary</font><font size=2>)Order[AddressesKey];</p> <p>Items = (</font><font color="#008080" size=2>ISimpleList</font><font size=2>)Order[ItemsKey];</p> <p>MessageManager = (</font><font color="#008080" size=2>IMessageManager</font><font size=2>)Context[MessageManagerKey];</p> <p></font><font color="#008000" size=2>// retrive the shipments that must be processed</p></font><font size=2> <p>ShipmentsToProcess = (</font><font color="#008080" size=2>ISimpleList</font><font size=2>)Context[ShipmentsToProcessKey]; <font color="#ff0000" size=3><strong>// Exception thorwn here</strong></font></p> <p></font><font color="#0000ff" size=2>foreach</font><font size=2> (</font><font color="#008080" size=2>IDictionary</font><font size=2> Shipment </font><font color="#0000ff" size=2>in</font><font size=2> ShipmentsToProcess)</p> <p>{</p> <p></font><font color="#0000ff" size=2>decimal</font><font size=2> VATItemTotal = 0;</p> <p></font><font color="#008080" size=2>IDictionary</font><font size=2> Item;</p> <p></p> <p></font><font color="#0000ff" size=2>foreach</font><font size=2> (</font><font color="#008080" size=2>Int32</font><font size=2> ItemIndex </font><font color="#0000ff" size=2>in</font><font size=2> (</font><font color="#008080" size=2>ISimpleList</font><font size=2>)Shipment[ItemIndexesKey])</p> <p>{</p> <p>Item = (</font><font color="#008080" size=2>IDictionary</font><font size=2>)Items[ItemIndex];</p> <p>VATItemTotal += </font><font color="#008080" size=2>Convert</font><font size=2>.ToDecimal(Item[VATTotalKey]);</p> <p>}</p> <p></font><font color="#008080" size=2>String</font><font size=2> ShippingAddressId; </font><font color="#008000" size=2>// shipping address Id</p></font><font size=2> <p></font><font color="#008080" size=2>String</font><font size=2> Country; </font><font color="#008000" size=2>// destination country for shipment</p></font><font size=2> <p></font><font color="#008080" size=2>IDictionary</font><font size=2> Address; </font><font color="#008000" size=2>// Address dictionary</p></font><font size=2> <p></font><font color="#008000" size=2>// examine address information</p></font><font size=2> <p>ShippingAddressId = Shipment[ShippingAddressIdKey].ToString();</p> <p>Address = (</font><font color="#008080" size=2>IDictionary</font><font size=2>)Addresses[ShippingAddressId];</p> <p></font><font color="#008000" size=2>// retrieve the destination country of the shipment</p></font><font size=2> <p>Country = Address[CountryCodeKey].ToString();</p> <p></font><font color="#008000" size=2>// determine what the shipping cost is as a percentage of the item totals</p></font><font size=2> <p></font><font color="#0000ff" size=2>decimal</font><font size=2> VATPrice = VATItemTotal * 25 / 100M;</p> <p>}</p></font><font size=2> <p>}</p> <p></font><font color="#0000ff" size=2>catch</font><font size=2> (</font><font color="#008080" size=2>Exception</font><font size=2> ex)</p> <p>{</p> <p>ErrorMessage = ex.Message;</p> <p>((</font><font color="#008080" size=2>ISimpleList</font><font size=2>)Order[BasketErrorsKey]).Add(</font><font color="#0000ff" size=2>ref</font><font size=2> ErrorMessage);</p> <p></font><font color="#0000ff" size=2>return</font><font size=2> StatusError;</p> <p>}</p> <p></font><font color="#0000ff" size=2>return</font><font size=2> ReturnValue;</p> <p>}</p></font><font color="#0000ff" size=2> <p>#endregion</p></font><font size=2> <p></font><font color="#0000ff" size=2>public</font><font size=2> </font><font color="#0000ff" size=2>object</font><font size=2> ContextValuesRead()</p> <p>{</p> <p></font><font color="#0000ff" size=2>object</font><font size=2>[] contextValuesRead = </font><font color="#0000ff" size=2>new</font><font size=2> </font><font color="#0000ff" size=2>object</font><font size=2>[0];</p> <p></font><font color="#0000ff" size=2>return</font><font size=2> contextValuesRead;</p></font><font size=2> <p>}</p> <p></font><font color="#0000ff" size=2>public</font><font size=2> </font><font color="#0000ff" size=2>object</font><font size=2> ValuesRead()</p> <p>{</p> <p></font><font color="#0000ff" size=2>object</font><font size=2>[] valuesRead = </font><font color="#0000ff" size=2>new</font><font size=2> </font><font color="#0000ff" size=2>object</font><font size=2>[1];</p></font><font size=2> <p>valuesRead[2] = </font><font color="#800000" size=2>&quot;_cy_tax_total&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>return</font><font size=2> valuesRead;</p></font><font size=2> <p>}</p> <p></font><font color="#0000ff" size=2>public</font><font size=2> System.</font><font color="#008080" size=2>Object</font><font size=2> ValuesWritten()</p> <p>{</p> <p></font><font color="#0000ff" size=2>object</font><font size=2>[] valuesWritten = </font><font color="#0000ff" size=2>new</font><font size=2> </font><font color="#0000ff" size=2>object</font><font size=2>[1];</p> <p>valuesWritten[0] = </font><font color="#800000" size=2>&quot;_cy_tax_total&quot;</font><font size=2>;</p> <p></font><font color="#0000ff" size=2>return</font><font size=2> valuesWritten;</p></font><font size=2> <p>}</p> <p align=left> </p> <p align=left>Thanks for your compliment,</p> <p align=left>Arun.</p></font>Mon, 05 May 2008 06:13:56 Z2009-11-21T06:14:42Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/0b14137f-9f65-4a64-a1bc-1d63e9778258http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/0b14137f-9f65-4a64-a1bc-1d63e9778258Mike Teatherhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20TeatherUnable to cast object of type 'System.DBNull' to type 'Microsoft.CommerceServer.Runtime.IDictionary<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left>We've deployed our CS2007 site into production and have an interesting intermittent error.  </p> <p align=left> </p> <p align=left>The commerce website runs correctly for 3 to 5 days.  During this period all users are able to successfully place orders and their credit cards are successfully processed through our custom payment method component which calls our third party payment processing gateway for authorization.  <br> <br>At a certain point, usually after 3-5 days of server uptime, a user attempts to submit an order and they receive the following error &quot;Unable to cast object of type 'System.DBNull' to type 'Microsoft.CommerceServer.Runtime.IDictionary'&quot;.  Once this error has occurred the site will not process any orders for any users.<br> <br>We shut down and restart the server.  At that point the website runs correctly again and processes orders for all users.  This lasts again for approximately 3 to 5 days when we experience the error again.</p> <p align=left> </p> <p align=left>Our troubleshooting to this point has shown that the &quot;payment_to_process&quot; dictionary is coming through as null, .... but only after several days of working correctly!  Here is a snippet from our custom payment method code:</p> <p align=left> </p> <p><font color="#2b91af">PipelineUtility</font>.Log(<font color="#a31515">&quot;Entering Credit Payment Pipeline Component&quot;</font>);</p> <p><font color="#008000">// initialize the Order and Context dictionaries</p></font> <p>Order = (<font color="#2b91af">IDictionary</font>)pdispOrder;</p> <p>Context = (<font color="#2b91af">IDictionary</font>)pdispContext;</p> <p align=left> </p> <p><font color="#008000">// retrieve details required for processing payment</p></font> <p><font color="#2b91af">IDictionary</font> payment = (<font color="#2b91af">IDictionary</font>)Context[<font color="#a31515">&quot;payment_to_process&quot;</font>];</p> <p><font color="#0000ff">if</font> (payment != <font color="#0000ff">null</font>)</p> <p>{</p> <blockquote dir=ltr style="margin-right:0px"> <p align=left><font color="#008000">// ... web service call to 3rd party payment gateway to process the payment</font></p></blockquote> <p align=left>}</p> <p align=left> </p> <p align=left>The error appears to be occurring on this line:</p> <p align=left><font color="#2b91af">IDictionary</font> payment = (<font color="#2b91af">IDictionary</font>)Context[<font color="#a31515">&quot;payment_to_process&quot;</font>];</p> <p align=left> </p> <p align=left>We believe the code is correct, but have not been able to identify any reason for the payment_to_process dictionary to be null (after running properly for several days).  Perhaps there is some issue with the PaymentMethodRouter component or with the underlying com+ components?  </p> <p align=left> </p> <p align=left>Any help is greatly appreciated!</p> <p align=left> </p> <p align=left>Thanks!</p> <p align=left>Mike</p>Thu, 17 Apr 2008 18:52:40 Z2009-11-20T17:55:37Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/97dcc7a9-b70a-42b0-8cfa-93d5d71343dehttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/97dcc7a9-b70a-42b0-8cfa-93d5d71343deTaiChiMasterhttp://social.msdn.microsoft.com/Profile/en-US/?user=TaiChiMasterError in Refresh Site CacheHi,<br> <br> I have a problem whem I want to refresh a Site Cache from one of the business applications. The error I get is: <br> <br> <span style="font-weight:bold">System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---&gt; System.InvalidOperationException: There was an error generating the XML document. ---&gt; System.InvalidOperationException: Instance validation error: '0' is not a valid value for System.Net.HttpStatusCode.<br> <br> <span style="font-weight:bold"></span></span>Whats there the problem? I've read that tehere was a Hotfix (http://support.microsoft.com/default.aspx/kb/922068) but i cantot download this Hotfix.<br> When I open this link: SiteCacheRefresh.axd?CacheToRefresh=CatalogCache for example, I get the problem that It dosen't  find  the  file  SiteCacheRefresh.axd. In additon tho that I've enshured that in the config file the correct Authorisation rights are set.<br> <br> Even with all of those, I still get this Error. What does it really mean and how can I solve this?<br> <br> Thanks<span style="font-weight:bold"><span style="font-weight:bold"></span><br> </span>. <br> <br>Wed, 03 Jan 2007 11:07:53 Z2009-11-20T16:57:12Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/fae583d5-94f2-4b2b-b719-b6dfc61d6a26http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/fae583d5-94f2-4b2b-b719-b6dfc61d6a26Enjoyinghttp://social.msdn.microsoft.com/Profile/en-US/?user=EnjoyingHow to Convert M2TS to AVI, WMV, MP4, MOV, 3GP, FLV (Windows/Mac)<div class="vb_postbit"><strong>What is M2TS?</strong><br/><strong>M2TS</strong> is a Sony high definition video file type. <strong>M2TS</strong> files are raw AVCHD videos recorded using Sony’s camcorders, such as the HDR-SR1 and HDR-SR5 models. Panasonic, Canon and other brands of AVCHD camcorders also record in M2TS format.<br/>However, this format cannot be usually played on your computer or portable players. So firstly you need convert the format to the common video formats such as AVI, WMV, MP4, MOV, 3GP, FLV, SWF, DivX, XviD etc.. <br/>With this easy-to-use <strong>M2TS Converter</strong>, you can convert m2ts file to the common video format. Furthermore, this poweful tool can let you playback your converted files on all popular portable players such as iPod, iPhone, Archos, video mobile phone, Zune, PSP, etc..<br/><strong>Part 1: How to convert m2ts to AVI, WMV, MP4, MOV, 3GP, FLV on Mac</strong><br/>The converter you need is <a href="http://tipard.com/m2ts-converter-for-mac.html">Tipard M2TS Converter</a> for Mac.<br/><strong>How to operate the converter:</strong><br/>Firstly, Download and install the M2TS Converter for Mac (<a href="http://tipard.com/download/mac/m2ts-converter-intel.dmg">Intel Version</a>) or (<a href="http://tipard.com/download/mac/m2ts-converter-power-pc.dmg">Power PC Version</a>). After the action, you will see the following screenshot:<br/><img src="http://www.tipard.com/guide/m2ts-converter-for-mac/interface.jpg" border=0 alt=""><br/><strong>Step 1:</strong> Run the converter and load your files.<br/><strong>Step 2:</strong> Select the format you want to convert from “Profile”. If you like to set your own data, please click “Settings” button. <br/><strong>Step 3:</strong> Set up the output profile and the output file path. You can default the output file path or select your own path by clicking “Browse” button on the line of Destination.<br/><strong>Step 4:</strong> Start conversion.<br/>After you set all the settings, you can click “Start” to start conversion.<br/>This converter also has powerful editing functions besides conversion. Take some examples below:<br/><strong>1: Snapshot</strong><br/>If you like the current image of the video you can use the “Snapshot” option, just click the “Snapshot” button and the image will be saved and then click the “Open” button next to “Snapshot” button to open your picture.<br/><strong>2: Merge</strong><br/>If you want to merge several videos into one file you can choose them at one time and click the “Merge into one file” to do it.<br/><strong>3: Effect</strong><br/>Click “Effect” button you can do these actions: adjusting brightness, contrast and saturation of the video. You can easily adjust the video through two windows in the same interface. <br/><img src="http://www.tipard.com/guide/tipard-video-converter-for-mac/effect-1.jpg" border=0 alt=""><br/><strong>4: Trim</strong><br/>If you just want convert a clip of your video, then you can use the &quot;Trim&quot; icon to set the Start time and End time of the clip or you can directly drag the slide bar to the accurate position. <br/><img src="http://www.tipard.com/guide/tipard-video-converter-for-mac/trim-1.jpg" border=0 alt=""><br/><strong>5: Crop</strong><br/>By using the “Crop” function you can crop the black edge of your video and you can also drag the line around the video image to adjust your video to your Google Phone. <br/><img src="http://www.tipard.com/guide/tipard-video-converter-for-mac/crop-1.jpg" border=0 alt=""><br/><strong>Part 2: How to convert M2TS to AVI, WMV, MP4, MOV, 3GP, FLV on Windows</strong><br/>The converter you need is Tipard <a href="http://tipard.com/m2ts-converter.html"><strong>M2TS Converter</strong></a>. <br/>Firstly, download and install Tipard <a href="http://tipard.com/download/m2ts-converter.exe"><strong>M2TS Converter</strong></a>.<br/><strong>Step 1:</strong> Run Tipard M2TS Converter and load your files.<br/><img src="http://www.tipard.com/image/guide/m2ts-converter/interface.jpg" border=0 alt=""> <br/><strong>Step 2:</strong> Select the format you want to convert from “Profile”. If you like to set your own data, please click “Settings” button.<br/><strong>Step 3:</strong> Set up the output profile and the output file path. You can default the output file path or select your own path by clicking “Browse” button on the line of Destination.<br/><strong>Step 4:</strong> Start conversion.<br/>After you set all the settings, you can click “Start” to start conversion.<br/><strong>Tips:</strong> <br/>The key features are shown below:<br/><strong>1: How to set effect of video</strong><br/>You can adjust the video such as brightness, contrast and saturation <br/><img src="http://www.tipard.com/guide/m2ts-converter/effect.jpg" border=0 alt=""><br/><strong>2: How to split your video</strong><br/>The &quot;Trim&quot; function also servers as a video splitter for you to get any time-length video episode. You can set the &quot;Start Time&quot; and &quot;End Time&quot; to set the time of the clip or you can directly drag the slide bar to the accurate position. <br/><img src="http://www.tipard.com/guide/m2ts-converter/trim.jpg" border=0 alt=""><br/><strong>3: How to crop off the black edges and adjust the size of video play region</strong><br/>By using the &quot;Crop&quot; function you can crop the black edge of your video and you can also drag the line around the video image to adjust the video play region to fit for your mobile devices. Have you found out the difference from the two windows? The bride and the old man are only in the picture.<br/><img src="http://www.tipard.com/guide/m2ts-converter/crop.jpg" border=0 alt=""><br/><strong>4: How to save your favorite picture</strong><br/>If you like the current image when preview video, you can use the &quot;Snapshot&quot; option. Just click the &quot;Snapshot&quot; button the image will be saved and you can click the &quot;Open&quot; button next to &quot;Snapshot&quot; button to open your picture.<br/><strong>5: How to join your file pieces</strong><br/>If you want to merge several files into one file you can choose them and click the &quot;Merge into one file&quot; to do it.<br/>Now your recorded video is well converted and edited.<br/><a href="http://www.tipard.com/iphone-video-converter.html">iPhone Video Converter</a><br/><a href="http://www.tipard.com/flv-converter.html">FLV Converter</a></div> Fri, 20 Nov 2009 01:22:09 Z2009-11-23T21:29:06Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/6676aeb4-9b27-401f-aacb-383f1e5f7c31http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/6676aeb4-9b27-401f-aacb-383f1e5f7c31stefan_brhttp://social.msdn.microsoft.com/Profile/en-US/?user=stefan_brHow to show the properties of an variant product on the product.aspx pageHello,<br/><br/>I've got a product with five different variant properties.<br/>For those variant properties, i've got different custom properties.<br/>When I choose a variant property from the dropdown box, i want to show the properties of that variant.<br/>But how do I do that?<br/><br/>I can choose the simple property list web part, but I can get it only work with custom properties. All I want to do is that these propertys change when I choose an other variant property from the dropdown box.<br/><br/>Example dropdownbox:<br/><br/>Producttype:   Product Variant 1<br/>                     Product Variant 2<br/>                     Product Variant 3<br/>                     Product Variant 4<br/>                     Product Variant 5<br/><br/>When I choose Product Variant 2 from the dropdownbox, I want some variant properties to be changed on the product page<br/><br/><br/>I hope somebody has an answer for this?!<br/><br/>Thanks!<br/>Stefan<br/><br/>Thu, 19 Nov 2009 15:59:25 Z2009-11-19T15:59:25Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/18d8dcad-46a3-48da-b1cd-2f482bbde78dhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/18d8dcad-46a3-48da-b1cd-2f482bbde78dGinuhttp://social.msdn.microsoft.com/Profile/en-US/?user=GinuIssue in Catalog managerHi,<br/><br/>I have created a product in catalog manager. Also there are 3 variants added to the product. For those varaints, there is a dropdown - color which has values - Blue, Black and Green. These values are from the property - Product Color from Catalog and Inventory schema manager. But I need to change the value 'Green' to 'Green color'. I am able to change the value in Catalog and Inventory schema manager. But on accessing the product and on selecting the varaint which is having the changed value, it is throwing an error message &quot;System.Argument.Exception: DataGridViewComboBoxCell value is not valid&quot;. what could be the issue? Is it possbile to change existing dropdown values in Catalog and Inventory schema manager which is used in the products.<br/><br/>Regards,<br/>GinuTue, 17 Nov 2009 13:07:31 Z2009-11-18T21:22:37Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/6b208ba2-0586-47d3-9127-c6b803a30e0fhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/6b208ba2-0586-47d3-9127-c6b803a30e0fKevinBurtonhttp://social.msdn.microsoft.com/Profile/en-US/?user=KevinBurtonTimeout?Particularly when our site is busy I am getting a number of SQL timeout error exceptions from the call PurchaseOrderManager.GetPurchaseOrderAsDataSet. Is there any way to increase the timeout value for this call so I can avoid the exception?<br/><br/>Thank you.<br/><br/><br/>KevinWed, 21 Oct 2009 15:04:26 Z2009-11-18T17:13:29Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/1601bd0d-ac77-4481-90bc-6b49a8b1718chttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/1601bd0d-ac77-4481-90bc-6b49a8b1718cMike Kelleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20KelleyProduct ImagesMy product images are hosted on another external web server.  How can I map the product images so that it does not pickup my local URL?Thu, 12 Nov 2009 20:28:55 Z2009-11-17T21:12:06Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/29f994da-5d2f-4b36-b123-c15568ff25eehttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/29f994da-5d2f-4b36-b123-c15568ff25eekum04http://social.msdn.microsoft.com/Profile/en-US/?user=kum04Commerce Server 2009 InfoCould any one suggest a good ebook for commerce server 2009?Tue, 17 Nov 2009 07:13:54 Z2009-11-17T21:10:38Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/f94223af-df57-4471-959a-9454b402ff14http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/f94223af-df57-4471-959a-9454b402ff14Olivier _WYMANNhttp://social.msdn.microsoft.com/Profile/en-US/?user=Olivier%20_WYMANNTuning Advisor on CS2007 databaseHello<br/><br/>My host wants to run the SQL Server tuning advisor tool (TA) on a commerce server database. As a result, the TA will generate new indexes on tables, or modify existing indexes on the CS database<br/><br/>Any recommandations ? I don't like the idea od modifying the CS database, as some tables columns are created, modified, etc by CS on runtime.<br/><br/>OlivierTue, 17 Nov 2009 09:30:29 Z2009-11-17T09:30:31Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/85ab7587-aba2-429f-b1f0-0c2362e5ba72http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/85ab7587-aba2-429f-b1f0-0c2362e5ba72allan8964http://social.msdn.microsoft.com/Profile/en-US/?user=allan8964where to find commerce server 2007 trial version?hi there,<br/><br/>i want to know where i can find commerce server trial download? how can you learn it without it installed. thanks.<br/><hr class="sig">allanSun, 15 Nov 2009 05:54:53 Z2009-11-16T19:53:10Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/1aefe475-e10b-423f-b152-9b613009fc28http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/1aefe475-e10b-423f-b152-9b613009fc28Younes AMARhttp://social.msdn.microsoft.com/Profile/en-US/?user=Younes%20AMARUsing the UpmProvider on WCF Service<p><font color="#0000ff" size=2><font color="#000000" size=3>Hi Folks,<br>i m trying to use the UpmMembershipProvider on a WCF service for authentication but i was enable to do so i got an error that says he can not load the assembly &quot;</font><font color="#000000">Microsoft.CommerceServer.Runtime.Profiles.UpmMembershipProvider&quot; i ve followed exactly the same steps as for using UpmProvider inside sharepoint 2007</font></font></p> <p><font size=2>Thanks</font></p> <p><font size=2>Younes</font></p>Thu, 24 May 2007 02:30:43 Z2009-11-16T03:45:57Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/606b9436-57a0-4bec-9715-70936017cf1dhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/606b9436-57a0-4bec-9715-70936017cf1dGinuhttp://social.msdn.microsoft.com/Profile/en-US/?user=GinuProducts page loading slowly in starter site<p>Hi,<br/><br/>Suppose there are more products mapped under a catalogue or category, on clicking the catalogue name or category name, the starter site product list page is taking some time(around 12 secs) to load the page. how can we make it to reduce 2 to 4 secs even if there are more products under it?<br/><br/>Regards,<br/>Ginu</p>Sun, 15 Nov 2009 04:29:21 Z2009-11-16T03:09:19Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/ab793a1f-2f3c-493b-a4f0-af0fe0896444http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/ab793a1f-2f3c-493b-a4f0-af0fe0896444Muhammad Altafhttp://social.msdn.microsoft.com/Profile/en-US/?user=Muhammad%20AltafMicrosoft.CommerceServer.Runtime.Orders.UnexpectedContainedTypeException &lt;!-- /* Font Definitions */ @font-face {font-family:&quot;Cambria Math&quot;; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} @font-face {font-family:Verdana; panose-1:2 11 6 4 3 5 4 4 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:536871559 0 0 0 415 0;} @font-face {font-family:&quot;Lucida Console&quot;; panose-1:2 11 6 9 4 5 4 2 2 4; mso-font-charset:0; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-2147482993 6144 0 0 31 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:&quot;&quot;; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-bidi-font-family:&quot;Times New Roman&quot;;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; font-size:10.0pt; mso-ansi-font-size:10.0pt; mso-bidi-font-size:10.0pt;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --&gt; <p class=MsoNormal>I am working on commerce server 2007 I have extend orderform by adding two new fields.</p> <p class=MsoNormal> </p> <p class=MsoNormal>After that am getting following error on submitting order.</p> <p class=MsoNormal> </p> <p class=MsoNormal><em><span style="font-size:14pt;font-family:'Verdana','sans-serif';color:maroon">Class collection property PurchaseOrder.OrderForms contains an object of type OrderForm that was not specified in the storage mapping.</span> </em> <span style="font-size:14pt;font-family:'Verdana','sans-serif';color:maroon"> </span></p> <p class=MsoNormal style="margin-bottom:12pt"><strong><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:black">Description: </span> </strong> <span style="font-size:8.5pt;font-family:'Arial','sans-serif';color:black">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. <br/> <br/> </span> <strong><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:black">Exception Details: </span> </strong> <span style="font-size:8.5pt;font-family:'Arial','sans-serif';color:black">Microsoft.CommerceServer.Runtime.Orders.UnexpectedContainedTypeException: Class collection property PurchaseOrder.OrderForms contains an object of type OrderForm that was not specified in the storage mapping.<br/> <br/> </span> <strong><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:black">Source Error:</span> </strong> <span style="font-size:8.5pt;font-family:'Arial','sans-serif';color:black"> </span></p> <table class=MsoNormalTable style="background:#ffffcc none repeat scroll 0% 0%;width:100%" border=0 cellpadding=0 width="100%"> <tbody> <tr> <td style="padding:0.75pt"> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black"> </span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">Line 360:                // Save the basket as an order, send an email receipt,</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">Line 361:                // and redirect to the order detail page.</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:red">Line 362:                order = this.CheckoutData.BasketHelper.Basket.SaveAsOrder();</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">Line 363:                transaction.Complete();</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">Line 364:            }</span></p> </td> </tr> </tbody> </table> <p class=MsoNormal style="margin-bottom:12pt"><span style="font-size:8.5pt;font-family:'Arial','sans-serif';color:black"><br/> </span> <strong><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:black">Source File: </span> </strong> <span style="font-size:8.5pt;font-family:'Arial','sans-serif';color:black">d:\StarterSiteProjects\StarterSite\Checkout\Default.aspx.cs</span> <strong><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:black">    Line: </span> </strong> <span style="font-size:8.5pt;font-family:'Arial','sans-serif';color:black">362 <br/> <br/> </span> <strong><span style="font-size:8.5pt;font-family:'Verdana','sans-serif';color:black">Stack Trace:</span> </strong> <span style="font-size:8.5pt;font-family:'Arial','sans-serif';color:black"> </span></p> <table class=MsoNormalTable style="background:#ffffcc none repeat scroll 0% 0%;width:100%" border=0 cellpadding=0 width="100%"> <tbody> <tr> <td style="padding:0.75pt"> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black"> </span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">[UnexpectedContainedTypeException: Class collection property PurchaseOrder.OrderForms contains an object of type OrderForm that was not specified in the storage mapping.]</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   Microsoft.CommerceServer.Runtime.Orders.PurchaseOrder.Save(Boolean deleteOrder, ITransaction trans) +4260</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   Microsoft.CommerceServer.Runtime.Orders.Basket.SaveAsOrder(ITransaction trans) +131</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   Microsoft.CommerceServer.Runtime.Orders.Basket.SaveAsOrder() +7</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   Checkout_Default.ExecuteTransactedCheckout() in d:\StarterSiteProjects\StarterSite\Checkout\Default.aspx.cs:362</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   Checkout_Default.Checkout() in d:\StarterSiteProjects\StarterSite\Checkout\Default.aspx.cs:222</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   Checkout_Default.CheckoutWizard_FinishButtonClick(Object sender, EventArgs e) in d:\StarterSiteProjects\StarterSite\Checkout\Default.aspx.cs:561</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36</span></p> <p class=MsoNormal><span style="font-size:9pt;font-family:'Lucida Console';color:black">   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565</span></p> </td> </tr> </tbody> </table>Thu, 12 Nov 2009 06:59:03 Z2009-11-12T19:24:31Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/17224971-8fd2-4aa1-b17c-cda7e7f4e6b8http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/17224971-8fd2-4aa1-b17c-cda7e7f4e6b8Prabuecehttp://social.msdn.microsoft.com/Profile/en-US/?user=PrabueceOrders Extensibility in commerce server 2007 thrown an error message(basket.SaveAsOrder()) - Using Web service<p><font color="#000000" size=2>Hi,</font></p> <blockquote dir=ltr style="margin-right:0px"> <p align=left><font color="#000000">I have extended the LineItems, OrderForms and PurchaseOrders based on the SDK sample code and it is working fine when I am placing orders through StarterSite. Then for my requirement I created a new web service and accessing the StarterSite_OrderWebService to place the order. But I am getting an error on placing the order.</font></p> <p align=left> </p> <p align=left>I have pasted my code here .</p> <p align=left><font color="#000000"></font> </p> <p align=left><font color="#000000"><strong>In web.config file,</strong></font></p></blockquote> <p align=left><font color="#000000"></font> </p><font size=2> <p align=left><font color="#000000"> <div class=codeseg> <div class=codecontent> <div class=codesniptitle><span style="width:100%">Code Snippet</span></div><font size=2> <p align=left><font color="#000000">&lt;</font></font><font color="#000000"><font size=2>appSettings</font><font size=2>&gt;</p></font></font> <p align=left><font color="#000000"><font size=2>&lt;</font><font size=2>add</font><font size=2> </font><font size=2>key</font><font size=2>=</font><font size=2>&quot;</font><font size=2>EXTENOrder.SiteName</font><font size=2>&quot;</font><font size=2> </font><font size=2>value</font><font size=2>=</font><font size=2>&quot;</font><font size=2>Stargate</font><font size=2>&quot;</font></font><font size=2><font color="#000000">/&gt;</font></p> <p align=left><font color="#000000">&lt;/&lt; FONT&gt;</font><font color="#000000"><font size=2>appSettings</font><font size=2>&gt;</font></font></p> <p align=left> </p></div></div> <p align=left> </p></font></font> <p></p> <p align=left><font color="#000000" size=2></font> </p> <p align=left><font color="#000000" size=2>My Web Service Code,</font><font size=2></p> <p align=left><font color="#000000"></font> </p><font size=2> <p align=left><font color="#000000"> <div class=codeseg> <div class=codecontent> <div class=codesniptitle><span style="width:100%">Code Snippet</span></div><font size=2><font size=2> <p align=left><font color="#000000">Configuration</font></font><font color="#000000"><font size=2> objConfig = </font><font size=2>WebConfigurationManager</font><font size=2>.OpenWebConfiguration(</font><font size=2>&quot;~&quot;</font></font><font size=2><font color="#000000">);</font></p> <p align=left></font><font color="#000000"><font size=2>AppSettingsSection</font><font size=2> objAppsettings = (</font><font size=2>AppSettingsSection</font><font size=2>)objConfig.GetSection(</font><font size=2>&quot;appSettings&quot;</font></font><font size=2><font color="#000000">);</font></p> <p align=left></font><font color="#000000"><font size=2>if</font><font size=2> (objAppsettings != </font><font size=2>null</font></font><font size=2><font color="#000000">)</font></p> <p align=left><font color="#000000">{</font></p> <p align=left><font color="#000000">orderSiteName = objAppsettings.Settings[</font></font><font color="#000000" size=2>&quot;EXTENOrder.SiteName&quot;</font><font size=2><font color="#000000">].Value;</font></p> <p align=left><font color="#000000">OrderContext<font size=2> orderContext = </font><font size=2>OrderContext</font><font size=2>.Create(</font><font size=2>&quot;orderSiteName &quot;</font><font size=2>); <font size=2>//SiteName</font></font></font></font><font size=2></p> <p align=left><font color="#000000"></font></p> <p align=left><font color="#000000">}</font></p></font> <p align=left><font color="#000000"></font></font><font size=2><font size=2> </p></font></font> <p align=left><font color="#000000"><font size=2>Guid</font><font size=2> userid = </font><font size=2>Guid</font></font><font size=2><font color="#000000">.NewGuid();</font></p> <p align=left></font><font color="#000000"><font size=2>Guid</font><font size=2> soldToID = </font><font size=2>Guid</font></font><font size=2><font color="#000000">.NewGuid();</font></p> <p align=left></font><font color="#000000"><font size=2>Basket</font><font size=2> basket;</font></font></p> <p align=left><font color="#000000"></font><font size=2> </p> <p align=left><font color="#000000">EXTENOrderForm  orderform = </font></font><font color="#000000"><font size=2>new</font><font size=2> EXTENOrderForm  (</font><font size=2>&quot;default&quot;</font><font size=2>);</font></font><font size=2></p> <p align=left><font color="#000000">basket = orderContext.GetBasket(userid, </font></font><font color="#000000" size=2>&quot;DefaultBasket&quot;</font><font size=2><font color="#000000">);</font></p> <p align=left><font color="#000000">EXTENLineItem lineitem = </font></font><font color="#000000"><font size=2>new</font><font size=2> EXTENLineItem();</font></font></p> <p align=left><font color="#000000"></font><font size=2> </p> <p align=left><font color="#000000">lineitem.ProductCatalog = </font></font><font color="#000000" size=2>&quot;Adventure Works Catalog&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.Quantity = </font></font><font color="#000000"><font size=2>Convert</font><font size=2>.ToDecimal(</font><font size=2>&quot;12&quot;</font></font><font size=2><font color="#000000">);</font></p> <p align=left><font color="#000000">lineitem.ProductId = </font></font><font color="#000000" size=2>&quot;AW042-03&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.ProductVariantId = </font></font><font color="#000000" size=2>&quot;AW042-03-71&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.ShippingMethodId = </font></font><font color="#000000"><font size=2>new</font><font size=2> </font><font size=2>Guid</font><font size=2>(</font><font size=2>&quot;373ca40c-0000-4db2-8d9b-9fb507e33662&quot;</font></font><font size=2><font color="#000000">);</font></p> <p align=left><font color="#000000">lineitem.ShippingMethodName = </font></font><font color="#000000" size=2>&quot;Esplanaden Express&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.ListPrice = </font></font><font color="#000000"><font size=2>Convert</font><font size=2>.ToDecimal(</font><font size=2>&quot;32.00&quot;</font></font><font size=2><font color="#000000">);</font></p> <p align=left><font color="#000000">lineitem.ExtendedPrice = </font></font><font color="#000000"><font size=2>Convert</font><font size=2>.ToDecimal(</font><font size=2>&quot;32.00&quot;</font></font><font size=2><font color="#000000">);</font></p> <p align=left><font color="#000000">lineitem.DisplayName = </font></font><font color="#000000" size=2>&quot;Men's button-down (Blue)&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.Description = </font></font><font color="#000000" size=2>&quot;Men's button-down (Blue)&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.Logo = </font></font><font color="#000000" size=2>&quot;LogoTest&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.ProductColor = </font></font><font color="#000000" size=2>&quot;Red&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.ProductSize = </font></font><font color="#000000" size=2>&quot;30&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.WarehouseCode = </font></font><font color="#000000" size=2>&quot;XYZ&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">lineitem.VolumetricWeight = 2;</font></p> <p align=left><font color="#000000">lineitem.CostPrice = </font></font><font color="#000000"><font size=2>Convert</font><font size=2>.ToDecimal(</font><font size=2>&quot;23.00&quot;</font></font><font size=2><font color="#000000">);</font></p> <p align=left><font color="#000000">lineitem.QtyPerUnit = 1;</font></p> <p align=left><font color="#000000"></font> </p> <p align=left></font><font color="#000000"><font size=2>OrderAddress</font><font size=2> orderAddress = </font><font size=2>new</font><font size=2> </font><font size=2>OrderAddress</font><font size=2>(</font><font size=2>&quot;HomeAddress&quot;</font><font size=2>, </font><font size=2>&quot;{0e6bc808-ed6e-4269-8645-1a86edc99af7}&quot;</font></font><font size=2><font color="#000000">);</font></p> <p align=left><font color="#000000"></font> </p> <p align=left><font color="#000000">lineitem.ShippingAddressId = </font></font><font color="#000000" size=2>&quot;{b00dd6a0-8e46-4447-81b2-d5696647a064}&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">orderform.LineItems.Add(lineitem);</font></p> <p align=left><font color="#000000"></font> </p> <p align=left><font color="#000000">basket.OrderForms.Add(orderform);</font></p> <p align=left><font color="#000000">basket.Addresses.Add(orderAddress);</font></p> <p align=left><font color="#000000">basket.SetShippingAddress(</font></font><font color="#000000" size=2>&quot;{b00dd6a0-8e46-4447-81b2-d5696647a064}&quot;</font><font size=2><font color="#000000">);</font></p> <p align=left><font color="#000000">basket.SetBillingAddress(orderAddress.OrderAddressId.ToString());</font></p> <p align=left><font color="#000000">basket.SoldToAddressId = orderAddress.OrderAddressId.ToString();</font></p> <p align=left><font color="#000000">basket.Status = </font></font><font color="#000000" size=2>&quot;NewOrder&quot;</font><font size=2><font color="#000000">;</font></p> <p align=left><font color="#000000">basket.Save();</font></p> <p align=left><font color="#000000"></font> </p> <p align=left><font color="#0000ff">EXTENPurchaseOrder po = (<font size=2>EXTENPurchaseOrder</font>)basket.SaveAsOrder();</font></p></font> <p align=left> </p></div></div> <p align=left> </p></font></font> <p></p></font><font size=2> <p align=left><font color="#000000"></font> </p> <p align=left><font color="#000000">I am getting the error on the line marked in blue i.e., Saving an order from basket.</font></p> <p align=left> </p> <p align=left>The error is, </p> <p align=left><font color="#0000ff">Microsoft.CommerceServer.Runtime.Orders.UnexpectedContainedTypeException: Class collection property PurchaseOrder.OrderForms contains an object of type EXTENOrderForm that was not specified in the storage mapping.<br>   at Microsoft.CommerceServer.Runtime.Orders.PurchaseOrder.Save(Boolean deleteOrder, ITransaction trans)<br>   at Microsoft.CommerceServer.Runtime.Orders.Basket.SaveAsOrder(ITransaction trans)<br>   at Microsoft.CommerceServer.Runtime.Orders.Basket.SaveAsOrder()</font></p> <p align=left><font color="#000000"></font> </p> <p align=left><font color="#000000">If I remove this line of code (EXTENPurchaseOrder po = (<font size=2>EXTENPurchaseOrder</font>)basket.SaveAsOrder() and execute the application. The items are saved in the basket successfully without any error. I am able to view the the created items in the Commerce Server 2007 - Customer and Order Manager.</font></p> <p align=left> </p> <p align=left><font color="#000000">I am facing the above problem when I use the extended Order classes but the Orders are getting placed successfully if I use the existing Order classes instead of extended Order classes.</font></p> <p align=left> </p> <p align=left>So I think there is some problem when I am converting my basket to Order using the extended Order classes. Do I have to make any other configuration changes for accessing the extended classes through my new web service.</p> <p align=left><br> </p> <p><font color="#000000"></font></p></font></font>Thu, 22 May 2008 11:35:41 Z2009-11-12T11:35:32Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/c8fa9d00-5a8a-4672-bbba-9a5687c89695http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/c8fa9d00-5a8a-4672-bbba-9a5687c89695KevinBurtonhttp://social.msdn.microsoft.com/Profile/en-US/?user=KevinBurtonModify a purchase orderThis question is regarding SavePurchaseOrder, UpdatePurchaseOrder, and UpdatePurchaseOrderProperties methods in the PurchaseOrderManager class.<br/><br/>1) Is there a functional difference between SavePurchaseOrder and UpdatePurchaseOrder?<br/>2) If I have a purchase order as XML (GetPurchaseOrderAsXml) and I want to change one of the attributes of one of the nodes can I use UpdatePurchaseOrderProperties or am I forced to SavePurchaseOrder even if all I changed was an attribute? If I can use UpdatePurchaseOrderProperties what is the format of the XmlElement for a &quot;property&quot; that is an attribute?<br/><br/>I see that if I want to search the database for a particular purchase order it seems that I am better off programming using the DataSet model. What are the scenarios which I am better off using XML?<br/><br/>Thank you.<br/><br/>KevinWed, 28 Oct 2009 15:43:10 Z2009-11-12T07:44:06Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/ae1fc0a0-33a4-4eff-a006-bace8253a6achttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/ae1fc0a0-33a4-4eff-a006-bace8253a6acMeng Yihttp://social.msdn.microsoft.com/Profile/en-US/?user=Meng%20YiLogin user name field pre-filled with email address!Hi,<br/> <br/> i'm developing based on startersite, i have followed the online resources to change the login field from email to the memeber id. it works fine.<br/> <br/> BUT often, the username field is pre-filled with the user email on their login screen. anything that i might have missed out?<br/> <br/> thanks.Thu, 22 Oct 2009 14:02:28 Z2009-11-12T03:36:32Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/c9221790-9440-4130-b9fb-e49a10d6d09dhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/c9221790-9440-4130-b9fb-e49a10d6d09dIvan Sandershttp://social.msdn.microsoft.com/Profile/en-US/?user=Ivan%20SandersThe Commerce Server 2009 Evaluation VPC (September 2009 version) is now available for download??? Links do NOT work<p>The Commerce Server Blog posts &gt;&gt; <br/>The Commerce Server 2009 Evaluation VPC (September 2009 version) is now available for download.</p> <p>This VPC has <strong>Commerce Server 2009</strong> and <strong>Microsoft Office SharePoint® Server 2007</strong> (MOSS) fully installed and configured (Core Systems, Multi-Channel Commerce Foundation, SharePoint Commerce Services), including the new Default site with the Template Pack running in SharePoint using the 30 new Web Parts.<a href="http://blogs.msdn.com/commerce/archive/2009/09/25/commerce-server-2009-evaluation-vpc-september-2009-version-is-available-for-download.aspx"><br/>http://blogs.msdn.com/commerce/archive/2009/09/25/commerce-server-2009-evaluation-vpc-september-2009-version-is-available-for-download.aspx</a><br/><br/><a title="Microsoft Connect" href="https://connect.microsoft.com/site/sitehome.aspx?SiteID=643">Download</a> the latest VPC - complete with a demo script, sales collateral, samples and videos from Microsoft Connect. <br/><br/>However, the download link for both the august and september VPCs do not work.... <br/><br/>Does anyone know the correct link for the download?<br/><br/><br/>Thank you,<br/><br/><br/>-Ivan</p><hr class="sig">Ivan Sanders http://www.linkedin.com/in/iasanders http://dimension-si.com/blogWed, 11 Nov 2009 15:36:13 Z2009-11-11T21:00:18Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/5da68b1f-cd20-4064-92e2-9728ab3efab9http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/5da68b1f-cd20-4064-92e2-9728ab3efab9goldjakehttp://social.msdn.microsoft.com/Profile/en-US/?user=goldjaketrying hire commerce server developer- please help We have a very good company that we are happy with but they are small and we need more in house development. I code a little bit but i do not understand commerce server that well. I was wondering if i hired a developer full time what languages should they know? Do they have to know commerce server and can they learn commerce server on the job if they know C# and .net really well. We have a website that does 10 million a year so we need someone who understands pipelines and all that ____ but i am confused about how to hire someone. Hope someone can helpFri, 06 Nov 2009 16:49:01 Z2009-11-11T15:08:22Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/22d1b776-d1c3-4454-bd9a-11610a8fe0f9http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/22d1b776-d1c3-4454-bd9a-11610a8fe0f9goldjakehttp://social.msdn.microsoft.com/Profile/en-US/?user=goldjakeFor web business- is there an accounting system or refund module in commerce server?Is there a one stop package for commerce server <p class=MsoListParagraphCxSpFirst style="text-indent:-0.25in"> <span><span>1.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal">       </span> </span> </span> Charging the cc</p> <p class=MsoListParagraphCxSpMiddle style="text-indent:-0.25in"><span><span>2.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal">       </span> </span> </span> Collecting cash</p> <p class=MsoListParagraphCxSpMiddle style="text-indent:-0.25in"><span><span>3.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal">       </span> </span> </span> Paying bills</p> <p class=MsoListParagraphCxSpMiddle style="text-indent:-0.25in"><span><span>4.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal">       </span> </span> </span> Issuing financial statement</p> <p class=MsoListParagraphCxSpMiddle style="text-indent:-0.25in"><span><span>5.<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal">       </span> </span> </span> Issuing refunds and return merchandise authorization</p> <p class=MsoListParagraphCxSpLast> </p>Tue, 10 Nov 2009 18:49:45 Z2009-11-10T23:55:25Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/95d840c0-6ab8-49d9-a1bd-7577e3743acdhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/95d840c0-6ab8-49d9-a1bd-7577e3743acdMike Kelleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20KelleyBrowse items by category or by manufacturerI want to allow my customer to not only browse by category but also by manufacturer.  How is the best way of handling this? Fri, 06 Nov 2009 19:06:13 Z2009-11-10T15:20:55Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/abdbccd9-286f-4aa0-a260-b92c7c5285bfhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/abdbccd9-286f-4aa0-a260-b92c7c5285bfMike Kelleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20KelleyProduct Search KeywordsMy supplier provides me with a database file of the items they sell to me.  I am taking this file and loading it into CS2009 to load my products into CS2009.  My import file has a field that contains the search keywords for the item.  <br/><br/>My question, where/how would you suggest that I use this field in CS2009? Tue, 10 Nov 2009 03:42:41 Z2009-11-10T15:19:50Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/8e1c3637-112c-41c6-9d4a-dae1453643a3http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/8e1c3637-112c-41c6-9d4a-dae1453643a3Mike Kelleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20KelleyIs there a limit on the number of items or categories?<p>After loading my products via XML import I get the follow error after tring to access the web site.  I've isolated the possibility of data issues and I'm sure it is related to the number of records loaded.  Attached is the error from the event log:<br/><br/>Event Type: Error<br/>Event Source: SharePoint Commerce Services Exceptions<br/>Event Category: None<br/>Event ID: 0<br/>Date:  11/7/2009<br/>Time:  7:45:59 PM<br/>User:  N/A<br/>Computer: WEB<br/>Description:<br/>An exception of type 'System.Threading.ThreadAbortException' occurred and was caught.<br/>-------------------------------------------------------------------------------------<br/>11/07/2009 19:45:59<br/>Type : System.Threading.ThreadAbortException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089<br/>Message : Thread was being aborted.<br/>Source : System.Data<br/>Help link : <br/>ExceptionState : System.Web.HttpApplication+CancelModuleException<br/>Data : System.Collections.ListDictionaryInternal<br/>TargetSite : IntPtr SNIPacketGetConnection(IntPtr)<br/>Stack Trace :    at SNINativeMethodWrapper.SNIPacketGetConnection(IntPtr packet)<br/>   at System.Data.SqlClient.TdsParserStateObject.ProcessSniPacket(IntPtr packet, UInt32 error)<br/>   at System.Data.SqlClient.TdsParserStateObject.ReadSni(DbAsyncResult asyncResult, TdsParserStateObject stateObj)<br/>   at System.Data.SqlClient.TdsParserStateObject.ReadNetworkPacket()<br/>   at System.Data.SqlClient.TdsParserStateObject.ReadBuffer()<br/>   at System.Data.SqlClient.TdsParserStateObject.ReadByte()<br/>   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br/>   at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()<br/>   at System.Data.SqlClient.SqlDataReader.get_MetaData()<br/>   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)<br/>   at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)<br/>   at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)<br/>   at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)<br/>   at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)<br/>   at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br/>   at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)<br/>   at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable)<br/>   at Microsoft.CommerceServer.Catalog.Internal.SqlHelper.ExecuteDataset(SqlConnection connection, CommandType commandType, String commandText, CatalogDataSetType catalogDataSetType, SqlParameter[] commandParameters, String outParameterName, Object&amp; outParameterValue)<br/>   at Microsoft.CommerceServer.Catalog.Internal.SqlHelper.ExecuteDataset(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters, CatalogDataSetType catalogDataSetType, String outParameterName, Object&amp; outParameterValue)<br/>   at Microsoft.CommerceServer.Catalog.Internal.SqlHelper.ExecuteDataset(String connectionString, String spName, Object[] parameterValues, CatalogDataSetType catalogDataSetType, String outParameterName, Object&amp; outParameterValue)<br/>   at Microsoft.CommerceServer.Catalog.Internal.SqlHelper.ExecuteDataset(ExecutionContext executionContext, String spName, Object[] parameterValues, CatalogDataSetType catalogDataSetType, String outParameterName, Object&amp; outParameterValue)<br/>   at Microsoft.CommerceServer.Catalog.Internal.SqlHelper.ExecuteDataset(ExecutionContext executionContext, String spName, CatalogDataSetType catalogDataSetType, Object[] parameterValues)<br/>   at Microsoft.CommerceServer.Catalog.Internal.CatalogCache.GetDataset(ExecutionContext executionContext, CacheItemType cacheItemType, String storedProcedureName, CatalogDataSetType catalogDataSetType, Boolean getFromCache, Object[] parameters, String outParameterName, Object&amp; recordCount, Boolean&amp; obtainedFromCache)<br/>   at Microsoft.CommerceServer.Catalog.Internal.CatalogCache.GetDataset(ExecutionContext executionContext, CacheItemType cacheItemType, String storedProcedureName, CatalogDataSetType catalogDataSetType, Boolean getFromCache, Object[] parameters, Boolean&amp; obtainedFromCache)<br/>   at Microsoft.CommerceServer.Catalog.Internal.Category.GetCategoryProperties(CatalogExecutionContext context, String baseCatalogName, String catalogName, Int32 oid, String language, Boolean getFromCache, Boolean isVirtualCatalog)<br/>   at Microsoft.CommerceServer.Catalog.Internal.Category.PreLoadCategory(CatalogExecutionContext context, Category category, CategoryConfiguration config, Boolean getFromCache, Boolean relationshipsExist)<br/>   at Microsoft.CommerceServer.Catalog.Internal.Category.GetCategoryData(CatalogExecutionContext catalogExecutionContext, String catalogName, String categoryName, String language, Nullable`1 isVC, Nullable`1 validateLanguage, CategoryConfiguration config, Boolean getFromCache)<br/>   at Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.GetCategory(String catalogName, String categoryName, String language, CategoryConfiguration config, Boolean getFromCache, Nullable`1 isVirtualCatalog, Nullable`1 validateLanguage)<br/>   at Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.GetCategory(String catalogName, String categoryName, String language, CategoryConfiguration config)<br/>   at Microsoft.CommerceServer.Catalog.Category.Get(CatalogContext catalogContext, String catalogName, String categoryName, String language, CategoryConfiguration config, Nullable`1 isVirtualCatalog, Nullable`1 validateLanguage)<br/>   at Microsoft.CommerceServer.Catalog.Category.Get(CatalogContext catalogContext, String catalogName, String categoryName, String language, CategoryConfiguration config)<br/>   at Microsoft.CommerceServer.Catalog.CatalogContext.GetCategory(String catalogName, String categoryName, String language, CategoryConfiguration config)<br/>   at Microsoft.Commerce.Providers.CSHelpers.CatalogHelper.GetCategory(String siteName, String catalogName, String locale, String categoryName, CategoryConfiguration categoryConfiguration)<br/>   at Microsoft.Commerce.Providers.Components.CategoryLoader.ExecuteQuery(CommerceQueryOperation queryOperation, OperationCacheDictionary operationCache, CommerceQueryOperationResponse response)<br/>   at Microsoft.Commerce.Providers.Components.OperationSequenceComponent.Execute(CommerceOperation operation, OperationCacheDictionary operationCache, CommerceOperationResponse response)<br/>   at Microsoft.Commerce.Broker.OperationSequence.ExecuteComponentTree(List`1 executionTreeList, CommerceOperation operation, OperationCacheDictionary operationCache, CommerceOperationResponse response)<br/>   at Microsoft.Commerce.Broker.OperationSequence.ExecuteComponentTree(List`1 executionTreeList, CommerceOperation operation, OperationCacheDictionary operationCache, CommerceOperationResponse response)<br/>   at Microsoft.Commerce.Broker.OperationSequence.Execute(CommerceOperation operation)<br/>   at Microsoft.Commerce.Broker.MessageHandler.ProcessMessage(String messageHandlerName, CommerceOperation operation)<br/>   at Microsoft.Commerce.Broker.OperationService.InternalProcessRequest(CommerceRequest request)<br/>   at Microsoft.Commerce.Broker.OperationService.ProcessRequest(CommerceRequest request)</p> <p>Additional Info:</p> <p>MachineName : WEB<br/>TimeStamp : 11/8/2009 1:45:59 AM<br/>FullName : Microsoft.Commerce.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35<br/>AppDomainName : /LM/W3SVC/869253099/Root-1-129021175427962012<br/>ThreadIdentity : <br/>WindowsIdentity : MIKEKELLEYCONSU\csRunTimeUser</p> <p><br/>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.</p>Sun, 08 Nov 2009 01:46:37 Z2009-11-10T15:21:26Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/b24a8e87-ff50-4ab0-bcfa-f50d245c330bhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/b24a8e87-ff50-4ab0-bcfa-f50d245c330bMike Kelleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20KelleyExplaination of the web sites created by the configuration toolI am just starting out with Commerce Server 2009 and I am not quite understanding how everthing is tied together.  When I run the sharepoint configuration tool it creates a new web site and what is called an extended web site.  My question is, do both of these web sites need to be available to the general public?  If so, which one?  Should the public site be assigned port 80 or should the port be remapped using a router/firewall?Fri, 06 Nov 2009 13:45:21 Z2009-11-10T15:22:12Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/cadd6c48-1a6c-4d11-b483-1ebb43670846http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/cadd6c48-1a6c-4d11-b483-1ebb43670846Maneesh Srivastavahttp://social.msdn.microsoft.com/Profile/en-US/?user=Maneesh%20SrivastavaList of Commerce Server Supported Languages and CurrenciesWhere I can find list of Commece Server Languages and Currencies respective to countries?Mon, 09 Nov 2009 15:16:42 Z2009-11-09T20:37:42Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/aa4b0692-1b01-4716-b35d-122a95f49602http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/aa4b0692-1b01-4716-b35d-122a95f49602HRBMFhttp://social.msdn.microsoft.com/Profile/en-US/?user=HRBMFDisplay Basket Message For Order FormOn my shopping cart page I want to display a list of all basket messages (MultilingualBasketDisplay) for the discounts applied to the customers Order Form. Is it possible to access the Basket Messages at the Order Form level? I see how I to get them at the Line Item level through the ItemLevelDiscountsApplied property but it seems like I should be able to retrieve them at the order level. Does anyone have any experience with this?<br/> <br/> Thanks.Mon, 09 Nov 2009 15:51:45 Z2009-11-09T15:51:46Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/4ba43c6d-b34d-480f-a33b-7f60059e5139http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/4ba43c6d-b34d-480f-a33b-7f60059e5139Olivier _WYMANNhttp://social.msdn.microsoft.com/Profile/en-US/?user=Olivier%20_WYMANNRealtime inventory managmentHello<br/><br/>I've tryied to set a realtime inventory system wuth CS2007. Let's explain :<br/>My products only have 2 inventory states : They are in Stock or not. No backorderable stuff or anything else. As soon as a variant is added to the basket, the rule is that it is &quot;reserved&quot; for 15 minutes, and it can't be added to any other basket. After 15 minutes with no activity on the basket, the variant ihas to be removed from the basket, and the inventory quantity has to be corrected.<br/><br/>Here's what we've done, wich is probably not the best solution :<br/><br/>We've remove the pipeline Inventory steps, so the inventory quantity is never corrected by the pipelines<br/>When a variant is added to the basket, we immediatly modify it's quantity.<br/>If the variant is removed from the basket (by tje customer), we put it back to the inventory<br/>Every 15 minutes, we check all baskets, and if a basket wasn't modified for more than 15 minutes (and if the user isn't currently checking-out), we empty it and replace its variants to the inventory.<br/>Each night, we get an inventory file from the logistic team, containing the real quantities available. We import this file, with quantity correction if there are still baskets containing the concerned variant, which were not allready cleared.<br/><br/>It seams to work, but there's probably a better way of managing this rules<br/><br/>Any suggestions / recommandations ?<br/><br/>Thanks a lot<br/><br/>Olivier<br/>Fri, 06 Nov 2009 11:27:11 Z2009-11-09T14:46:43Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/a54d061e-3360-4cbf-9273-580848a6763dhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/a54d061e-3360-4cbf-9273-580848a6763dGinuhttp://social.msdn.microsoft.com/Profile/en-US/?user=GinuCatalog Lists for SearchingThe FreeText search source in Startersite is using the code<br/><span style="font-size:x-small"><font size=2> <p>search.CatalogNamesCollection =</p> </font></span> <p><span style="font-size:x-small;color:#008080"><span style="font-size:x-small;color:#008080">CatalogHelper</span></span><span style="font-size:x-small">.GetCatalogsForUser(); for getting the Catalog Name collection.<br/><br/>Is it possible If we want to get the catalogs which exists in two catalogsets? mean to say if we create 2 new catalog sets and added few catalog names to these catalog sets. So on getting the CatalogName colelction, we need only the catalog names that added to the 2 catalog sets?<br/><br/>Regards,<br/>Ginu</span></p>Mon, 09 Nov 2009 13:07:06 Z2009-11-09T13:07:07Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/794ed1e7-561a-4358-a2e5-c313fe3ec886http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/794ed1e7-561a-4358-a2e5-c313fe3ec886Ginuhttp://social.msdn.microsoft.com/Profile/en-US/?user=GinuSearching with ProductID or Variant ID Hi,<br/><br/>Is it possible to include searching with ProductID or Variant ID to the Search functionality in Starter site. That is on providing ProductId or VariantId, is it possible to get the corressponding products to the search results.<br/><br/>Regards,<br/>GinuThu, 05 Nov 2009 06:00:15 Z2009-11-09T05:55:27Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/796467a2-2e3b-4cd6-9b9a-979c0baaae07http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/796467a2-2e3b-4cd6-9b9a-979c0baaae07logicunithttp://social.msdn.microsoft.com/Profile/en-US/?user=logicunitCan not add more then 42 items in the multivalued field of user profileHello,<br/><br/>I'm trying to add about a 100 items to a multivalued field of the user object and it limits me to 42. Is there some config setting to over come this limitation? Any suggestion is greatly appreciated<br/><br/>Thanks<br/>VadimSat, 07 Nov 2009 01:28:49 Z2009-11-08T20:03:36Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/7c85b10f-b8af-4073-bb23-a6c916c990d7http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/7c85b10f-b8af-4073-bb23-a6c916c990d7Mike Kelleyhttp://social.msdn.microsoft.com/Profile/en-US/?user=Mike%20KelleyCatalog Manager - Manual Import StatusI'm manual importing about 20k items and about 5k categories by using the Cataglog Manager.  In the Catalog Manager when I select the Status under views, I notice that the import does not always show the the correct status.  I can confirm by exiting and restarting the Catalog Manager then show the correct status and by the event log event showing that the import was complete.  Can anyone please confirm that this is a display bug in the Catalog Manager and not a error in my import.  <br/><br/>Thanks, MikeSat, 07 Nov 2009 20:11:13 Z2009-11-10T15:22:47Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/55088792-8c0a-465e-8e23-bab6d6311981http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/55088792-8c0a-465e-8e23-bab6d6311981sengvelhttp://social.msdn.microsoft.com/Profile/en-US/?user=sengvelFavorite item does not display while changing catalog set for an user.<p>We have developed a webstore running in Commerce Server 2007.<br/><br/>There are two catalog sets called A and B.Both are having same items.<br/>The user has been assigned with catalog set A and then the user has added several items as his favorites.<br/><br/>Then a user is changed from a catalog set A to catalog set B through commerce server manager.<br/>The favorite items page does not display any favorites stored by the user.<br/><br/>I tried to find out where the relation between user and favorite items is stored in the database but I couldn't.<br/><br/>Can anyone explain this?<br/>where and how the relation between user and favorite items is stored?<br/>Is there anyway that we can display the favorite items of the user while changing the catalog set as the items are going to be same?<br/><br/></p>Fri, 06 Nov 2009 14:17:10 Z2009-11-06T14:17:12Zhttp://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/f72c57af-25de-4d03-b1ae-eb5175624ab0http://social.msdn.microsoft.com/Forums/en-US/commserver2007/thread/f72c57af-25de-4d03-b1ae-eb5175624ab0nicoregonhttp://social.msdn.microsoft.com/Profile/en-US/?user=nicoregonHow to connect MArketingItem to Marketing Manager advertisments ?I'm having troubles displaying my advertisments on my website. <br/> <br/> I'm creating advertisments in the marketing manager, type image, viisble every days, with a industry code... And I validate them.<br/> <br/> On the other end, I added a marketingItem control, Set its contentsize with my ad contentsize and industrycode with my ad industrycode, and filled the sitecontext, the targetcontext and the pagegroup from surrent datas.<br/> <br/> <br/> Despite all that, the ad isn't visible. <br/> <br/> What am I missing ? <br/> <br/>Fri, 06 Nov 2009 09:49:55 Z2009-11-06T13:33:12Z