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 side.   However recently I met one case that both static and dynamic…

0

You may experience “’Configuration file is not well-formed XML” error while using DFSR to synchronize the IIS configuration files

Background   Recently we have several customers reported that they are using DFSR (Distributed File System Replication) to replicate IIS related configuration files between member servers.   However, sometimes once they make a change in IIS on the primary node, they found that the application pools failed to be started as expected on the member…

1

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 tohttp://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.0 bit, please refer to http://blogs.msdn.com/b/asiatech/archive/2012/06/21/how-to-troubleshoot-httpexception-request-timed-out-asp-net-4-0-64-bit.aspx Symptoms ======== The user may receive the following response intermittently: Request timed out. Description: An unhandled exception occurred…

4

You may experience “The configuration system has already been initialized” exception after installing the KB2844285

  Background Recently we have several cases related to the KB2844285 (MS13-052: Description of the security update for the .NET Framework 2.0 Service Pack 2 on Windows XP and Windows Server 2003: July 9, 2013). Customer reported that some of the web applications failed to work with the following exceptions in event logs:   Event…

0

Case Study: OutOfMemory Exception caused by XmlSerializer is not used properly

Background Recently we handled a case which symptom was a little bit weird: there is only an error code saying 998 without anything else. We checked the error code 998 and was told “invalid access to memory location”.  So it seems that the memory was corrupted during that time.   Finally, we captured dump file…

1

WAWS — Allow HTTPS access only

  Windows Azure Web Sites supports HTTPS by default. This means you can access the site using both HTTP://yoursite or HTTPS://yoursite. Some of our customers asked about how to disable HTTP access and allow HTTPS access only for their Azure Web Sites. The direct way is to using the sslFlags setting like below.    <system.webServer>…

0

WAWS: could not load file or assembly ‘msshrtmi’

  Symptom When access a Windows Azure Web Sites, got follow error message.   Could not load file or assembly ‘msshrtmi, Version=1.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]   Analysis Assembly “msshrtmi” is installed on the GAC of hosting…

2

Case Study: Incorrect use of HttpApplication.Init

  I got two cases with different products: 1.       ASP.NET 2.0 application stops responding intermittently. 2.       WF 4.0 workflow service reported the following exception: Exception: System.Runtime.CallbackException   Message: Async Callback threw an exception.      …   InnerException: System.Runtime.DurableInstancing.InstanceHandleConflictException   Message: The execution of an InstancePersistenceCommand was interrupted because another valid InstanceHandle holds a lock…

0

maxConnection setting may not work even autoConfig = false in ASP.NET

Case background: Recently, we have a case that asp.net will consume the backend web service. We found the bottleneck was caused by the maxconnection to the remote web service. We changed  the maxconnection setting  like below by following the KB821268 of old version: “ maxconnection   The maxconnection parameter determines how many connections can be…

0

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…

0