All of the sudden my commerce server business application stops working (already logged in). When I checked the event log, I found timeout exception as shown below.

WebException.Status=Timeout
System.Net.WebException: The operation has timed out
   at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.AuthorizedInvoke(String methodName, Object[] parameters)
   at Microsoft.CommerceServer.Catalog.WebService.Proxies.CatalogWebService.GetProduct(String catalogName, String productId, String language, ProductConfiguration config)
   at Microsoft.CommerceServer.Catalog.Product.Get(CatalogContext catalogContext, String catalogName, String productId, String language, ProductConfiguration config, Nullable`1 isVirtualCatalog, String productIdentifyingProperty, String variantIdentifyingProperty, Nullable`1 validateLanguage) 

Since my environment is shared with other developers, I thought the error is due to some configuration changes. Any such errors, I will follow below checklist.

  • Check whether the web services are working properly. If the web services opens then there is no problem in IIS.
  • Check whether you have proper privileges in authorization store.
  • Check connections strings are properly set.
  • Check SQL server is running and the access account has proper privileges to all the databases.

Luckily I found that my web services are not working. When I close my application and open again, I found below error.

image

I tried to open the URL in the browser and the error is the same. Wired error and I fixed this issue just by restarting IIS.

Related Articles


If you like this post, please click on our sponsor advertisement.


Leave a Reply

Follow me on Google+
Add to circles

In 0 people's circles

Sign up for Newsletter