Using a Custom FastCGI Handler on Windows Azure Web Sites

  WAWS supports PHP by default, and it allows you to configure your own FastCGI as well. Below is the details about how to deploy it. 1. Deploy your FastCGI executable to the WAWS web site. For example, upload it to the “bin” folder of your web site.2. Create an ASP file that contains the…


Details PHP error information to help troubleshooting PHP application in Windows AZure Web Sites logs

  We used to turn on the Detailed Error Messages to help troubleshooting problems of web application hosted on Windows Azure Web Sites. This feature is not only available for ASP.Net application, but available for PHP application as well. Here is the steps about how to enable and get the log. Turn on “DETAILED ERROR…


Windows AZure Web Sites FREB trace for slow requests

IIS 7 and later allow you configuring failed request tracing for a Web site, application, or directory by define tracing rules. There are two types of rules available: statusCodesSpecifies the status code(s) you want to trace. You can enter multiple status codes in this list by using commas to separate each code. You can also refine your status…


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:   msado15.dll is responsible for 146.24 MBytes worth of…


Joomla site — unwritable logs and tmp folder when hosting on Windows Azure Web Sites

  When hosting Joomla 2.5 site on Windows Azure Web Sites (WAWS), you are not able to install plug-ins which is an exciting feature of Joomla. It turned out the problem is due to unwritable temp folder. In the site Administration page, click “Site” -> “System Information” -> “Directory Permissions”, you should see follow result….


ASP.NET Case Study: SiteMapResolveEventHandler Memory Leakage

  I got two memory leak cases last month and the cause is related to SiteMapResolveEventHandler.   The general steps on debugging managed memory issue are: 1.       Run !dumpheap -stat to output what objects are in the managed heap. Then you need to identify what types of objects increased or occupied the most. 2.       Run…


Troubleshoot: Client Calls to DCOM "Server Failed With :A security package specific error occurred. (Exception from HRESULT: 0x80070721)."

Customer has an web application, which needs to call a remote DCOM server. However the web application intermittently got this error message;”A security package specific error occurred. (Exception from HRESULT: 0x80070721).” Before moving forward, we need to check if the environment hits below known issues: A COM+ application may stop working on Windows Server 2008…


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 to frequent Garbage collection, and this is a kind of…


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 in the code. Exception Details: System.Web.HttpException: Request timed out. Source Error: An unhandled exception…


Insight WPAD proxy settings on IE

  Backgrounds The Web Proxy Auto-Discovery Protocol (WPAD) is a method used by clients to locate a URL of a configuration file using DHCP and/or DNS discovery methods. Once detection and download of the configuration file is complete it can be executed to determine the proxy for a specified URL. WPAD is documented in an…