Archive for the ‘MS CS 2007’ Category

Integrazione MS Dynamics CRM 4.0 e MS Commerce Server 2007

January 9, 2010

Al momento posso soltanto suggerire due aziende che forniscono soluzioni di integrazione tra MS Dynamics CRM 4.0 e MS Commerce Server 2007: Project Thunder e SmartCatalog.

Faccio riferimento alla SDK del prodotto per ulteriori informazioni.

Commerce Server 2007 SP2 Partner Software Developer Kit (SDK)

Link correlati.

Commerce Server 2007 Product Overview

Commerce Server 2007 Starter Site – Release 2


Domande su Commerce Server 2007

January 6, 2009

CS2007 è un software elastico che si adatta a diverse esigenze di marketing, campagne, promozioni, ecc.. oppure è un programma piuttosto rigido?
CS2007 è un software prevalentemente per il commercio elettronico che comunque si può adattare a diverse esigenze tramite la personalizzazione:
Commerce Server 2007 Product Overview
è possibile realizzare soluzioni di siti di tipo B2B e B2C ?
Si, CS2007 permette di realizzare tali soluzioni:
Commerce Server 2007 Frequently Asked Questions
 Q. What is Commerce Server 2007?
A. Commerce Server 2007 provides a set of tools for the Web site developer, the IT professional, and the business user to help develop, deploy, and manage e-commerce applications.
Microsoft Commerce Server 2007 provides a comprehensive solution for many business scenarios, including:
Business-to-consumer (B2C) sales of tangible or digital goods or online service delivery.
Business-to-business (B2B) scenarios, such as e-procurement and trading communities.
B2X scenarios, combining Business to Consumer (B2C) and Business to Business (B2B).
Self service portals using catalogs, profiles, or content targeting for personalized information delivery.
è possibile personalizzare la parte grafica del front office (vetrina del negozio), oppure non è previsto la personalizzazione di temi o skin?
E’ Possibile personalizzare la parte grafica tramite i tool di sviluppo:
sarà disponibile la versione italiana? Entro quando?
Le lingue disponibili sono Inglese, Francese, Tedesco e Giapponese.Non ci sono informazioni in merito ad una possibile localizzazione in lingua Italiana
esistono bug nella versione 2007?
In questa KB sono presenti tutti i bug presenti e corretti con la service pack 1:
List of the bugs that are fixed in Commerce Server 2007 Service Pack 1
è compatibile con i maggiori gateway di pagamento delle banche italiane ?
Commerce Server provvede un framework per aggiungere codice personalizzato per i tipi di pagamento(es Payment Getway). All’interno del file Checkout.pcf, è presente  il componente PaymentMethodRouter. Per maggiori informazioni:
ranking motori di ricerca: come si comporta CS2007? E’ elastico da aggiornare in tal senso? E’ possibile interagire con le sue pagine al fine di ottimizzarle per migliorare il posizionamento del sito quando vengono utilizzati i motori di ricerca?
CM2007 e completamente personalizzabile da questo punto di vista.

Microsoft Commerce Server Webcasts on TechNet

How to evaluate Commerce Server 2007

October 10, 2008

 The real quick installation guide from

Have you looked at the ”quick” installation guide for Commerce Server 2007?

21 pages of step by step instructions?

Most customers I know just sort of wing it trying to get Commerce Server going and then run into problems because they missed a step.

I needed a Commerce Server 2007 with a Starter Site that I can get up quickly, that I know works, and that I can let the customer change as a Proof of Concept. One option is to give him a virtual machine with everything already installed, but I then I have two options:

1. If I make the machine using evaluation software, next time I want to use the virtual machine much of the time periods are just about to expire.

2. If I use my own versions of software, I cannot leave the virtual machine with the customer. Plus I would like to teach him how to install and change his own machine.

For some situations it is enough to use the virtual labs for Commerce Server, but see that they do not have the Starter Site installed. If I just want to check something on the CSharp site, they are the quickest way I know: (see previous blog)

So here is the real quick installation guide we use in class.

What makes it real quick is that we have already downloaded everything we need onto a USB disk! The 30 days evaluation only starts with Step 1 and with a MSDN Windows 2003, is easily extensible to 120 days. (1 year if you use MSDN Commerce Server and Visual Studio).

Step 0 Download

Download everything you need. This is the longest part of the procedure, but only has to be done once! In class we go directly to step 1.1.

0.0  Download Microsoft Virtual PC 2007 (30MB)

? Why not VMWare? Because we want to use the evaluation Virtual machine from Microsoft with Windows 2003 and SQL 2005 Preinstalled.

? Why not Virtual Server 2005 FP1? Because most of our developers have workstations.

? I have Virtual PC 2007 already installed, but I have some students who bring their own laptops, and so loaded this down all the same.

