Worker process restarting repeatedly disabling the application pool

I have been into .NET debugging recently and one of the issues I was able to figure out the root causeJ. Crash issues are normally easy to troubleshoot :o)   PROBLEM DESCRIPTION: The customer was getting “Service Unavailable” whenever he accessed his ASP.NET 2.0 application   TROUBLESHOOTING STEPS: Ø  The customer browsed to his application…

1

Troubleshooting heap corruption issues

One of my customers was noticing that his worker process crashed repeatedly (W3SVC error 1011). While troubleshooting this issue, we had collected crash dumps using debugdiag tool. After looking into the dumps I saw that we were running into heap corruption issues. 0:000> !heapvalidate 0ERROR: Unable to resolve structure ntdll!_HEAP_FREE_ENTRY (0 == m_TargetLength).WARNING: Unable to read…

0

How to reset Authentication ticket timeout value on every request

One of my customers had implemented forms authentication in his ASP.NET 2.0 web application. He was facing problem with session and authentication timeouts. They saw that the session time out value was resetting on every post back, but authentication ticket expiration value was not resetting until it comes below the half way mark of its…

0

How to remove Etags

One of my customers wanted to know how he can disable the entity tags in the IIS headers. He wanted to disable it to improve Web browser caching performance. (Ref: http://developer.yahoo.com/performance/rules.html#etags) For more information on the Etags refer to the following articleMD_ETAG_CHANGENUMBER Metabase Property (IIS 6.0)http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ef7f9d58-2a96-4bd8-8ac1-2a67b43284f1.mspx?mfr=true My customer had tried changing the MD_ETAG_CHANGENUMBER metabase property,…

2

Getting System.MissingMethodException: Method not found

PROBLEM DESCRIPTION: ===================== One of my customers was trying to redefine the caption property of his datagrid and was getting the following error message System.MissingMethodException: Method not found: Void System.Web.UI.WebControls.BaseDatalist.set_Caption(System.String)   TROUBLESHOOTING DONE: ======================= –          The customer was on RTM version of 1.1 framework and the Caption property of the datagrid wasn’t listing in the…

0

Unable to configure SharePoint Products and Technologies Configuration Wizard

I started with MOSS 2007 today and first thing I did was to install MOSS 2007 J. The installation was successful with a few initial hiccups, but while trying to run SharePoint Products and Technologies Configuration Wizard, I got the following error message. —————————SharePoint Products and Technologies Configuration Wizard—————————Failed to start the database service MSSQL$OfficeServers. …

21

How TO: Change Application Pool Identity Programmatically

A few days back I had a thought that how a System Administrator tend to have the same settings on all his thousand-plus servers. Definitely he wouldn’t go around in each and every server of his and try creating a new virtual directory or an application pool. He will have some script written that will replicate…

5

Button events not firing over NLB

I have seen many blogs and a lot of articles that talked about how to use in-process sessions or viewstate over load balancing. 90 out of 100 such articles come talking about the MachineKey attribute in the machine.config file. The <machineKey> element is used to control tamper proofing and encryption of ViewState, forms authentication tickets,…

0

How To: allow null values for certain fields in a record of the Biztalk schema

I got this interesting issue the other day when I was troubleshooting a Biztalk issue with one of my customers. The customer had created a schema using BizTalk 2004 and was using a text file as the input for this schema. The records in this input file contained many fields and certain fields might have…

0

Unable to browse the web application pointed to a share located on another computer

I got an interesting issue a few days back which I would like to share with everyone. The story goes as follows.J My customer had configured the virtual directory of his application to point to a share located on another computer as \\{server}\{share}. They were using a user called “x.x.x.x\User1” for the “Connect as” user,…

0