Saturday, May 17, 2008

Commerce Server 2007: On-Demand Webcasts!

The Commerce Server team has put together three new on-demand webcasts to get everyone started developing their solutions. http://www.microsoft.com/technet/prodtechnol/comm/2007/webcasts.mspx

Commerce Server 2007: Technical Overview Whitepaper

Microsoft has recently released their Microsoft Commerce Server Technical Overview document packed full of excellent information for those of you evaluating Commerce Server 2007. http://www.microsoft.com/downloads/details.aspx?FamilyID=039be1c3-8590-4943-8d20-b605e4a61f11&DisplayLang=en

Commerce Server 2007: Partner SDK Now Available

The Commerce Server 2007 Partner Software Development Kit (SDK) is now available for download (registration required).
http://www.microsoft.com/downloads/details.aspx?FamilyID=ccbdad9a-ab38-46c3-9667-9bfceedbbe88&DisplayLang=en

Wednesday, May 14, 2008

Shipment by Weight

When you use commerce server 2007, you can calculate shipment by 3 ways:
1. Shipment by Total
2. Shipment by Quantity
3. Shipment by Weight.

If you tried to use shipment by weight you will face problem because weight is not default property of products.
You need to define weight property and add it to products needs shipment by weight.
if you run total pipeline against basket and you have item hasn't weight property and you assigned shaipment by weight to it, you will find error:
Not found: orderform.items (0). _product_weight. This shipping method requires that all products in the catalog define weight.

This error occurs if:
1. you didn't have weight property of product definition.
2. You didn't fill it's value(null).
3. you didn't add correct information about product (CatalogName, ProductId, VariantId).
4. You didn't run basket pipeline before run total pipeline.

Thursday, May 8, 2008

Commerce Server/IIS: File or assembly name Microsoft.CatalogServer, or one of its dependencies, was not found.

This typically means that you need to configure your site to use v2.0 of the .NET framework. aspnet_regiis -i is one way, another is to manually switch to 2.0 in the ASP.NET tab of the sites IIS property window.


Server Error in '/CatalogWebService' Application.
--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: File or assembly name Microsoft.CatalogServer, or one of its dependencies, was not found.
Source Error:
Line 75: <compilation>
Line 76: <assemblies>
Line 77: <add assembly="Microsoft.CatalogServer, Version=6.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 78: </assemblies>
Line 79: </compilation>


Source File: C:\WebSites\CSAdmin\CatalogWebService\web.config Line: 77