Monday, December 7, 2009

First online Commerce Server User Group Meeting

We will be having our first online Commerce Server User Group Meeting on Wednesday 30 December, 2009.

Please see the Commerce Server User Group page for further details.

Tuesday, August 18, 2009

Well done Microsoft Switzerland!

Microsoft Switzerland put on a Commerce Server 2009 day for their partners. This was the program:

Commerce Server Day - Switzerland
Morning (0900-1200), Sales content
Module 1:
Trends, Sales Strategies, Solutions
• Key e-commerce market trends
• Roadmap and history
• New Commerce Server 2009 features
• How to sell Commerce Server 2009

Module 2
PreSales Consulting
• Understand the positioning
• Avoid the pain points
• Building a basis for a successful project.
• Cross sell, BizTalk, SharePoint
• Reference Cases, Marketing Materials

Afternoon (1300-1700), Technical content
Module 3
· Architecture
· Subsystems, Catalog, Inventory, Profiles, Orders, Marketing
· Data Warehousing
· Staging

Module 4
· SharePoint Commerce Services
· Commerce Server Foundation
· Integration to BizTalk
· Performance
· Resources

The partners were of high calibre, and had a number of customers evaluating Commerce Server 2009, and went deeply into performance issues and the aspx vs SharePoint issues. It would be great we could have a similar day in the neighbouring countries also.

Tuesday, August 11, 2009

Thanks Max!

Max reports on his site that he is winding up his Commerce Server business. http://www.maxakbar.com/blog.aspx?id=23. We had talked about this back in June but he asked me to keep it to myself for a while.

I would like to thank him for all his work for the Commerce Server community and wish him well for his new endeavours. I personally have learned a lot from him, particularly in the area of pipelines. Thanks Max!

This means that Commerce Server 2009 training is now pretty thin on the ground, so I have been expanding our presence in North America to make up the slack. We have a great new CS2009 training manual, running to about 1000 pages, and it seemed to work well in class. We were a little ahead of ourselves, our labs included BizTalk 2009, but fortunately this is now supported.

Tuesday, July 7, 2009

Commerce Server 2009 R2 (CS 2010)

