Microsoft KB Archive/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 =

Article ID: 922068

Article Last Modified on 11/15/2007

-

APPLIES TO


 * Microsoft Commerce Server 2007 Enterprise Edition
 * Microsoft Commerce Server 2007 Developer Edition
 * Microsoft Commerce Server 2007 Standard Edition

-



SYMPTOMS
Consider the following scenario. You unpack a Microsoft Commerce Server 2007 site to the root folder of the Microsoft Internet Information Services (IIS) Web site. You try to access the SiteCacheRefresh.axd URL from any of the user interfaces. In this scenario, the following error messages are logged in the Application log:

System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: Instance validation error: '0' is not a valid value for System.Net.HttpStatusCode. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write1_HttpStatusCode(HttpStatusCode v) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write3_CacheRefreshFailureInformation(String n, String ns, CacheRefreshFailureInformation o, Boolean isNullable, Boolean needType) at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterList1.Write4_Item(Object o) --- End of inner exception stack trace --- at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o, XmlSerializerNamespaces namespaces, String encodingStyle, String id) at System.Xml.Serialization.XmlSerializer.Serialize(XmlWriter xmlWriter, Object o) at Microsoft.CommerceServer.Internal.SerializableExceptionSignature.ReflectProperty(XmlWriter xmlWriter, Object obj, SerializableProperty propertyInfo) at Microsoft.CommerceServer.Internal.SerializableExceptionSignature.BuildDetailXml(Boolean useCustomErrors, SerializableExceptionInfo exceptionInfo, Exception exceptionToSerialize) at Microsoft.CommerceServer.Internal.ExceptionSerializer.TrySerializeToSoapException(Boolean useCustomErrors, SerializableExceptionInfo exceptionInfo, Exception exceptionToSerialize, Boolean& shouldLogException) at Microsoft.CommerceServer.Internal.ExceptionSerializer.TrySerializeToSoapException(SerializableExceptionInfo[] exceptionInfoList, Exception exceptionToSerialize, Boolean& shouldLogException) at Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PropagateOrLogExceptionInternal(Exception except) at Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.PropagateOrLogException(Exception except) at Microsoft.CommerceServer.Marketing.WebService.MarketingWebService.RefreshCache(String cacheName)

Additionally, you receive error messages that resemble the following when you use Commerce Server Staging (CSS) to access the SiteCacheRefresh.axd URL:

Failed to import business data for 'Marketing' resource for project 'MarketingFull' : Microsoft.CommerceServer.CacheRefreshFailedException: One or more errors occurred while refreshing the cache 'Advertising' of the site ' ': The server ' ' of the application ' ' returned HTTP status code 502 (Proxy Error ( The host was not found. )). The cache refresh URL used was 'http://sitecacherefresh.axd/?CacheToRefresh=Advertising'.The  server ' ' of the application 'Services' returned HTTP status code 502 (Proxy Error ( The host was not found. )). The cache refresh URL used was 'http://sitecacherefresh.axd/?CacheToRefresh=Advertising'.The  server ' ' of the application 'LearningPlatform' returned HTTP status code 502 (Proxy Error ( The host was not found. )). The cache refresh URL used was 'http://sitecacherefresh.axd/?CacheToRefresh=Advertising  '



Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
You must have Commerce Server 2007 installed before you apply this hotfix.

Restart requirement
You do not have to restart the computer after you apply this hotfix. However, you must restart IIS after you apply this hotfix. To do this, click Start, click Run, type iisreset, and then click OK.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbfix kbbug kbhotfixserver kbqfe kbpubtypekc KB922068

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.