Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You receive error messages when you update the catalog cache or the profile cache in Commerce Server 2007


View products that this article applies to.

Symptoms

In Microsoft Commerce Server 2007, you receive error messages when you update the catalog cache or the profile cache from the Catalog Web service and the Profile Web service.

Issue 1

When you click Refresh Site Cache in Catalog Manager or you invoke the RefreshSiteCache method in the Catalog Web service, you may receive an error message that resembles the following:
System.Web.Services.Protocols.SoapException: One or more errors occurred while refreshing the cache 'CatalogCache' of the site 'CSharpSite':

The server 'MyServer' of the application 'OrdersWebService' returned HTTP status code 401 (Unauthorized).  The cache refresh URL used was 'http://MyServer/OrdersWebService/SiteCacheRefresh.axd?CacheToRefresh=CatalogCache'.

See the server event event log for more details. ---> Microsoft.CommerceServer.CacheRefreshFailedException: One or more errors occurred while refreshing the cache 'CatalogCache' of the site 'CSharpSite':

The server 'MyServer' of the application 'OrdersWebService' returned HTTP status code 401 (Unauthorized).  The cache refresh URL used was 'http://MyServer/OrdersWebService/SiteCacheRefresh.axd?CacheToRefresh=CatalogCache'.

See the server event event log for more details.
   at Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection.RefreshCache(String cacheName, CommerceResourceCollection resourceCollection)
   at Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.RefreshSiteCache()
   --- End of inner exception stack trace ---
   at Microsoft.CommerceServer.Catalog.Internal.WebServiceUtility.PropagateOrLogException(Exception except)
   at Microsoft.CommerceServer.Catalog.WebService.CatalogWebService.PropagateOrLogException(Exception except)
   at Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.RefreshSiteCache()
****************************************
When you invoke the RefreshAllProfilesInCache method in the Profile Web service, you may receive an error message that resembles the following:
****************************************
System.Web.Services.Protocols.SoapException: One or more errors occurred while refreshing the cache 'ProfileCache' of the site 'CSharpSite':

The server 'MyServer' of the application 'OrdersWebService' returned HTTP status code 401 (Unauthorized). The cache refresh URL used was 'http://zhejiang/OrdersWebService/SiteCacheRefresh.axd?CacheToRefresh=ProfileCache'.

See the server event event log for more details. ---> Microsoft.CommerceServer.CacheRefreshFailedException: One or more errors occurred while refreshing the cache 'ProfileCache' of the site 'CSharpSite':

The server 'MyServer' of the application 'OrdersWebService' returned HTTP status code 401 (Unauthorized). The cache refresh URL used was 'http://MyServer/OrdersWebService/SiteCacheRefresh.axd?CacheToRefresh=ProfileCache'.

See the server event event log for more details.
at Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection.RefreshCache(String cacheName, CommerceResourceCollection resourceCollection)
at Microsoft.CommerceServer.Profiles.WebService.ProfilesWebService.RefreshAllProfilesInCache()
--- End of inner exception stack trace ---
at Microsoft.CommerceServer.Profiles.WebService.ProfilesWebService.PropagateOrLogExceptionInternal(Exception ex)
at Microsoft.CommerceServer.Profiles.WebService.ProfilesWebService.PropagateOrLogException(Exception ex)
at Microsoft.CommerceServer.Profiles.WebService.ProfilesWebService.RefreshAllProfilesInCache()

Issue 2

When you try to invoke the SiteCacheRefresh method from any business management tool in Commerce Server 2007 Developer Edition, you receive the following error message:
System.Web.Services.Protocols.SoapException: One or more errors occurred while 
refreshing the cache 'CatalogCache' of the site 'CSSiteName':

The server 'ServerName' of the application 'CSSiteNameOrdersWebService' returned HTTP 
status code 503 (Service Unavailable).  The cache refresh URL used was 
'http://ServerName/CSSiteNameOrdersWebService/SiteCacheRefresh.axd?CacheToRefresh=Catal
ogCache'.The server 'ServerName' of the application 'CSSiteName' returned HTTP status 
code 503 (Service Unavailable).  The cache refresh URL used was 
'http://ServerName/CSSiteName/SiteCacheRefresh.axd?CacheToRefresh=CatalogCache'.

See the server event event log for more details. ---> 
Microsoft.CommerceServer.CacheRefreshFailedException: One or more errors occurred 
while refreshing the cache 'CatalogCache' of the site 'CSSiteName':

The server 'ServerName' of the application 'CSSiteNameOrdersWebService' returned HTTP 
status code 503 (Service Unavailable).  The cache refresh URL used was 
'http://ServerName/CSSiteNameOrdersWebService/SiteCacheRefresh.axd?CacheToRefresh=Catal
ogCache'.The server 'ServerName' of the application 'CSSiteName' returned HTTP status 
code 503 (Service Unavailable).  The cache refresh URL used was 
'http://ServerName/CSSiteName/SiteCacheRefresh.axd?CacheToRefresh=CatalogCache'.

See the server event event log for more details.
   at 
Microsoft.CommerceServer.Runtime.Configuration.CommerceResourceCollection.RefreshCac
he(String cacheName, CommerceResourceCollection resourceCollection)
   at 
Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.RefreshSiteCache(
)
   --- End of inner exception stack trace ---
   at 
Microsoft.CommerceServer.Catalog.Internal.WebServiceUtility.PropagateOrLogException(
Exception except)
   at 
Microsoft.CommerceServer.Catalog.WebService.CatalogWebService.PropagateOrLogExceptio
n(Exception except)
   at 
Microsoft.CommerceServer.Catalog.Internal.CatalogServerContextBase.RefreshSiteCache(
)
Note This issue occurs only in Commerce Server 2007 Developer Edition on a Microsoft Windows XP-based computer.

Issue 3

You cannot invoke the SiteCacheRefresh method from the business management tools and from the Staging service when the Commerce site is unpacked to the root folder of a Web site.

↑ Back to the top


Cause

Issue 4

The SiteCacheRefresh.axd URL uses the computer NetBIOS name to build a linked URL instead of the nonsecure host name of the Commerce site.

Issue 5

You try to use the SiteCacheRefresh method to update the Commerce Server cache, and the Commerce Server application uses Secure Hypertext Transfer Protocol (HTTPS). In this scenario, the Commerce Server cache may not be updated successfully.

↑ Back to the top


Resolution

Issue 2

The Commerce Server Health Monitoring service causes the SiteCacheRefresh method not to work on Windows XP.

Note By default, the Commerce Server Health Monitoring service is not installed by Commerce Server 2007 Developer Edition.

Issue 5

This problem occurs because the SiteCacheRefresh.axd HTTP handler is generated by using port 80 instead of by using port 443.

↑ Back to the top


Keywords: KB931290, kbprb, kbtshoot, kbcode, kberrmsg

↑ Back to the top

Article Info
Article ID : 931290
Revision : 4
Created on : 8/15/2007
Published on : 8/15/2007
Exists online : False
Views : 394