Tried out R2 today. Since R2 is 64 bit only it had to wait until I had finally got myself a 64 bit laptop and installed Windows 2008 and HyperV. The installation went well, was the way it should be without the old complexity that a CS2009 installation must have CS2007 installed. (That said, I didn 't find any migration options.) Was a little puzzled that the IIS 7 still had to have IIS 6 compability installed, surely we can make a clean break here. Haven't tried the new Business toolbar yet, that is next on my list. The broker still can't do authentication so the dream of a true CS application server must wait a little longer.

Wednesday, July 1, 2009

Commerce Server User Group

We formed the Commerce Server User Group last week. Meetings will be held online. We have members from 4 countries so far: US, Denmark, France, Germany. Details here: http://www.software-smith.com/usergroup.htm

Thursday, May 28, 2009

Commerce Server Book Released and Available!

I finally got my Commerce Server 2007 book back from the printers today. Here is the information how to order.

Saturday, May 23, 2009

Adding the path to stsadm

I often need to quickly set run a stsadm machine on a virual machine where the path has not been set up. Here is the command ready to cut and paste to save time:

PATH=%PATH%;"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"

Thursday, May 21, 2009

Upgrading Windows 2003 Evaluation Edition to Enterprise Edition

have a large number of virtual pc's, some of which were installed with the evaluation edition of Windows 2003. I tried to upgrade some of them recently to Windows 2003 Enterprise with SP2. Basically there is no upgrade option, one does a repair using the Windows 2003 disks. However I kept getting the message that the repair could not find install.exe on disk 2. This file does not exist on disk 2. The workaround is to uninstall the .Net framework 2.0 and upgrade and then reinstall the framework afterward.

Update: I have also succeeded without uninstalling the .Net framework 2.0. I have unpacked the .Net framework and pointed the Windows 2003 to this install.exe file when it asks. Installation works fine, but I likely because I have 2.0 SP2 I have found that I also have to repair the framework after installation.

Tuesday, April 21, 2009

Microsoft SharePoint Courses

There used to be just two (not very well designed) SharePoint MOC courses, one on WSS, one on MOSS. They can be great courses if the instructor does a lot of extra work. Now there is an explosion of SharePoint courses on the Microsoft courseware library. Some are excellent, some do not work at all.

MOC courses.
MOC 5060
WSS I have given this one. Needs quite a bit of work to make it into a great experience for the student.
MOC 5943 German version of 5060. No extra problems in the German version.MOC 5061 MOSS. Same problems as 5060.
MOSS 5945 German version of 5061. Need to check first if administrators really use the German version of SharePoint.
MOC 6438. This is the 5060 using Windows 2008 instead of 2003.

Courseware Library
Wherever there is no vpc for a course, this means quite a bit of work to set up the labs and make sure they work.
50003A Customizing and Extending Enterprise Content Management Solutions No vpc. 1 day course.Lab on reusable content should work fine, just need to make some other pictures available.Lab on creating a custom field control should be fine, there is one in the SDK, or can use the one from Andrew Connell's book.Labs on exporting content with sts admin and record management should work.Ditto with labs on user look and feel and navigation.Master pages lab will need litware.jpg, there is one in the CD for Inside MOSS.
50004A Implementing Advanced Portals and Collaboration Solutions No vpc. 1 day.500026 Hand on Labs. Note the vpc has expired
500046- Mindsharp Programming no vpc. Much typing, cannot cut and paste from pdf.
50047A Advanced IT Pro Course for Microsoft Office SharePoint Server 2007 and Windows SharePoint Services 3.0. Vpc works, put needs powerful hardware.
50048A Enterprise Search Solution Architect Workshop. No vpc
50049A Architecting Web Content Management Solutions with Microsoft Office SharePoint Server 2007 with vpc Same vpc as 50049A. Too many discussion labs, but useful labs on Content deployment, Compression caching and Customizing the page editor toobar.
50050A Architecting Documents and Records Management Solutions with Microsoft Office SharePoint Server 2007 Same vpc as 50049A.
50051A Architecting Microsoft Office SharePoint Server 2007 Portals and Collaboration Solutions same vpc as 50049A.
50064B Advanced SharePoint Development (with vpc)
50146A SharePoint 2007 Programming Part II (no vpc)
50149A SharePoint Operations (with vpc).
50196A Site Owner/Power User (no vpc)
50204A Search Customization (no vpc)
50205A Web Dev No vpc.
50207A, 50208A, 50209A Sharepoint Designer Like Penny's book. No vpc.50227A End User. No vpc.
50228A Sharepoint Governance. No vpc.

Tuesday, March 10, 2009

Personalization of the Business Managers

You have likely noticed that each of business applications stores the connection information to the web services. Where do they store this information?

The Catalog Manager stores the information in a file at a path similar to the following: C:\Documents and Settings\Administrator.ADVWORKS\Application Data\Microsoft\Commerce Server Catalog Manager\CatalogManager2007_UserPreferences.xml
Here is a sample of the xml from my machine. You can see that apart from the connection to the web services most of the other settings have to do with settings changed by the Column Chooser.

Here is the url to the Catalog Schema Manager preferences.
C:\Documents and Settings\Administrator.ADVWORKS\Application Data\Microsoft\Commerce Server Schema Editor\CatalogAndInventorySchemaManager2007_UserPreferences.xml
Here is a sample of the xml from my machine.

The other managers store their preference files at quite a different place.
Customer and Order Manager stores its preferences here:
C:\Documents and Settings\Administrator.ADVWORKS\Local Settings\Application Data\Microsoft_Corporation\CustomerAndOrdersManager._StrongName_3mb1ccmqsifja4zex4l3jyde4dcgmrof\6.0.1.0\user.config
Here is a sample of this file.

Marketing Manager stores its preferences here: C:\Documents and Settings\Administrator.ADVWORKS\Local Settings\Application Data\Microsoft_Corporation\MarketingManager.exe_StrongName_kxy0aqggpha01yxhz4sldhsz3p2hukkw\6.0.1.0\user.config
Here is a sample of this file (renamed to Marketing.user.config)

Friday, March 6, 2009

Commerce Server 2009 RTM product images not displaying

I found that I had to make the following tweaks to the default site to get product images to display:1. Add the Image_FileName property to the ImageViewer web part on the Product Page.2. Correct the spelling Image_FileName in the Product Query template. Doubtless because my vpc has been updated all though the beta cycle, but wanted to post it here in case someone else had the same problem.

Wednesday, March 4, 2009

Commerce Server 2009 released

Commerce Server 2009 RTM was released on MSDN last night. Installed it this morning and have it working

Sunday, February 22, 2009

First Commerce Server 2009 course!

We are giving a combined CS2007 and 2009 course on the 9th to 11th March. We have delegates from the Netherlands and Sweden. We will take half a day and cover the delta between 2007 and 2009 as well as SharePoint architecture

Sunday, February 15, 2009

Commerce Server 2009 and Developer Edition

You cannot upgrade a Developer edition of Commerce Server 2007 to 2009. You have to first upgrade the Developer edition to the Enterprise Edition.That means (after packaging and backing up databases):Uninstall Dev, install Enterprise, Run SP1, Run Config Wizard.You can get the Enterprise Edition for free if you have an MSDN subscription.I do not see this as a big problem for us as a training center, I have not come across a student who does not have access to MSDN. This is the recommended method.

We do not recommend changing the key:
/HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Commerce Server 2007
to have productName: Microsoft Commerce Server 2007 Enterprise Edition and SKU: ENT.
This will leave your machine in an unsupported state!

Thursday, February 12, 2009

PerformancePoint 2007 Planning module is not dead yet

Since Microsoft announced discontinuing the PerformancePoint 2007 Planning module, we are considering rebuilding the Planning module and offering it as a standalone product. But first we have to establish that there is a business need for it. If you think this product would be useful to you, please drop me an email. If you think that you would like to help with creating this product we would also like to hear from you. The Microsoft team has encouraged us, but cannot offer support. Please email pps at software-smith.com

Update: Microsoft has made the source code for the planning module available. See http://bieasystreet.wordpress.com/2009/06/23/financial-planning-accelerator/

Tuesday, February 10, 2009

Video - Using Visual Studio 2008 and Workflow

Here is my video in from the Sharepoint Konferenz. As you can see from the spelling of "Konferenz", the video is in German.

Saturday, February 7, 2009

How to change the currency of the Starter Site

The Starter Site documentation tends to lead you astray here, most people start trying to change the catalogs without success. The answer is to change the Web.config from

commerceComponents baseCurrencyCode="USD" baseCurrencyCulture="en-US"

to (for example)

commerceComponents baseCurrencyCode="EUR" baseCurrencyCulture="de-DE"

Sunday, February 1, 2009

Video - How to Skin the Starter Site.

Still waiting for Microsoft to release my Commerce Server 2007 video. I have cached it here until it appears on MSDN.

Friday, January 30, 2009

Virtual Lab Broken

The MSDN Virtual Lab: Customization and Extensibility with Commerce Server 2007 lab has the lab manual as a blank page. Not too useful. As a public service I am caching it here, until the lab is fixed

Thursday, January 22, 2009

Another Software-Smith video on MSDN.

Just wanted to give you a link here to my video on MSDN. It explains how to use SharePoint backup and restore.

Tuesday, January 20, 2009

My SharePoint video on MSDN

Just wanted to give you a link here to my video on MSDN. It explains how to use Sharepoint workflow with Visual Studio 2008. I also created a Commerce Server 2007 video but it seems to have disappeared into the MSDN cellars.

Sunday, January 18, 2009

Getting Virtual Server running under Vista Home Premium

Virtual Machines are essential part of life in the Commerce Server/Sharepoint space. I have been working on getting several Virtual Machines running at the same time and need them as fast as possible. I need them for some demos for Sharepoint courses that I am giving for Mindsharp/Combined Knowledge and also for some Microsoft internal Sharepoint training courses I am teaching for the Microsoft field engineers in London, Paris and Munich. Of course, I also need a fast Commerce Server 2007 virtual pc.

My first step was to get a laptop with enough memory, I chose a Lenovo 3000 N200 TY2BEGE with 3GB RAM for Euro 699,00 from www.cyberport.de First surprise, the internet price was 729,00 in spite of having the latest printed catalogue. But still seemed reasonable, about GBP 540,00 or $1070, including tax. The laptop and the memory arrived separately, but it was easy enough to install. Seemed reasonable to buy 3GB, does not seem that buying 4GB would let me address more than 3GB at present with 32 bit.

Next step, operating system. XP or Vista? 32 or 64 bit? Since my laptop came preinstalled with Vista Home Premium 32 bit, I took a deep breath and said to myself, let me work for a while with Vista, if I becomes necessary to install a new operating system and hunt down the drivers, I can always start from scratch later. I have almost all my data on USB drives, so I can work from almost any machine. My concern with Vista was that it would eat up memory that I could use more effectively in my virtual machines. But I decide to bite the bullet for now. (or in German there is an idiom about biting sour apples, but it doesn’t make any more sense!). The difficulty with drivers when I noticed a web cam on the laptop although it was not mentioned in the documentation, the reason being, there is no driver for this hardware under Vista.
Next step, which virtual machine software to use. I basically have to stick with Microsoft software rather than VMWare, since I do so much training and consulting for Microsoft. Also as a Microsoft Certified Trainer, I am supplied virtual machines prepared and tested for Virtual Server. Running several machines at once would push me in the direction Virtual Server 2005 R2. I will miss the dragging and dropping of files to the desktop feature that in Virtual pc 2007 has.

But have you ever tried to install Virtual Server under Windows Vista Home? You straight away get an error message that this is not supported. No problem, thought I and clicked through the error messages, expecting it to install anyway. But instead it aborted the installation. Googled and found contradictory info if installation was possible or not. Got the tip to try installing IIS. Here are the Windows features I switched on under IIS: (under Web management tools)IIS Management console(Under IIS 6 Management compatibility) IIS Metabase and IIS 6 configuration compatibility IIS 6 WMI compatibility(Under WWW services) Common http features (all) Application development features (all) (Under Perfomance features) Static Content compression (Under Health and Diagnostics) HTTP Logging Request Monitor Security (all)Note that there is no Windows authorization under security for Vista Home Premium. I may not have the feature names word perfect, my Vista is German. Then I allowed anonymous access to the IIS and added a password to my user account. After this I could install Virtual Server 2005 R2, (make sure of the R2) and it worked. I fiddled quite a bit with IIS authentication, but I think I set the settings back to the default, so hope I have not forgotten a step here.

Was it worth all the work? It seems to be running well. I have also tried out the VMRCplus which is a free download from here It is certainly very comfortable, but using unsupported software always seems such a temporary gain.

Tuesday, January 13, 2009

Book review time

Another few Microsoft books came accross my desk recently courtesy Microsoft Press.

I was very impressed with Microsoft® .NET: Architecting Applications for the Enterprise by Dino Esposito and Andrea Saltarello. I often teach dot.net programmers and there was much in the book I could use in class when passing on architectural principles. For example, rather than just warning about spaghetti code they have the alternative, lasagna code. Absolutely uptodate at the moment, the entity framework is also discussed.

MCTS Self-Paced Training Kit (Exam 70-536): Microsoft® .NET Framework—Application Development Foundation, Second Edition is fairly dry since it has just the information needed for the exam. Competently done however with each module selfcontained and would work well for reference as well. I will use some of the concepts on Code Access Security in my SharePoint developer classes.

Saturday, January 3, 2009

How to skin the Starter Site

How to skin the Starter Site Why would you skin the starter site? Perhaps for a proof of concept, a demo just sizzles if it has the corporate look and feel. Or, you may have built your entire site on the starter site basis. It can be a good idea, at least it is a guaranteed solution. You just have to get used to having code not exactly to your personal taste, but it can drastically reduce project times. The starter site came out 3 months after Commerce Server itself. Make sure you install it properly according to the installation instructions. You can use the SpeedSmith installation method of this for a demo, the rights would be too generous for a production system.

Ok. Hold your mouse back. Don't start changing the CSS just yet! Starter Site is a real ASP.NET 2.0 site so you can go to the App Themes directory and see the default theme. Simply right click and create a new Theme. You can start by copying the CSS and gif's into this theme directory. Now change the webconfig to use the new Theme. Why do this work, if you are not planning to change themes programmatically? I find it a debug help to quickly change back to the Adventure Works theme if I have problems. I have seen css bugs make lines invisible, for instance. The CSS has a nice comment at the front as to which colors are used in the CSS, why not comment your changes too? Don't forget to replace search, the colors are used in more than one style.

You probably want to change the logo, this is referenced in the style sheet. (aw-banner.gif) Nice touch, because you will always want to change the logo if you are changing the theme. I usually get my gif's from the company web site if I am doing a demo. You will probably want to change the adverts also, you can put new url's in the adverts using the Marketing Manager. I like to demo the feature of the revolving ads, and make ad's from other divisions of the company, or from their web site directly. Usually goes over well.

Because Starter Site is a proper ASP 2.0 everything page is based on the master page. However every page seems to reference the master directly, so you would have to do a project wide search and replace if you want to switch to another master page. It could have been done better, allowing just a change in the web.config to change the master. I just make a copy and then make my changes directly in the default.master

But this is not real skinning you say? Just getting there. Add a new item to your App theme directory. Make it a skin file and call it default.skin. Now it does absolutely nothing! Well, it is empty apart from a comment. Now copy a button from another page. (e.g. login.aspx) . Now delete everything from the button except runatserver. Add a style change to the button eg(backcolor=lightblue). Save and look at any button on your site. Voila! Try out Text boxes and have fun. If you need more info, just go to the ASP.NET pages in MSDN, this is not a Commerce Server specific feature.

What is left to do? I usually massage the catalog, creating a test category to hide all the Adventure Works categories and creating a little navigation structure to model the customer's. And then I create a few products and gif's for the demo.

The demo awaits. Don't forget to practise your demo in a real dry run. And resist the temptation to make last minute changes.

(Don't ask me why I said that, I don't want to be reminded of the time...)

Happy skinning!

Friday, January 2, 2009

The real quick CS2007 installation guide (SpeedSmith)

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

http://go.microsoft.com/fwlink/?LinkID=79888.

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 Virtual PC 2007 (30MB).

http://www.microsoft.com/downloads/details.aspx?FamilyId=04D26402-3199-48A3-AFA2-2DC0B40A73B6&displaylang=en

? 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) http://www.microsoft.com/downloads/details.aspx?FamilyID=b2c27a7f-d875-47d5-b226-e2578a116e12&DisplayLang=en

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)

