Artigo: 931290 - Última revisão: quarta-feira, 15 de Agosto de 2007 - Revisão: 2.2 You receive error messages when you update the catalog cache or the profile cache in Commerce Server 2007
Nesta páginaSintomasIn 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 1When 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() **************************************** **************************************** 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 2When 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( ) Issue 3You 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.Issue 4The SiteCacheRefresh.axd URL uses the computer NetBIOS name to build a linked URL instead of the nonsecure host name of the Commerce site.Issue 5You 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.CausaIssue 2The 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 5This problem occurs because the SiteCacheRefresh.axd HTTP handler is generated by using port 80 instead of by using port 443.ResoluçãoIssue 1To resolve this issue, follow these steps:
Note The Commerce site and every Web service for the site must be in a separate application pool. Additionally, they must use a different account as the application pool identity. Issue 2To resolve this issue, disable the Commerce Server Health Monitoring service on the Windows XP-based computer. To do this, follow these steps:
Issue 3To resolve this issue, apply the hotfix package that is described in Microsoft Knowledge Base article 922068. For more information, click the following article number to view the article in the Microsoft Knowledge Base:922068
(http://support.microsoft.com/kb/922068/
)
FIX: Error messages are logged in the Application log when you unpack a Commerce Server 2007 site to the root folder of the IIS Web site and then you try to access the SiteCacheRefresh.axd URL Issue 5To resolve this issue, apply the hotfix package that is described in Microsoft Knowledge Base article 937749. For more information, click the following article number to view the article in the Microsoft Knowledge Base:937749
(http://support.microsoft.com/kb/937749/
)
FIX: The Commerce Server cache may not be updated successfully when you try to use the SiteCacheRefresh method in Commerce Server 2007 A informação contida neste artigo aplica-se a:
Tradução automáticaIMPORTANTE: Este artigo foi traduzido por um sistema de tradução automática (também designado por Machine translation ou MT), não tendo sido portanto revisto ou traduzido por humanos. A Microsoft tem artigos traduzidos por aplicações (MT) e artigos traduzidos por tradutores profissionais. O objectivo é simples: oferecer em Português a totalidade dos artigos existentes na base de dados do suporte. Sabemos no entanto que a tradução automática não é sempre perfeita. Esta pode conter erros de vocabulário, sintaxe ou gramática? erros semelhantes aos que um estrangeiro realiza ao falar em Português. A Microsoft não é responsável por incoerências, erros ou estragos realizados na sequência da utilização dos artigos MT por parte dos nossos clientes. A Microsoft realiza actualizações frequentes ao software de tradução automática (MT). Pedíamos-lhe o favor de preencher o formulário existente no fundo desta página caso venha a encontrar erros neste artigo e tenha possibilidade de colaborar no processo de aperfeiçoamento desta ferramenta. Obrigado. Clique aqui para ver a versão em Inglês deste artigo: 931290
(http://support.microsoft.com/kb/931290/en-us/
)
| Outros Recursos Outros Sites de Suporte
ComunidadesObtenha Ajuda AgoraTraduções de Artigos |






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email


Voltar ao topo