Commerce Server Blog

Build world class ecommerce applications using Microsoft Commerce Server
  •  
  • Home
  • Advertise
  • Copyright Policy
  • Disclaimer
  • About

Troubleshoot: Unable to access IIS. Either it is not installed, not running, or the user does not have sufficient privileges

ravikanth | April 19, 2010

I faced a strange issue during commerce site unpacking in test environment. The site packager shows the following error.

CS error

and the same error is logged in pub.log file – ā€œUnable to access IIS.  Either it is not installed, not running, or the user does not have sufficient priviledgesā€

I’m running as an Administrator on the box. I believe it is due to specific sites in IIS. I removing all the sites from IIS and when re-running the site packager, I am able to install the commerce server site without issue. Removing my existing IIS sites will work fine in local machines but will not work if we try to do the same in preproduction or production machines. This has triggered me back to do research on this issue.

I binged/googled, but the solutions I find online will not solve the problem. After investigation, I found that commerce server site packaging tool is parsing all web sites one by one before installing the site. Some where the tool fails to ready IIS metadata and start throwing the error. I found that it is happening if the server has any websites which are running on https (i.e., certificates installed).  I am able to figure out the fix for this issue and the fix is assigning port 80 (with different host headers) to all the websites which uses https. After doing this change, the packager/CS 2009 site wizard is working fine. I following below approach in production environment (which may or may not work for you).

  1. Create port 80 binding (with different headers) to all websites where Https is used.
  2. Create the commerce site.
  3. Once our site started working, remove the bindings we have created from the websites.

Not sure whether there is any other better approaches available but this procedure has fixed my problem.

Comments
2 Comments »
Categories
Commerce Server 2009, Troubleshoot, commerce server 2007
Tags
Installation, site packer
Comments rss Comments rss
Trackback Trackback

Sign up for Newsletter


Categories

Quiz

  • Catalog Quiz for Beginners
  • Profile Quiz for Beginners
  • Quiz 1 for Advance Users
  • Quiz for Beginners

Recent Posts

  • Staging Deployment – Security Considerations
  • Pipeline Editor displays registered custom pipeline components as unknown in 64 Bit version.
  • How commerce server staging works
  • Steps to extend payments in Commerce Server 2009
  • Introduction to Commerce Server Staging
  • Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information
  • Commerce server staging throws Remote authorization failed to server. Ensure the service has access to this server.
  • Updated Commerce Server 2009 template pack for SharePoint 2007 released
  • RCXml2Resx.exe tool stops working
  • Commerce Server Profile Importer Tool

Archives

  • August 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008

Tags

add discounts add images to profile Advantages of commerce server approve discounts authentication auto login process automatic user creation basket Brand Management business tools campaign management Catalog catalog import Category commerce server commerce server 2007 commerce server manager Commerce Server SP2 commerce server staging discounts ecommerce Estimation Installation inventory Kanth Koppala marketing system migration error Mojave operation components operation sequence Order subsystem Product profile profile subsystem property metadata purchase order quick checkout Ravi Ravi Kanth site cache refresh starter site tools transactions error Variant
(c) 2009 Commerce Server Blog. All rights Reserved. Articles cannot be reproduced without permission from the author.Write to me at kanth@ravikanth.net if you have any comments, questions, suggestions about this site or would like to send us a tip
About Us | Terms of Use | Disclaimer | Advertise .