{"id":3833,"date":"2014-03-30T05:56:58","date_gmt":"2014-03-30T05:56:58","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/commerce-server-forumscommerce-server-2009related-issues-collection-of-common-programming-errors\/"},"modified":"2014-03-30T05:56:58","modified_gmt":"2014-03-30T05:56:58","slug":"commerce-server-forumscommerce-server-2009related-issues-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/commerce-server-forumscommerce-server-2009related-issues-collection-of-common-programming-errors\/","title":{"rendered":"commerce-server-forums,commerce-server-2009Related issues-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2007<br \/>\nWe&#8217;ve implemented a custom profile using Commerce Server Manager and our site is based on the StarterSite framework.\u00a0 In the ProfileBase class, this function: protected static T GetProfileObject&lt;T&gt;(Guid id, ProfileBase parentProfile) where T : ProfileBase{T returnValue = default(T);if (!id.Equals(Guid.Empty)){ProfileInformationAttribute attribute = GetProfileInformationAttribute(typeof(T));CommerceProfile profile = ProfileSystem.GetProfile(attribute.IdPropertyName, id.ToString(&#8220;B&#8221;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2007<br \/>\nWe recently installed Commerce Server 2007 SP1.Prior to the install we built our catalogs using a process in BizTalk that called the Commerce Server Catalog adapter.Since the upgrade to SP1 our catalog process appears to work&#8230;however the status column in the catalogstatus table is 3 and our catalogs are empty.Any thoughts?Thanks!Glen J FergoSenior Web Developer, Henry Schein, Inc.<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nWe&#8217;re trying to import a catalog that has changes to the schema, including new properties and changes to existing property definitions.\u00a0 The import fails in under 60 seconds with and the error reported for the operation is:\u00a0 &#8220;Timeout expired.\u00a0The timeout period elapsed prior to completion of the operation or the server is not responding. Warning: The table &#8220;CatalogName_Catalog&#8221; has been created, but its maximum row size exceeds the allowed maximum of 8060 bytes. INS<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2007<br \/>\nIf I have to set up price point discounts, i.e. everything in this category is $99, I know I can&#8217;t do this in Marketing Manager (out of the box) where do I start custom development? Has anyone done this? Want to share?<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2007<br \/>\nI am trying to delete a few relationships for a product [Microsoft.CommerceServer.Catalog.Product class]. I am copying the snippet of the code below. Code snippet: \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0CatalogRelationshipsDataSet relatedProducts = product.RelatedProducts;foreach (CatalogRelationshipsDataSet.CatalogRelationship relatedProduct in relatedProducts.CatalogRelationships){product.RemoveRelationshipToProduct(catalogN<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nCan somebody guide me how to start development with MCS 2009 VPC.I have downloaded and installed the VPC but am not able to open the starter site, it is giving too many problems, I am keen to learn and explore the features.To begin with I would need help to create a sharepoint site and a catalog.Any help is greatly appreciated<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nRecently we tried applying the latest Cumulative Update for SharePoint. After applying the hotfixes, we were no longer able to login to our SharePoint sites with impersonation disabled. Here was what we were seeing:accessing _layouts\/settings.aspx:Cannot complete this action.Please try again.\u00a0\u00a0 at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal(String bstrUrl, Guid&amp; pguidID, String&amp; pbstrRequestAccessEmail, UInt32&amp; pwebVersion, String&amp; pbstrServerRelativeUrl,<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nUsing the approach described here http:\/\/notepuddle.com\/2009\/02\/10\/using-commerce-server-2009-outside-of-a-web-application\/ to run an CS2009 app as a console, I&#8217;m writing some basic\u00a0 basket operations which yield unexpected results.I&#8217;ve started off by writing an CommerceUpdate to create a Basket (is this the best approach to create a basket?):\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 var basketQuery = new CommerceUpdate&lt;CommerceEntity&gt;(&#8220;Basket&#8221;);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 basketQuery.SearchCriteria.Model.Properties.Add(&amp;quo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nHi Guys.Having trouble specifying the Channel and Catalog for my storefront in Commerce Server 2009 R2 RC.Every time I click on the Edit button of the Channel Configuration list item, it returns the infamous &#8220;An unexpected error occurred.&#8221;I&#8217;m running it the entire setup on Windows Server 2008 R2, and SharePoint Server 2010 Enterprise (standalone configuration), which installs itself on SQL Server Express automatically, courtesy of standalone configuration.Have thus far tried a number o<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2007<br \/>\nWhen running pipelines through a unit test we receive a random InvalidCastException coming from the MtsHelperTest method ShoppingCartTest.UpdateTest1 threw exception: System.InvalidCastException: CoCreateInstance returned an unexpected type: expected Microsoft.CommerceServer.Internal.Orders.MtsHelper, received Microsoft.CommerceServer.Interop.PooledPipelineClass.. \u00a0 at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType) \u00a0 at System.Runtime.Remoting.Activatio<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nWe&#8217;re trying to import a catalog that has changes to the schema, including new properties and changes to existing property definitions.\u00a0 The import fails in under 60 seconds with and the error reported for the operation is:\u00a0 &#8220;Timeout expired.\u00a0The timeout period elapsed prior to completion of the operation or the server is not responding. Warning: The table &#8220;CatalogName_Catalog&#8221; has been created, but its maximum row size exceeds the allowed maximum of 8060 bytes. INS<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nCan somebody guide me how to start development with MCS 2009 VPC.I have downloaded and installed the VPC but am not able to open the starter site, it is giving too many problems, I am keen to learn and explore the features.To begin with I would need help to create a sharepoint site and a catalog.Any help is greatly appreciated<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nRecently we tried applying the latest Cumulative Update for SharePoint. After applying the hotfixes, we were no longer able to login to our SharePoint sites with impersonation disabled. Here was what we were seeing:accessing _layouts\/settings.aspx:Cannot complete this action.Please try again.\u00a0\u00a0 at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal(String bstrUrl, Guid&amp; pguidID, String&amp; pbstrRequestAccessEmail, UInt32&amp; pwebVersion, String&amp; pbstrServerRelativeUrl,<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nUsing the approach described here http:\/\/notepuddle.com\/2009\/02\/10\/using-commerce-server-2009-outside-of-a-web-application\/ to run an CS2009 app as a console, I&#8217;m writing some basic\u00a0 basket operations which yield unexpected results.I&#8217;ve started off by writing an CommerceUpdate to create a Basket (is this the best approach to create a basket?):\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 var basketQuery = new CommerceUpdate&lt;CommerceEntity&gt;(&#8220;Basket&#8221;);\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 basketQuery.SearchCriteria.Model.Properties.Add(&amp;quo<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nHi Guys.Having trouble specifying the Channel and Catalog for my storefront in Commerce Server 2009 R2 RC.Every time I click on the Edit button of the Channel Configuration list item, it returns the infamous &#8220;An unexpected error occurred.&#8221;I&#8217;m running it the entire setup on Windows Server 2008 R2, and SharePoint Server 2010 Enterprise (standalone configuration), which installs itself on SQL Server Express automatically, courtesy of standalone configuration.Have thus far tried a number o<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nHi All,I have deployed the wsps after did the modifications in the &#8220;sharepoint commerce&#8221; solution in the site folder. After the site has been created, i want to create a new site.Then when i start the sharepoint commerce services wizard, the error is displaying &#8220;Index was outside the bounds of an array&#8221;.iam unable to start the wizard. in event log also, no error description is showing.Error: &#8220;An unexpected error has occured &#8220;Index was outside the bounds of an array&amp;<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nHi,Actually when we are trying to edit the master page CSS of Ecommerce site the default webpart\u00a0gets invisible(Disable) which is unexpected behaviour of webpart and for the same we need to add a new webpart. so can anyone help me on this problemThanks,Estore<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nHello,I&#8217;ve been trying to setup a new instance of Windows Sharepoint Services with Commerce Server 2009 default site and having a few problems.Setup:Windows Server 2003 EnterpriseSQL Server 2005 StandardWindows Sharepoint ServicesCommerce Server 2007 (Standard)Commerce Server 2009 RC1VS 2008 Team StudioI used the configuration wizard to unpack the site with webparts and then I went through the post deployment options in the microsoft 2009 installation guide. After fixing a few permission erros I<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\n\u00a0We have extended Microsoft.CommerceServer.Runtime.Orders.LineItem object. According to documentation, if Commerce Server objects have been extended, Mojave translators needs to be extended, to be properly handled by Commerce Server 2007 Code Name Mojave. So, we extended Microsoft.Commerce.Providers.Translators.LineItemTranslator. As per documentation, we need to override 2 methods.TranslateToStronglyTypedCommerceServerProperty and TranslateFromStronglyTypedCommerceServerProperty. We have extend<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.msdn.microsoft.com\/dn186180.LOGO_Win1211(id-id,MSDN.10).png\" \/><br \/>\nmsdn<br \/>\ncommerce-server-forums commerce-server-2009<br \/>\nHi this is Chen,\u00a0I&#8217;m working in Microsoft Commerce Server 2009. I had made all basic installation and configuration settings to work in cs2009. I&#8217;m usingWindows Sharepoint Services 3.0 as a presentation frent end. I created some Sharepoint Applications in WSS 3.0 and its working fine. Incontemporary site deployment, I\u00a0followed the documentation , unpacked the site, and made configurations in it. While loadingSharepoint Commerce Services configuration wizard i got the issue &#8220;Object<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>msdn commerce-server-forums commerce-server-2007 We&#8217;ve implemented a custom profile using Commerce Server Manager and our site is based on the StarterSite framework.\u00a0 In the ProfileBase class, this function: protected static T GetProfileObject&lt;T&gt;(Guid id, ProfileBase parentProfile) where T : ProfileBase{T returnValue = default(T);if (!id.Equals(Guid.Empty)){ProfileInformationAttribute attribute = GetProfileInformationAttribute(typeof(T));CommerceProfile profile = ProfileSystem.GetProfile(attribute.IdPropertyName, id.ToString(&#8220;B&#8221; msdn commerce-server-forums commerce-server-2007 We recently installed [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3833","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3833","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3833"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3833\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}