http://www.microsoft.com/technet/prodtechnol/comm/2007/downloads/trials/privacy.mspx

Save yourself time later and unpack this file now.

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

0.3 Download Windows 2003 SP2 (62.0 MB)

http://www.microsoft.com/downloads/details.aspx?FamilyID=95ac1610-c232-4644-b828-c55eec605d55&DisplayLang=en

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 SQL 2005 SP1 (252.7 MB)

http://www.microsoft.com/downloads/details.aspx?FamilyID=cb6c71ea-d649-47ff-9176-e7cac58fd4bc&displaylang=en

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

http://go.microsoft.com/fwlink/?LinkID=63706

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

0.6 Download ADO :NET Fix (5MB)

http://download.microsoft.com/download/2/c/5/2c5bcdc9-3241-443a-9f96-4e0b0edfa727/ndp20-kb916002-x86.exe

0.7 Download the Starter Site (1MB)

http://www.microsoft.com/downloads/details.aspx?FamilyID=c1a8cc18-dc9e-4c50-b598-86e640a79910&displaylang=en

Save yourself time later and unpack this file now.

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

http://go.microsoft.com/fwlink/?LinkID=59276.

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

http://www.microsoft.com/downloads/details.aspx?FamilyID=7b243252-acb7-451b-822b-df639443aeaf&DisplayLang=en

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++

