Ask a questionAsk a question
 

Proposed AnswerVirtual Catalog cannot be created

  • Monday, October 26, 2009 1:43 PMmtsoft Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    We had problem with a virtual catalog (one day to another some products disapeared from the virtual catalog, while they were still in the Master)
    Now I have deleted the virtual and want to create a new one, but I get the following error:
    Wizard Error Text:
    Exceptions:
    An error occurred on the server during your operation. Try the operation again or contact your administrator if the error persists. The details of the error are captured in the event log on the server.
    Tasks to be completed:
    The virtual catalog was not created.
    The virtual catalog was not saved successfully.


    Event Log Details:
    An exception occurred in the 'CatalogWebService' Web service.  Exception details follow:

    System.ArgumentException: Value does not fall within the expected range.
       at Microsoft.Interop.Security.AzRoles.IAzRole.AddMemberName(String bstrProp, Object varReserved)
       at Microsoft.CommerceServer.Catalog.Internal.AuthorizationPolicyCreator.CreateScope(IAzApplication iazApplication, AuthorizationScope scope, String entityName, Boolean addUserToNewScope, String userName)
       at Microsoft.CommerceServer.Catalog.Internal.CatalogAuthorization.CreateScope(AuthorizationScope authorizationScope, String entityName, Boolean addUserToNewScope)
       at Microsoft.CommerceServer.Catalog.Internal.CatalogAuthorization.EnsureCatalogScopeExists(String catalogName, Boolean addUserToNewScope)
       at Microsoft.CommerceServer.Catalog.Internal.CatalogGlobal.CreateCatalog(CatalogExecutionContext executionContext, Int32 numberOfFullTextCatalogsToCreate, Boolean virtualCatalog, String catalogName, String productId, String variantId, String defaultLanguage, String reportingLanguage, String currency, String weightMeasure, DateTime startDate, DateTime endDate)
       at Microsoft.CommerceServer.Catalog.Internal.ProductCatalog.CreateCatalog(CatalogExecutionContext catalogExecutionContext, Boolean virtualCatalog, String catalogName, String productId, String variantId, String defaultLanguage, String reportingLanguage, String currency, String weightMeasure, DateTime startDate, DateTime endDate)
       at Microsoft.CommerceServer.Catalog.Internal.ProductCatalog.CreateVirtualCatalog(CatalogExecutionContext catalogExecutionContext, String catalogName, String defaultLanguage, String reportingLanguage, String currency, String weightMeasure, DateTime startDate, DateTime endDate)
       at Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.CreateVirtualCatalog(String catalogName, String defaultLanguage, String reportingLanguage, String currency, String weightMeasure, DateTime startDate, DateTime endDate)


    Details: Windows 2003 SP1 / CS2007 SP1

All Replies

  • Tuesday, October 27, 2009 8:24 AMRavi Kanth KoppalaMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    How are you creating virtual catalog? Some strange behviour I am seeing here - By error we can make this issue as Authorization issue but if you are using business tools, you will not get an option to create virtual catalog if you don't have access. Can you double check if you can able to create virtual catalog after giving admin access to your account (by which you are trying to hit the web services) in Catalog Authroization manager.
    http://techblog.ravikanth.net (If this post answers your question - Either Mark this post as the answer or vote as being useful.)
  • Tuesday, October 27, 2009 2:06 PMRavi Kanth KoppalaMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer

    Luckly I got similar issue today when accessing the catalog. I thought it was due to authrorization but when I checked, the catalog web services are not opening. The issue is resolved after restarting IIS.

    Hope this simple tip will solve your problem too.

    Regards,
    Ravi Kanth Koppala


    http://techblog.ravikanth.net (If this post answers your question - Either Mark this post as the answer or vote as being useful.)