0.1 Download Visual Studio 2005 Professional Edition 2005 90 Day Trial (2734.3 MB)

We had a DVD already with 180 Day Trial, and just uploaded to disk to speed up the installation. If our students have a MSDN licence, then we use that version.

0.2 Download the Commerce Server 2007 Evaluation Edition 120 Day Trial (62.0 MB)

Save yourself time later and unpack this file now.

If our students have a MSDN licence, then we use that version.

0.3 Download Microsoft Windows 2003 SP2 (62.0 MB)

This came out after the release of Commerce Server, but rolls up many of the smaller patches mentioned in the long installation instructions.

0.4 Download Microsoft SQL 2005 SP1 (252.7 MB)

0.5 Download ASP.NET Fix (KB913393) (34MB)

Save yourself time later and extract KB913393.exe from the CAB file now.

0.6 Download ADO .NET Fix (5MB)

0.7 Download the Starter Site (1MB)

Save yourself time later and unpack this file now.

0.8 Download the IIS 6.0 Resource Kit (5,8MB)

0.9 Download the Evaluation Virtual machine from Microsoft with Windows 2003 and SQL 2005 Preinstalled. (3504.9 MB)

This is the big one! I left it running overnight. Extract the files by clicking on the EXE, but do not start the virtual machine. This step took me 13 minutes. Make a copy now of the extracted files, if something goes wrong during activation you will not have to load them down again.

? Would it not be quicker to create my own virtual machine? As long as you have Windows 2003 installed and the whole of SQL 2005 including Reporting and Analytics, this is fine. But we have done our testing on the Evaluation Virtual Machine we downloaded

? I do not want my version to expire in 30 days. You are given an opportunity later to give a MSDN Windows key, so that the Windows version will not expire.

0.10 Create a virtual disk in an existing Virtual PC using the Wizard. Copy all the downloaded and extracted files from 0.2 to 0.8. into this disk.

Step 1 Preinstallation

1.0 Install Virtual PC 2007, if needed.

1.1 Setup and Start the Virtual PC (3 minutes).

In Virtual PC, run the wizard for new virtual computer. Use an existing virtual computer and point to the vmc file you extracted under Step 0.9. Leave the box checked to enter the configuration. You will get an error message that it is expecting Virtual Server. Click the box not to show this message again and OK. Click Settings and adjust the memory to 700MB or more. Click on Disk2 and link the installation disk you created on Step 0.10. Then, start the Virtual Machine

1.2. Sign in as Administrator and password Evaluation1. Use disk manager to give a drive letter to the installation hard disk.

1.3. Apply Windows 2003 SP2. 20 minutes. Restarts.

1.4 Apply SQL Server 2005 SP1. 20 minutes

1.5 Install Visual Studio 2005. 13 minutes

To speed up the installation I deselected the following:

Visual Basic,

Visual C++

Visual J++


Tools for Redistibuting

Crystal Reports

SQL Express Edition

Optional (Install MSDN 15 min)

1.6 Add the following components: (2 minutes)

Indexing Service

Application Server: ASP.Net, DTC

Application Server, IIS: FTP, SMTP Service

When you are asked for the CD browse to the c:\WindowInstallationFiles

1.7 Add the following components:

Run the KB913393.exe from the installation drive you made in step 0.10. (1 minute)

Run ndp20kb916002-x86.exe from the same installation drive (2 minutes) Reboots.

1.8 Add the administrator to the IIS_WPG.

Change the identity of the DefaultAppPool to Administrator

Do this first so can benefit from reboot

2.0 Install Commerce Server 2007

Select all options. It will not reboot. 8 minutes. Uncheck the box for configuration wizard.

Install the Business User Applications ( 1 minute)

Configure Commerce Server with the default options.(but I checked the box for create Virtual Root for staging). Ignore the warnings about Admin privileges and ASP net. (1 minute)

Use the Commerce Server Site Packager and unpack the StarterSite. (4 minutes)

2.1 Create the ASP.NET login in SQL2005 and give him the db_reader role for MSCS_Admin

2.2 RunIS60rkt.exe from the Installation drive.

Select Programs>IIS Resources > SelfSSL > SelfSSL

From the command prompt type selfssl /t /V:400

2.3 Now import the Starter Site catalog. (1 minute)

From the Install drive, where you had the starter.pup file.


Sampledataimport c:\Inetpub\wwwroot\StarterSite

And you are done! The installation itself takes just over an hour, which is doable in class. What is not possible in class of 10 students is to expect students to follow 21 pages, and have each student with an installation that works.

Perhaps having everything running as adminstrator might be strange, but wasn’t that the way we always used to build evaluation software before? In class, I first demo the working software, and the starter site. When the students are confident that their virtual machine works, we then introduce your favorite utility Azman and start locking things down.