Dotfuscator

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 Run IIS60rkt.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.

Type:

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.

Thursday, January 1, 2009

Tip: Misuse the virtual labs!

Have you ever had Commerce Server 2007 up and running on a virtual pc and then wondered if a setting was correct? Or, you need to explain the BizTalk connectors, but don't have the time to install Biztalk as well on your machine? Or just want do show something about the CSharp site. The virtual labs for Commerce Server 2007 are a great help. Unfortunately they do not have the Starter Site installed, but you remember how much later the Starter Site came. Don't forget, you are essentially using terminal services to connect to a virtual machine, you can basically do anything you like, it will be all discarded when the virtual machine changes are discarded at the end of your lab session. There is no reason to stick to the lab guide. Don't be put off by the registration, you are up and into the virtual machine quicker than you can say: Microsoft.CommerceServer.Profiles.UpmMembershipProvider...

Lab1: Connected Commerce http://go.microsoft.com/?linkid=6650616This is the BizTalk one. Basically the lab consists of settting up a send port to import a catalog into Commerce Server. Most people with a knowledge of Biztalk say Aha! when they see the dropdown for Commerce Server Catalog in the Port type. (Non-Biztalk people will say nothing during entire lab)

Lab 2: Customizability and Extensibility http://go.microsoft.com/?linkid=5836744 Adding an audit trail to the Catalog using stored procedures and Visual Studio.

Lab 3: Profile Integration and extension http://go.microsoft.com/?linkid=5584696 This is a good teaching lab. Adds Dot.Net authentication to Commerce Server and then adds an extra column to the UserObject table. Those who know ASP 2.0 will find the first part trivial, those who know CS 2002 will find the second part trivial, but if you know everything why are you taking a lab?