ID do artigo: 931290 - Última revisão: quarta-feira, 15 de agosto de 2007 - Revisão: 2.1

Receber mensagem de erro mensagens quando você atualização o armazenar em cache do catálogo ou a armazenar em cache perfil em Commerce Server 2007

Dica do SistemaEste artigo aplica-se a um sistema operativo diferente do que está a utilizar. Foi desactivado o conteúdo do artigo, que pode não ser relevante para si.

Nesta página

Expandir tudo | Recolher tudo

Sintomas

No Commerce Server 2007, Microsoft receber mensagem de erro mensagens quando você atualização o armazenar em cache do catálogo ou a armazenar em cache perfil do serviço da Web Catálogo e o serviço da Web de perfil.

1 Problema

Quando você clique Atualizar cache de sites em Catalog Manager ou você invocar o método RefreshSiteCache na serviço da Web Catálogo, você poderá receber uma mensagem de erro que se assemelha a seguinte:
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()
****************************************
Quando você invocar o método RefreshAllProfilesInCache em serviço da Web do perfil, você poderá receber uma mensagem de erro que se assemelha a seguinte:
****************************************
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()

Problema 2

Quando você tentar se invocar o método SiteCacheRefresh de qualquer ferramenta de gerenciamento empresa em Commerce Server 2007 Developer Edition, você receberá a seguinte mensagem de erro:
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(
)
Observação este emitir ocorre apenas em Commerce Server 2007 Developer Edition em um computador Microsoft_Windows_XP-Based.

Problema 3

Você não pode invocar o método SiteCacheRefresh das ferramentas gerenciamento empresa e o serviço quando o site do Commerce é descompactada para a pasta raiz de um site de teste de.

Problema 4

O SiteCacheRefresh.axd URL usa o nome computador NetBIOS para compilar um URL vinculado instead of o não seguro nome do host do site do Commerce.

Problema 5

Você deseje usar o método SiteCacheRefresh para atualização a armazenar em cache Commerce Server, e o aplicativo usa Seguro Commerce Server protocolo HTTP (HTTPS). Neste cenário, o armazenar em cache Commerce Server pode não ser atualizada com êxito.

Causa

Problema 2

O serviço Commerce Server Health Monitoring faz com o método SiteCacheRefresh não para trabalho em Windows XP.

Observação Por padrão, o serviço Commerce Server Health Monitoring não está instalado pelo Commerce Server 2007 Developer Edition.

Problema 5

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

Resolução

1 Problema

Para resolver esta questão, execute as seguintes etapas::
  1. Em Windows Explorer, localizar a seguinte pasta:
    Unidade : \Inetpub\wwwroot\OrdersWebService
  2. Em um editor de texto such as Bloco de Notas, aberto o arquivo web.config.
  3. Localize o seguinte linhas de código:
    <location path="SiteCacheRefresh.axd">
    		<system.web>
    			<authorization>
    				...
    			</authorization>
    		</system.web>
    </location>
    
  4. Entre o autorização < > < / autorização > marcas , adicionar o seguinte exemplo de código:
    <allow users="<DomainName>\<CatalogWebServiceApplicationPoolIdentityAccount>">
    <allow users="<DomainName>\<ProfileWebServiceApplicationPoolIdentityAccount>">
    
    Observação nome_do_domínio < > \ CatalogWebServiceApplicationPoolIdentityAccount < > é a conta domínio que é a identidade pool aplicativo Web Service Catálogo. nome_do_domínio < > \ ProfileWebServiceApplicationPoolIdentityAccount < > é a conta domínio que é a identidade pool aplicativo Web Service de perfil.
Repita essas etapas para o arquivo web.config site Commerce Server 2007.

Observação The Commerce site e cada serviço da Web para o site devem estar em um separar pool de aplicativos. Além disso, eles devem usar uma conta diferente como a identidade pool de aplicativos.

Problema 2

Para resolver este emitir, desativar o serviço Commerce Server Health Monitoring em Windows_XP-Based o computador. Para fazer isto, execute as seguintes etapas::
  1. Clique em Iniciar , Executar , tipo clique services.msce depois clique OK .
  2. Clique com o botão direito do mouse em seguida, clique Commerce Server Health Monitor , e Parar .

Problema 3

Para resolver este emitir, aplicar o pacote de hotfix descrito no artigo Microsoft Knowledge Base 922068 que. Para obter informações adicionais, clique no número abaixo para ler o artigo na Base de Dados de Conhecimento da Microsoft::
922068  (http://support.microsoft.com/kb/922068/ ) Fix: mensagens de erro são registradas no Log de aplicativo quando você descompactar um site Commerce Server 2007 para a pasta raiz do site IIS e você tente para acessar o SiteCacheRefresh.axd URL

Problema 5

Para resolver este emitir, aplicar o pacote de hotfix descrito no artigo Microsoft Knowledge Base 937749 que. Para obter informações adicionais, clique no número abaixo para ler o artigo na Base de Dados de Conhecimento da Microsoft::
937749  (http://support.microsoft.com/kb/937749/ ) Fix: O armazenar em cache Commerce Server pode não ser atualizada com êxito quando você tenta usar o método SiteCacheRefresh no Commerce Server 2007

A informação contida neste artigo aplica-se a:
  • Microsoft Commerce Server 2007 Enterprise Edition
  • Microsoft Commerce Server 2007 Developer Edition
  • Microsoft Commerce Server 2007 Standard Edition
Palavras-chave: 
kberrmsg kbcode kbtshoot kbprb KB931290 KbMtpt kbmt
Tradução automáticaTradução automática
IMPORTANTE: 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 traduzido ou revisto por pessoas. A Microsoft possui artigos traduzidos por aplicações (MT) e artigos traduzidos por tradutores profissionais, com o objetivo de oferecer em português a totalidade dos artigos existentes na base de dados de suporte. No entanto, a tradução automática não é sempre perfeita, podendo conter erros de vocabulário, sintaxe ou gramática. A Microsoft não é responsável por incoerências, erros ou prejuízos ocorridos em decorrência da utilização dos artigos MT por parte dos nossos clientes. A Microsoft realiza atualizações freqüentes ao software de tradução automática (MT). Caso tenha encontrado erros neste artigo e queira colaborar no processo de aperfeiçoamento desta ferramenta, por favor preencha o formulário existente na parte inferior desta página. Obrigado.
Clique aqui para ver a versão em Inglês deste artigo: 931290  (http://support.microsoft.com/kb/931290/en-us/ )