I don’t expect that even my 4 page SpeedSmith Installation is without bugs, but I think it is a foundation to build upon. Let me know what you find. I will add blog entries for bugs I find in class. Can we speed it up still further? Windows 2003 SP2 is not strictly necessary, we could do individual hotfixes and save the 20 minutes, but that sounds like a temporary solution. We also want to do some performance tests with updating the virtual machine utilities.

Deploying Commerce Server 2007 Sites without Site Packager

April 13, 2008

From my initial investigation Site Packager’s evolution has been unclear in the latest release of Microsoft Commerce Server.  One of the most obvious holes was the lack of documentation and support for command-line deployment.  While there has been some improvement in this latest release, it still feels like we are working with a tool from the previous generation. 

When Site Packager has failed for me in the past it’s often a cryptic inexplicable error that requires opening a support case or too many hours figuring out what has changed.  It would have been really nice to see a set of MSBuild tasks for deploying Commerce Server sites in this release.  But I guess the line needs to be drawn somewhere when it comes to scope.

To give you a little more flexibility I’ve put together a site configuration tool with few scripts and a batch file to show you how to deploy a Commerce Server 2007 site without the use of Site Packager.  You will see how to deploy a site along with a number of other key automations for deployment (e.g. SQL script execution, IIS permissions, AzMan role management, etc…). Now, this is going to fall in the realm of being “unsupported”, but the APIs in use are those that are used by Commerce Server to update the site configuration information. 

In the future I may spend more time to test the re-packaging of a site deployed with this tool, but I can’t guarantee it.  I’m pretty much resigned to the fact that Site Packager is in need of a complete re-write.

Here’s a brief rundown of what is in the package:

  • CreateSite.cmd – Create a site similar to the Starter Site Installation Guide instructions.
    • Create user accounts
    • Create user groups
    • Assign users database login and administrative database rights.
    • Create a new Commerce Serer site
    • Create the databases and resources for the site (Transactions, Transaction Config, Product Catalog, Inventory, Marketing, Profiles, CS Authentication)
    • Create, configure, and secure the main web site (bin, Pipelines folder lockdown, web.config updates)
    • Create, configure, and secure the web services (folder lockdown, web.config updates)
    • Import Starter Site sample data
  • SiteConfig.exe – Create, delete, modify, and compare Commerce Server sites and resources.
  • AddAzManRoleMember.vbs – Add a user or group to an Authorization Manager store.
  • CreateAppPool.vbs – Create an IIS6+ Application Pool
  • CreateCSApp.vbs – Create a CSApp.ini file
  • ProfileSchema.sql – SQL-ized version of the Profile Schema and Site Terms XML sample data (too bad there isn’t a command-line import for the XML like there is with ImportCatalog.exe)
  • SearchReplace.vbs – Search and replace strings in files using regular expressions.

A few assumptions to note about the package:

  • I’m assuming scripts, batch file, and binary are in the Tools folder of the Commerce Server installation.
  • I’m assuming that you have your core site and web services files in their file spot on the disk.
  • The batch file is built around the SQL Server residing locally for testing purposes.  If your production configuration is different you should be able to easily modify the batch file to work with a remote server.

I’ve tested in on a pretty standard Windows Server 2003 R2 image with IIS, Commerce Server 2007 Developer Edition, and SQL Server 2005 Developer Edition.

How to Enable MSDTC on a Web Server

April 11, 2008

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

This topic provides steps for enabling network Distributed Transaction Coordinator (DTC) access and Microsoft Distributed Transaction Coordinator (MSDTC) on each of the Web servers. You should first enable DTC, followed by MSDTC.

  1. Click Start, point to Control Panel, and then click Add or Remove Programs.
  2. Click Add/Remove Windows Components.
  3. Select Application Server, and then click Details.
  4. Select Enable network DTC access, and then click OK.
  5. Click Next.
  6. Click Finish.

  1. Click Start, point to Programs, point to Administrative Tools, and then click Component Services.
  2. In the Component Services window, in the left pane, expand Component Services, expand Computers, right-click My Computer, and then click Properties.
  3. In the My Computer Properties dialog box, on the MSDTC tab, in the Transaction Configuration section, click Security Configuration.
  4. In the Security Configuration dialog box, select or verify that the following features are enabled:
    • In the Security Settings section, enable Network DTC Access, Allow Remote Clients, and Allow Remote Administration.
    • In the Transaction Manager Communication subsection, enable Allow Inbound and Allow Outbound, and select No Authentication Required.
    • Click Enable XA Transactions.

    Click OK.

  5. In the My Computer Properties dialog box, click OK.
  6. Repeat steps 1 through 5 on the other Web servers.
  7. Use DTCPing.exe to validate the connection between the Web server and the SQL server or SQL cluster depending on your configuration. To obtain the DTCPing.exe tool, visit