commerce-server-forums,commerce-server-2009Related issues-Collection of common programming errors


  • msdn
    commerce-server-forums commerce-server-2007
    We’ve implemented a custom profile using Commerce Server Manager and our site is based on the StarterSite framework.  In the ProfileBase class, this function: protected static T GetProfileObject<T>(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(“B”

  • msdn
    commerce-server-forums commerce-server-2007
    We 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…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.

  • msdn
    commerce-server-forums commerce-server-2009
    We’re trying to import a catalog that has changes to the schema, including new properties and changes to existing property definitions.  The import fails in under 60 seconds with and the error reported for the operation is:  “Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Warning: The table “CatalogName_Catalog” has been created, but its maximum row size exceeds the allowed maximum of 8060 bytes. INS

  • msdn
    commerce-server-forums commerce-server-2007
    If I have to set up price point discounts, i.e. everything in this category is $99, I know I can’t do this in Marketing Manager (out of the box) where do I start custom development? Has anyone done this? Want to share?

  • msdn
    commerce-server-forums commerce-server-2007
    I 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:                   CatalogRelationshipsDataSet relatedProducts = product.RelatedProducts;foreach (CatalogRelationshipsDataSet.CatalogRelationship relatedProduct in relatedProducts.CatalogRelationships){product.RemoveRelationshipToProduct(catalogN

  • msdn
    commerce-server-forums commerce-server-2009
    Can 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

  • msdn
    commerce-server-forums commerce-server-2009
    Recently 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.   at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl,

  • msdn
    commerce-server-forums commerce-server-2009
    Using 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’m writing some basic  basket operations which yield unexpected results.I’ve started off by writing an CommerceUpdate to create a Basket (is this the best approach to create a basket?):            var basketQuery = new CommerceUpdate<CommerceEntity>(“Basket”);            basketQuery.SearchCriteria.Model.Properties.Add(&quo

  • msdn
    commerce-server-forums commerce-server-2009
    Hi 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 “An unexpected error occurred.”I’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

  • msdn
    commerce-server-forums commerce-server-2007
    When 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..   at System.EnterpriseServices.ServicedComponentProxyAttribute.CreateInstance(Type serverType)   at System.Runtime.Remoting.Activatio

  • msdn
    commerce-server-forums commerce-server-2009
    We’re trying to import a catalog that has changes to the schema, including new properties and changes to existing property definitions.  The import fails in under 60 seconds with and the error reported for the operation is:  “Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. Warning: The table “CatalogName_Catalog” has been created, but its maximum row size exceeds the allowed maximum of 8060 bytes. INS

  • msdn
    commerce-server-forums commerce-server-2009
    Can 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

  • msdn
    commerce-server-forums commerce-server-2009
    Recently 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.   at Microsoft.SharePoint.Library.SPRequestInternalClass.OpenWebInternal(String bstrUrl, Guid& pguidID, String& pbstrRequestAccessEmail, UInt32& pwebVersion, String& pbstrServerRelativeUrl,

  • msdn
    commerce-server-forums commerce-server-2009
    Using 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’m writing some basic  basket operations which yield unexpected results.I’ve started off by writing an CommerceUpdate to create a Basket (is this the best approach to create a basket?):            var basketQuery = new CommerceUpdate<CommerceEntity>(“Basket”);            basketQuery.SearchCriteria.Model.Properties.Add(&quo

  • msdn
    commerce-server-forums commerce-server-2009
    Hi 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 “An unexpected error occurred.”I’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

  • msdn
    commerce-server-forums commerce-server-2009
    Hi All,I have deployed the wsps after did the modifications in the “sharepoint commerce” 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 “Index was outside the bounds of an array”.iam unable to start the wizard. in event log also, no error description is showing.Error: “An unexpected error has occured “Index was outside the bounds of an array&

  • msdn
    commerce-server-forums commerce-server-2009
    Hi,Actually when we are trying to edit the master page CSS of Ecommerce site the default webpart gets 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

  • msdn
    commerce-server-forums commerce-server-2009
    Hello,I’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

  • msdn
    commerce-server-forums commerce-server-2009
     We 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

  • msdn
    commerce-server-forums commerce-server-2009
    Hi this is Chen, I’m working in Microsoft Commerce Server 2009. I had made all basic installation and configuration settings to work in cs2009. I’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 followed the documentation , unpacked the site, and made configurations in it. While loadingSharepoint Commerce Services configuration wizard i got the issue “Object

Web site is in building