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: Debug Diagnostic 2.0 – Generate a series of manual hang dumps for a specific process

    For Debug Diagnostic 1.2, please refer to http://blogs.msdn.com/b/friis/archive/2012/01/04/debug-diagnostic-1-2-generate-a-series-of-manual-hang-dumps-for-a-specific-process.aspx This article will detail the action plan you can implement to generate a series of manual hang dumps using Debug Diagnostic...
  • Blog Post: Debug Diagnostic 2.0 – Creating a rule in Hang mode to use the response time of the request.

    For Debug Diagnostic 1.2, please refer to http://blogs.msdn.com/b/friis/archive/2012/01/04/debug-diagnostic-1-2-creating-a-rule-in-hang-mode-to-use-the-response-time-of-the-request-etw.aspx This article will detail the action plan you can implement to create a rule in Debug Diagnostic 2.0...
  • Blog Post: Debug Diagnostic 2.0 – Creating a rule in crash mode

    For Debug Diagnostic 1.2, please refer to http://blogs.msdn.com/b/friis/archive/2012/01/04/debug-diagnostic-1-2-creating-a-rule-in-crash-mode.aspx This article will detail the action plan you can implement to create a rule in Debug Diagnostic 2.0 to automate a dump generation when an IIS process...
  • Blog Post: A Tool to Monitor COM+ Component Call Time and Trigger Memory Dump in An Automation Way

    There were multiple ways to monitor COM+ Component call time automatically, most of them require certain C++ coding efforts or rely on third party legacy Dll. Especially when we experienced intermittently slow COM+ performance issues, it is hard to trigger Memory Dump for certain COM+ component. ...
  • Blog Post: Both Static and Dynamic Pages are Loading Very Slowly even for Local Visits on IIS 7.X

    Usually when dynamic pages (ASPX) have slow responding issue, we can still get satisfied performance with static pages (HTML, GIF, CSS…). Because they are loaded on different request handling stacks and static pages loading by default doesn’t require compile/rendering/Executing on server...
  • Blog Post: How to generate a dump file by using process orphaning on IIS 6/7.x

    There is a KB article about How to generate a dump file when ASP.NET deadlocks in IIS 6.0. Please refer to http://support.microsoft.com/kb/828222 . This is not only applied to deadlock issue in IIS 6. Some errors only happen in a production environment. Killing worker processes ensures up-time but troubleshooting...
  • Blog Post: How to troubleshoot HttpException Request timed out (ASP NET 2 0 64-bit)

    NOTE: The following steps apply to ASP.NET 2.0 (64 bit). They have not been tested in other versions of ASP.NET. For ASP.NET 2.0 32 bit, please refer to http://blogs.msdn.com/b/asiatech/archive/2011/07/06/how-to-troubleshoot-httpexception-request-timed-out-asp-net-2-0-32-bit.aspx For ASP.NET 4...
  • Blog Post: Debugging PHP using Windbg

    After the release of Windows Azure Websites, we are happy to see that we attracted a lot of PHP users hosting their web site on Azure Websites. A very common type of request we received from customer is how to troubleshooting PHP site performance issue. Last time, I published a blog using XDEBUG, but...
  • Blog Post: Using Kudu to capture First-Chance dumps for Windows Azure Web Sites

    Last time, I introduced about how to use Kudu to capture a hang dump. This time, using the feature provided by Kudu, we can capture First-Chance dump for worker process which is very helpful for analysis application crash/exception issues. In this article, I will show you how to get the dump step...
  • Blog Post: Using Kudu to capture hang dumps for Windows Azure Web Sites

    Kudu is the engine behind GIT deployments in Azure Web Sites. Using the feature provided by Kudu, we can capture hang dump for worker process which is very helpful for analysis performance issues. Please note this is still an experimental feature . In this article, I will show you how to get the dump...
  • Blog Post: A memory leak caused by msado15.dll

    Customer has COM+ application running on Windows Vista SP2. Found memory keeps increasing. After enabled Memory Leak tracking on application process by DebuDiag, we canptured memory dump successfully. From the memory dump, using DebugDiag Analsyis: 1. Found the leakage pattern points to the functions...
  • Blog Post: Induced GC happened frequently and caused High CPU when creating Serviced Component in ASP.NET 2.0

    Customer reported one High CPU issue while one ASP.NET application is under normal load. Regarding ASP.NET application, besides the multiple threads busy, tighten looping code defect some general possibilities, looking at the memory usage is quite important because heavy memory pressure may lead...
  • Blog Post: HttpException “Request timed out” error occurs even if executionTimeout attribute is set to a large value

    Symptoms ======== My customer receives the following response intermittently: Request timed out. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated...
  • Blog Post: How to troubleshoot HttpException Request timed out (ASP.NET 4.0 64-bit)

    NOTE: The following steps apply to ASP.NET 4.0 (64 bit). They have not been tested in other versions of ASP.NET. (For ASP.NET 2.0 32 bit, please refer to http://blogs.msdn.com/b/asiatech/archive/2011/07/06/how-to-troubleshoot-httpexception-request-timed-out-asp-net-2-0-32-bit.aspx ) Symptoms...
  • Blog Post: MBSchema.bin.00000000h Corruption caused IIS6 Admin Service failed on starting

    Recently I faced one IIS Admin starting failure issue. When customer tried start IIS Admin Service, the service was pending on starting, and then failed. If we check the event log, we will see: Event Type: Error Event Source: Application Error Event Category: (100) Event ID: 1000 Date: 3/31/2012 Time...
  • Blog Post: A Useful Tool to generate dump file for a particular service

    Many services run in the SVCHOST host process rather than under its own executable. Because of this, it may be difficult to dump a particular service unless you are able to isolate that particular service from the other services loading under SVCHOST . For examples: if Winmgmt services is suspected of...
  • Blog Post: ASP.NET application loads slowly the first time

    Symptom =========== When visiting an ASP.NET application for the first time, it is rather slow. It might take a long time from dozens of seconds to several minutes. Root Cause ============ In ASP.NET web application, if you use some Authenticode Signed .NET assemblies, the application...
  • Blog Post: A not so common stack overflow

    This is an ASP.Net 2.0 application experienced stack overflow on both X86 and X64. Same again, we captured crash dump file to find out the reason of stack overflow. Here is the edited output of fault stack. 0:014> kL ChildEBP RetAddr 01cd3d80 7a0363d7 kernel32!RaiseException+0x53 ...
  • Blog Post: W3WP.EXE hangs with 50% CPU usage

    This is an ASP.Net application running on IIS 7. The application hangs with 50% CPU every time making a change to web.config. C ustomer has to restart IIS services to resolve the problem. Changing web.config during application running is not a good idea since this triggers application domain recycle...
  • Blog Post: ASP.Net application hangs due to string.IndexOf

    I had an interesting case recently. We discovered a hang in ASP.Net application caused by string.IndexOf method. Problem description: Frequently, this ASP.Net application would hang and the IIS worker process needs to be restarted for the application to function correctly. This happens even when...
  • Blog Post: Heap corruption in HttpCacheModule while you try to remove HTTP headers in your custom HTTP module.

    Some users want to remove certain HTTP headers in IIS 7.0/7.5 to avoid divulging platform information through response headers. They usually implement a custom HTTP module and remove the headers in PreSendRequestHeaders notification. public void Init(HttpApplication app) { app.PreSendRequestHeaders...
  • Blog Post: How to load the specified mscordacwks.dll for managed debugging when multiple .NET runtime are loaded in one process

    When multiple .NET runtime are loaded in one target process or one dump file, for example: 0:030> lm start end module name 00000000`1b6d0000 00000000`1b9ba000 System_Data (deferred) … 000007fe`f3e60000 000007fe`f47c5000 clr (deferred) … 000007fe`f9880000 000007fe...
  • Blog Post: Whole FTP server hang when upload a file

    Customer has a scheduled task to upload a picture to FTP server at fixed time every day. The whole server will hang for several minutes as long as the task was executing. During this period, there was no response to keyboard and mouse. The performance counters were blank as well during that period. ...
  • Blog Post: Could not find the file 'C:\WINDOWS\TEMP\<XML serializer(Random generated file name)>.dll

    Customer has an ASP.Net application uses XmlSerializer. The XML serialization infrastructure dynamically generates assemblies(by calling CSC.EXE) to serialize and deserialize specified types. By default, the assemblies will be created under %TEMP%. The file name is random generated by CSC to avoid conflict...
  • Blog Post: Heap corruption in FindCustomError

    Heap corruption is by nature a complicated issue to troubleshoot and in some cases luck is as important as debugging knowledge as well. I got an assistance request from one customer saying that they encountered a W3WP process crash intermittently. He reported that the server was indeed under heavy load...
Page 1 of 2 (41 items) 12