Everything works fine except the "Refresh Site Cache" functionality in
all the business applications. Instead of calling
http://shop.orange8.com/shop.orange8.com/SiteCacheRefresh the
CatalogManager for example tries to call http://dev-02-2/StarterSite/SiteCacheRefresh.axd?...
(at least this is how we read the error message, see below).
Is there any possibility to configure the "Refresh Site Cache" URL for
the business applications?
Error message:
"Microsoft.CommerceServer.CacheRefreshFailedException: One or more
errors occurred while refreshing the cache 'CatalogCache' of the site
'shop.online-kiosk.ch':
The server 'DEV-02-2' of the application 'StarterSite' returned HTTP
status code 400 (Bad Request). The cache refresh URL used was 'http://
dev-02-2/StarterSite/SiteCacheRefresh.axd?
CacheToRefresh=CatalogCache'.The server 'DEV-02-2' of the application
'OrdersWebService' returned HTTP status code 400 (Bad Request). The
cache refresh URL used was 'http://dev-02-2/OrdersWebService/
SiteCacheRefresh.axd?CacheToRefresh=CatalogCache'.
See the server event event log for more details. --->
System.Web.Services.Protocols.SoapException:
System.Web.Services.Protocols.SoapException: One or more errors
occurred while refreshing the cache 'CatalogCache' of the site
'shop.online-kiosk.ch':
The server 'DEV-02-2' of the application 'StarterSite' returned HTTP
status code 400 (Bad Request). The cache refresh URL used was 'http://
dev-02-2/StarterSite/SiteCacheRefresh.axd?
CacheToRefresh=CatalogCache'.The server 'DEV-02-2' of the application
'OrdersWebService' returned HTTP status code 400 (Bad Request). The
cache refresh URL used was 'http://dev-02-2/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
'shop.online-kiosk.ch':
The server 'DEV-02-2' of the application 'StarterSite' returned HTTP
status code 400 (Bad Request). The cache refresh URL used was 'http://
dev-02-2/StarterSite/SiteCacheRefresh.axd?
CacheToRefresh=CatalogCache'.The server 'DEV-02-2' of the application
'OrdersWebService' returned HTTP status code 400 (Bad Request). The
cache refresh URL used was 'http://dev-02-2/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()
at
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall)
at
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
methodName, Object[] parameters)
at
Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.AuthorizedInvoke(String
methodName, Object[] parameters)
--- End of inner exception stack trace ---
at
Microsoft.CommerceServer.ServiceAgent.TryHandleWebMethodException(Exception
ex, SoapHttpClientProtocol serviceProxy)
at
Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.AuthorizedInvoke(String
methodName, Object[] parameters)
at
Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.RefreshSiteCache()
at
Microsoft.CommerceServer.Catalog.CatalogAgentContext.RefreshSiteCache()
at
Microsoft.CommerceServer.Catalog.CatalogContext.RefreshSiteCache()
at
Microsoft.CommerceServer.UI.CatalogManager.CatalogManager.cntxtMenuRefreshSiteCache_Click(Object
sender, EventArgs e)
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
mathis.marug wrote:
How to: Configure URL used to "Refresh Site Cache" in CatalogManager
10-Sep-07
Previous Posts In This Thread:
On Monday, September 10, 2007 4:10 AM
mathis.marug wrote:
How to: Configure URL used to "Refresh Site Cache" in CatalogManager
Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Binding Beyond the Limitation of Name Scopes
http://www.eggheadcafe.com/tutorials/aspnet/ef583104-e507-491d-b05f-49faac8854c8/wpf-binding-beyond-the-li.aspx