AsiaTech: Microsoft APGC Internet Developer Support Team

We focus on various troubleshooting plan and solution on IIS web platform and distributed applications

Browse by Tags

Tagged Content List
  • Blog Post: Your WCF service may stop processing any incoming WCF requests

    Background: 1. Suppose we have a WCF service which is using session-full binding like Net.tcp. We are using the default setting of timeout of net.tcp bindng . For example: a) OpenTimeout -> 1 minute b) CloseTimeout -> 1 minute c) SendTimeOut-> 1 minute d) ReceiveTimeout -> 10 minute...
  • Blog Post: WCF/MSMQ intermittent MQ_ERROR_TRANSACTION_SEQUENCE error

    My customer has an application runs fine until upgraded to WCF 4.0. After that, he received follow message intermittently. 0xc00e0051 means MQ_ERROR_TRANSACTION_SEQUENCE. <Message> An error occurred while receiving a message from the queue: Unrecognized error -1072824239 (0xc00e0051) . Ensure...
  • Blog Post: Modifying SMSvcHost.exe.config for WCF --- Some common mistakes

    Some WCF services may use net.tcp for high-performance communication. These self-hosted services can control several advanced settings on the service's transport binding element, such as ListenBacklog and MaxPendingAccepts , which govern the behavior of the underlying TCP socket used for network communication...
  • Blog Post: A solution to limit specified client certificates to consume WCF service

    Background: Suppose there is a WCF service which will be consumed by other parties. The client credential type of this WCF service is configured as certificate. In other word, the WCF consumer must present its client certificate to WCF service for authentication & authorization. This is a typical...
  • Blog Post: Receive Http 403.3 Forbidden when replace file by WebDav

    Symptoms Consider the following scenario: Setup WebDav site in IIS7 and set its physical path(i.e. D:\WebDav\) credential to Specific User iis_webdav in WeDav security configuration. When a user "webdav_testuser" replace a file from client side, you may receive error and IIS logs http...
  • Blog Post: We may experience performance issue when WCF service communicates with STA COM

    Background: Customer has a WCF service which communicates with a COM developed by VB6. Customer complains that the performance is poor after it runs for some time, and the WCF response becomes longer and longer. We capture hang dump and found most of WCF worker threads are pending on a call...
  • Blog Post: 400 bad request when POSTing WebService or WCF request from IE

    Symptom Let’s suppose such a scenario: Ø You have a website which enables NTLM authentication. Ø There’s a virtual directory under this website, which enables Anonymous authentication. Ø There’s a Web Service or WCF Service in this virtual directory...
  • Blog Post: The first WCF call always timed out?

    This is a scenario where both the WCF client and service are running in the same AppDomain inside a MVC application. The WC F call originates from MVC controller. In addition, the WCF service host was created in the same function as well. The code looks like: public ActionResult Index...
  • Blog Post: IIS returns 400 “bad request” for WCF service file

    This is an IIS hosted WCF service uses basicHttpBinding in NLB environment. The configuration looks like below. It had been worked well for years. <service name="MyService”> <endpoint address="https://NLB_Virtual_Name.Organization.Company.Com/MyService/MyService.svc" binding="basicHttpBinding...
  • Blog Post: WCF Exception: Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service

    Windows authentication is well suited for scenarios in which your users have domain credentials. Using basicHttpBinding with TransportCredentialOnly security mode option, users are authenticated by using Windows authentication. Here is an article described how to implement this. How to: Use basicHttpBinding...
  • Blog Post: WCF call has 15 seconds delay after idle for couple of minutes

    Customer has a WCF application which uses ASP.Net as a client. The service is hosted on another IIS as well. For secure purpose, customer enabled transport layer security for the WCF service. Customer found the ASP.Net web page took more than 15+ seconds sometimes while normally it takes less...
  • Blog Post: How to consume a self-hosted WCF service in a cross-domain environment by Silverlight client

    Background: When a Silverlight client tries to consume WCF service, it’s allowed only site-of-origin communication by default. For example, a Silverlight control hosted at http://domainA/default.aspx can only consume only services on that same domain by default, that is: http://domainA/WCFService...
  • Blog Post: WCF Performance troubleshooting

    I was recently engaged in a consulting project sponsored by one Premier customer. The project is kinda SOA and will leverage Microsoft SOA technology Windows Communication Foundation (WCF). The project as a whole may be composed of several different consumers for instance ASP.NET web application, WinForm...
  • Blog Post: Why can't I retrieve metadata of WCF service to generate proxy class successfully?

    Symptom: When we use svcutil.exe to generate the proxy class or configuration file through retrieving published WCF service metadata, or we add service reference in IDE to reference to a WCF service, we may receive below error message. “There is an error in the XML document. The maximum nametable...
  • Blog Post: How to impersonate or delegate a client in WCF

    In order to impersonate a client in WCF when WCF service is hosted on IIS6 or above version, we need to configure properly from WCF service, WCF client and AD perspective. WCF Service perspective: 1. Enable transfer security and, the client credential type must be windows credential. We can configure...
  • Blog Post: We’d love to share

    Welcome! This is a new blog for the Microsoft “Developer Support for Internet” Team (Asia region). The whole team locates in ShangHai, China. Resolving various technical issues for Premier and Profession customers is our job, enhancing customers’ experience with Microsoft technique is our high...
Page 1 of 1 (16 items)