Commerce Server Blog

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

“Value does not fall within the expected range” while running PortalConfig.exe in Mojave

ravikanth | November 8, 2008

I got surprised to see the Mojave installation is just 4 MB but I was totally excited while installing Mojave (even though the installation is manual). After installation, while running PortalConfig.exe, I encountered an error.

1.    Executed PortalConfig.exe –w MicrosoftCommerceWebParts.WSP
2.    Selected newly created SharePoint web application from drop down list
3.    Entered StarterSite in as Commerce Server Site name in step#2 and click on next button, I got the exception stack trace as given below.

 

********** ERROR: Value does not fall within the expected range.

STACK:    at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl)
   at Microsoft.SharePoint.SPWeb.GetWebRelativeUrl(String strUrl, SPFolder folder, Boolean includeQueryString, Boolean canonicalizeUrl)
   at Microsoft.SharePoint.SPFileCollection.AddInternal(String urlOfFile, Object file, PutFileOpt fileOpt, String createdBy, String modifiedBy, Int32 createdByID, Int32 modifiedByID, DateTime timeCreated, DateTime timeLastModified, Object varProperties, String checkInComment, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage)
   at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite, String checkInComment, Boolean checkRequiredFields, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage)
   at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite, String checkInComment, Boolean checkRequiredFields)
   at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite)
   at Microsoft.Commerce.Portal.Setup.CommandObjects.PassItemEventReceiverDataCommand.Execute()
   at Microsoft.Commerce.Portal.Setup.UI.Confirmation.Timer_Tick(Object sender, EventArgs e)
Value does not fall within the expected range.
STACK:    at Microsoft.SharePoint.SPWeb.GetWebRelativeUrlFromUrl(String strUrl, Boolean includeQueryString, Boolean canonicalizeUrl
   at Microsoft.SharePoint.SPWeb.GetWebRelativeUrl(String strUrl, SPFolder folder, Boolean includeQueryString, Boolean canonicalizeUrl)
   at Microsoft.SharePoint.SPFileCollection.AddInternal(String urlOfFile, Object file, PutFileOpt fileOpt, String createdBy, String modifiedBy, Int32 createdByID, Int32 modifiedByID, DateTime timeCreated, DateTime timeLastModified, Object varProperties, String checkInComment, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage)
   at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite, String checkInComment, Boolean checkRequiredFields, SPVirusCheckStatus& virusCheckStatus, String& virusCheckMessage)
   at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite, String checkInComment, Boolean checkRequiredFields)
   at Microsoft.SharePoint.SPFileCollection.Add(String urlOfFile, Byte[] file, Boolean overwrite)
   at Microsoft.Commerce.Portal.Setup.CommandObjects.PassItemEventReceiverDataCommand.Execute()
   at Microsoft.Commerce.Portal.Setup.UI.Confirmation.Timer_Tick(Object sender, EventArgs e)

This bug was already logged in connect site but no resolution provided. When I approached Commerce server support team, I came to know that development team has fixed this issue and mostly it will be released in next CTP.

One thing is clear – after Mojave installation my existing commerce server application is working fine without any errors. This has proven that Mojave API is not deprecating older version commerce server 2007 API.

Stay tuned, I will be posting more of such experiences with Mojave soon.

Categories
Commerce Server 2009, Troubleshoot
Tags
Mojave, Mojave errors
Comments rss
Comments rss
Trackback
Trackback

« Refresh cache throws HTTP status code 401 (Unauthorized) error Why should we use commerce server pipelines »

Leave a Reply

Click here to cancel reply.

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 .