2008-08-27

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

if commerce server virtual catalog rebuilds are failed


In order To Restart Your Catalog Import Component follow these instrucations
Administrative Tools > Component Services > Computers > My computer
> COM+ Apps > Commerce Server Catalog Import Host



  1. Right click, then click on "Shutdown" this will make the spinning ball stop, thus COM+ component is not functional now.

  2. "Start" command restarts your catalog import component.

2008-08-18

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

failed to rebuild virtual catalog

Hello to all Commerce Server developers and users,

I have solved my "failed to rebuild virtual catalog" problem. When i have inspected the EventLog>Application or StarterSite_productcatalog.dbo.CatalogStatus table i saw nothing then the error "Failed to rebuild virtual catalog." message.

I have opened and read the error log file of the sql server from the following path:
C:\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\ERRORLOG
I realized that there were a restriction to the database's data file size, when i noticed the following error in the log:

2008-08-15 17:06:05.32 spid218 Could not allocate a new page for database 'StarterSiteSecond_productcatalog' because of insufficient disk space in filegroup 'PRIMARY'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.

I have opened the Microsoft Sql Server Management Studio, right clicked on the db, opened the Files section, in the autogrowth column i have clicked the "..." captioned button and adjusted the autogrow settings to:
Grow by %10 percentUnrestricted file growththen clicked OK, and my problem was solved.

By the way, if someone else will implement this solution be aware of your disk space, if free space vanishes then your database server will not function correctly. That's why please do not forget to setup "Maintenance Plans" taht will shrink the data files and also transaction log files periodically.

2008-08-16

Alen Ziver Malhasoglu's New Microsoft Commerce Server Blog

Garter Report on "Magic Quadrant for E-Commerce"

reference: http://ravikk.spaces.live.com/blog/cns!F348D7145D1BE6C2!517.entry
referance: http://mediaproducts.gartner.com/reprints/microsoft/vol4/article1/article1.html

Info about CS pipeline logs

Quoted from: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3642493&SiteID=1

"I had problems with this and tried to find something to assist. In the end I just opened the log in notepad/wordpad.

This is a snippet from a cuistom component I wrote and inserted:

1. PIPELINE:++ component[0x4] about to be called ProgID: Commerce.ShippingDis
2. RootObject: ReadValue Items VT_DISPATCH PV=[0x4dd8220] VT_EMPTY __empty__
3. RootObject: ReadValue _cy_shipping_total VT_CY 4.95 VT_EMPTY __empty__
4. : ReadValue _orderlevel_discounts_applied VT_DISPATCH PV=[0x4d89dc0] VT_EMPTY __empty__
5. : ReadValue _cy_orderlevel_discounts_subtotal VT_CY 0 VT_EMPTY __empty__

I've highlighted key values/amounts and the name of the method.

Basically line1 identifies the pipeline component that is called.
line2 is reading through the root 'Items' collection
line3 is reading a value for _cy_shipping_total as 4.95 which is of type currency (VT_CY) etc etc

Hope thats a start :-)

Bobo999"