"Sign in as Different user" doesn’t work in SharePoint Portal?

  Microsoft SharePoint providers a feature allows you to “Sign in as another user”.   I got two escalations regarding the “Sign in as Different user” feature recently. The customer’s design of this feature is pretty simple: –          Links “Sign in as Different User” to a page –          This page returns 401 response to client…


How to perform a stress test with WCAT tool

  Background: Here suppose we have two machines: one is the web server, and another one which simulates a client to send out HTTP requests.  And the web server name is renhe2. Normally speaking, the steps to have a load test with WCAT can be summarized as below 3 steps: §  Initialize the WCAF Controller…


Using PowerShell to filter IIS Failed Request Tracing files

  Failed Request Tracing is very helpful and easy way to troubleshooting errors, slow requests and unexpected IIS response.   Sometimes I received too many tracing files. I hate to open them one by one to find out the trace file I am interesting and this is time consuming.   The trace file itself is…


Case Study: .NET Memory Leakage caused by Un-Released Oracle Objects

  One Customer met an obvious .Net memory leakage issue in production environment. The memory usage quickly increased in peak time till application failed.   Captured the hang memory dump by DebugDiag 3 times with one hour time interval. By comparing the three dump files, we can see the String, Bytes, and OracleParameter are top…


Failed to install ASP.NET MVC 1.0 on Windows Server 2012 X64

  I got a problem when setting up a very cool environment. I was unable to provision a web worker role as the installation of required ASP.NET MVC 1.0 failed.   For the MSI setup issue, KB 223300 is always the start point.   223300  How to enable Windows Installer logging http://support.microsoft.com/kb/223300/EN-US   I enabled…


How to resolve the “Could not load file or assembly” Issues on Windows AZure Web Sites

  One of the most common problems reported regarding Windows Azure Web Sites is “Assembly Loading” issue. Here are some of the forum posts.   http://social.msdn.microsoft.com/Forums/en/windowsazurewebsitespreview/thread/cab09b05-e09f-420a-9ad3-87e6ab12e3f0 http://social.msdn.microsoft.com/Forums/en-US/windowsazurewebsitespreview/thread/d361a111-4ba9-48b1-8732-1a55ab7b59bb http://social.msdn.microsoft.com/Forums/en-US/windowsazurewebsitespreview/thread/608214eb-916a-4f6c-bb81-2fd3516ced24 http://social.msdn.microsoft.com/Forums/en-US/windowsazurewebsitespreview/thread/6191e663-d014-4a7e-8885-8823f6d1a780 http://social.msdn.microsoft.com/Forums/en-US/windowsazurewebsitespreview/thread/6f68a726-bddb-4312-ae75-043b775da271 http://social.msdn.microsoft.com/Forums/en-US/windowsazurewebsitespreview/thread/e0b86ebe-2a47-4626-bc0d-5c05b39bff7b   If you site works well locally. However, after you deployed to WAWS, it doesn’t work anymore, then you need to consider about this….


What does “recommended security and compatibility settings” in IE 9 first-run wizard mean?

  By default, each user is prompted to choose 1 of below 2 options at the first run of IE 9. ·         “Use recommended security and compatibility settings” ·         “Don’t use recommended settings”   If you choose the first option, below 2 registry key values will be set to 1,   •             HKCU\Software\Microsoft\Internet Explorer\BrowserEmulation\MSCompatibilityMode If…


A Lightweight web stressing tool

We have some good tools to stressing a web application to evaluate the application’s performance under load. For example, WCAT, this is a good tool, but a little complex. TinyGet is another tool, however, it can send GET request only.   During help on a customer issue, I created a simple UI stressing test tool…


IE Home page GPO applied with delay

  Recently I worked on an IE home page GPO issue:   Symptom ========   My customer configured a GPO for IE home page www.bing.com in IE maintenance policy. This policy does not take place for the domain user until the domain user runs gpupdate /force manually on the client machine or applies 90 min…


How to Add Trust Sites into IE before IE10 through Group Policy

  Due to IE10 published, I’ll conclude the methods that how to add trust sites in to IE of the version before IE10.   General, there are three methods to set trust sites to client machine by GPO from DC configured on windows 2003 or windows 2008.   If the client machine is newer than…