Makale numarası: 931290 - Son Gözden Geçirme: 15 Ağustos 2007 Çarşamba - Gözden geçirme: 2.2

Katalog önbellek veya Commerce Server 2007'in profili önbelleğinde güncelleştirdiğinizde, hata iletileri alıyorsunuz

Sistem İpucuBu makale, kullandığınızdan farklı bir işletim sistemine yöneliktir. Sizinle ilgili olmayabilecek makale içeriği devre dışı bırakıldı.

Bu Sayfada

Hepsini aç | Hepsini kapa

Belirtiler

Microsoft Commerce Server 2007'de, katalog önbellek veya Catalog Web Hizmetleri ve profil Web hizmetini profil önbelleğinden güncelleştirdiğinizde, bu hata iletilerini alırsınız.

Sorun 1

Katalog Yöneticisi'nin Site Önbelleği Yenile'yi tıklatın veya Catalog Web hizmetindeki RefreshSiteCache yöntemini çağırmak, aşağıdakine benzer bir hata iletisi alabilirsiniz:
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()
****************************************
Profil Web hizmetindeki RefreshAllProfilesInCache yöntemini çağırdığınızda, aşağıdakine benzer bir hata iletisi alabilirsiniz:
****************************************
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()

Sorun 2

Commerce Server 2007 Developer Edition içindeki tüm iş yönetimi aracından SiteCacheRefresh yöntemini çağırmak çalıştığınızda aşağıdaki hata iletisini alırsınız:
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(
)
Not Commerce Server 2007 Developer Edition, Microsoft Windows XP tabanlı bir bilgisayarda, yalnızca bu sorun oluşur.

Sorun 3

Bir Web sitesinin kök klasörüne paketten Commerce sitesi olduğunda SiteCacheRefresh yöntemi olan iş yönetimi araçları ve düzeylendirme hizmetin çağıramazsınız.

Sorunu 4

SiteCacheRefresh.axd URL Commerce sitenin güvenli olmayan bir ana bilgisayar adı yerine bağlantılı bir URL oluşturmaya, bilgisayarın Netbıos adı kullanır.

Sorun 5

Commerce Server önbelleğini güncelleştirmeye SiteCacheRefresh yöntemini kullanmayı deneyin ve Commerce Server uygulama Güvenli Köprü Metni Aktarım Protokolü (HTTPS) kullanır. Bu senaryoda, Commerce Server önbelleğinin başarıyla güncelleştirilmeyebilir.

Neden

Sorun 2

Commerce Server sağlığını izleme özelliğini hizmetin SiteCacheRefresh yöntemi, Windows XP'ye çalışmamasına neden olur.

Not Varsayılan olarak, Commerce Server sağlığını izleme özelliğini hizmetin Commerce Server 2007 Developer Edition yüklü değil.

Sorun 5

Bu sorun, SiteCacheRefresh.axd HTTP işleyicisini 443 numaralı bağlantı noktası yerine 80 numaralı bağlantı noktasını kullanarak oluşturulan nedeniyle oluşur.

Çözüm

Sorun 1

Bu sorunu gidermek için aşağıdaki adımları izleyin:
  1. Windows Gezgini'nde, aşağıdaki klasörü bulun:
    Drive: \Inetpub\wwwroot\OrdersWebService
  2. Not Defteri gibi bir metin düzenleyicisinde Web.config dosyasını açın.
  3. Aşağıdaki kod satırlarını bulun: <a1>
    <location path="SiteCacheRefresh.axd">
    		<system.web>
    			<authorization>
    				...
    			</authorization>
    		</system.web>
    </location>
    
  4. Arasında <authorization></authorization> aşağıdaki kod örneği, etiketleri ekleyin:
    <allow users="<DomainName>\<CatalogWebServiceApplicationPoolIdentityAccount>">
    <allow users="<DomainName>\<ProfileWebServiceApplicationPoolIdentityAccount>">
    
    Not<DomainName> \ <CatalogWebServiceApplicationPoolIdentityAccount> Catalog Web hizmeti uygulama havuzu kimliği olan etki alanı hesabıdır. <DomainName> \ <ProfileWebServiceApplicationPoolIdentityAccount> profil Web hizmeti uygulama havuzu kimliği olan etki alanı hesabıdır.
Bu adımları, Commerce Server 2007 site Web.config dosyası için yineleyin.

Not Commerce sitesi ve tüm Web hizmeti site için ayrı bir uygulama havuzu içinde olması gerekir. Ayrıca, farklı bir hesap uygulama havuzu kimliği kullanıyor olmaları gerekir.

Sorun 2

Bu sorunu gidermek için <a0></a0>, Windows XP tabanlı bilgisayarda Commerce Server sağlığını izleme özelliğini hizmetin devre dışı bırakın. Bunu yapmak için şu adımları izleyin:
  1. Başlat ' ı tıklatın, Çalıştır ' ı tıklatın, services.msc yazın ve Tamam ' ı tıklatın.
  2. Commerce Server durum izleyici ' ı sağ tıklatın ve sonra da <a2>Durdur</a2>'ı tıklatın.

Sorun 3

Bu sorunu gidermek için <a0></a0>, 922068 Microsoft Knowledge Base makalesinde açıklanan düzeltme paketini uygulanır. Daha fazla bilgi için, Microsoft Bilgi Bankası'ndaki makaleyi görüntülemek üzere aşağıdaki makale numarasını tıklatın:
922068  (http://support.microsoft.com/kb/922068/ ) Düzeltme: Hata iletileri uygulama günlüğüne bir Commerce Server 2007 site IIS Web sitesinin kök klasörüne paketten ve SiteCacheRefresh.axd URL erişmeye çalışırsanız sonra kaydediliyor

Sorun 5

Bu sorunu gidermek için <a0></a0>, 937749 Microsoft Knowledge Base makalesinde açıklanan düzeltme paketini uygulanır. Daha fazla bilgi için, Microsoft Bilgi Bankası'ndaki makaleyi görüntülemek üzere aşağıdaki makale numarasını tıklatın:
937749  (http://support.microsoft.com/kb/937749/ ) Düzeltme: Commerce Server 2007'de SiteCacheRefresh yöntemini kullanmaya çalıştığınızda Commerce Server önbelleği başarıyla güncelleştirilmeyebilir

Bu makaledeki bilginin uygulandığı durum:
  • Microsoft Commerce Server 2007 Enterprise Edition
  • Microsoft Commerce Server 2007 Developer Edition
  • Microsoft Commerce Server 2007 Standard Edition
Anahtar Kelimeler: 
kbmt kberrmsg kbcode kbtshoot kbprb KB931290 KbMttr
Otomatik TercümeOtomatik Tercüme
ÖNEMLİ: Bu makale, bir kişi tarafından çevrilmek yerine, Microsoft makine-çevirisi yazılımı ile çevrilmiştir. Microsoft size hem kişiler tarafından çevrilmiş, hem de makine-çevrisi ile çevrilmiş makaleler sunar. Böylelikle, bilgi bankamızdaki tüm makalelere, kendi dilinizde ulaşmış olursunuz. Bununla birlikte, makine tarafından çevrilmiş makaleler mükemmel değildir. Bir yabancının sizin dilinizde konuşurken yapabileceği hatalar gibi, makale; kelime dağarcığı, söz dizim kuralları veya dil bilgisi açısından yanlışlar içerebilir. Microsoft, içeriğin yanlış çevrimi veya onun müşteri tarafından kullanımından doğan; kusur, hata veya zarardan sorumlu değildir. Microsoft ayrıca makine çevirisi yazılımını sıkça güncellemektedir.
Makalenin İngilizcesi aşağıdaki gibidir:931290  (http://support.microsoft.com/kb/931290/en-us/ )