It is common to install or uninstall Web Server features. You need these features to execute ASP.NET pages, perform logging, authenticate user requests, etc…. Figure 1 shows a sub-set list of features which you may choose to install. Figure 1, Add Roles and Features list, small example Try walking through the ‘Add Roles and Features’ […]
Read More →Archive for September, 2012
Recreate Event Viewer logs
If you ever receive “the event log file is corrupted” on Windows 2008 R2, try the following list of actions to fix it. Following these steps result in the recreation of the event logs. Open a command as an Administrator and enter “NET STOP EVENTLOG” as shown in Figure 1. Figure 1, stopping event logging […]
Read More →How to capture a memory dump of a W3WP process that consumes too much CPU
If you want to find out why a W3WP worker process is consuming so much CPU, you can use ProcDump. You might also use LogParser to look at the time-taken field, but to get to the root cause you will need to get deep into the source. Before you can get a memory dump, you […]
Read More →StaticCompressionDisableCpuUsage and DynamicCompressionDisableCpuUsage
Performance problems are generally difficult to find the root cause of and fix. There are so many ‘touch points’ that where to start looking much less finding the root cause while the issue is happening, can be a challenge. I found these 4 Compression settings very interesting and a system administrator should review them and […]
Read More →Professional Microsoft IIS 8, co-author Benjamin Perkins
The Professional Microsoft IIS 8 book is now available, check it out. I had the opportunity to contribute a few chapters to it. What an awesome experience! There are lots of examples, experiences, discussions and reviews of the new features found in IIS 8. You can get an inside look at the contents on Amazon […]
Read More →Change or modify a Response Header value using URL Rewrite
If you have ever used a tool that allows you to view the request and response headers, you certainly know that there is some information being passed back and forth between the client and the server that is not simply visible. An example of possible fields can be found here or here. New in IIS […]
Read More →NHibernate Serialized startup
In all of my NHibernate implementations I serialize the startup. It saves a noticeable amount of time. We know that without it, NHibernate validates all the mapping files each time we start the program. If we only have 1 or 2 simple files it is not a problem, however, if you have a large implementation, […]
Read More →Nhibernate MappingException could not compile the mapping document
The following error is generally caused when there is a misspelling or case miss match between the class file and the mapping file. Review the contents of both and confirm spelling and case are the same so that the ‘Could not compile the mapping document: hbm.xml’ error can be avoided. The inner exception is something […]
Read More →NHibernate 3.2, What’s New?
The newest release is as BETA 1 when writing this blog an it contains some new and nice features. One of my favorite is that as a programmer we no longer need to configure a proxy. It was always a little confusing knowing which one to choose, I.e. looking in the Required_For_LazyLoading directory and deciding […]
Read More →Could not load type “Namespace.Class” from assembly “Namespace”
I have been working hard learning the new features of ASP.NET 4.5, specifically using the following methods: HttpResponse.BeginFlush HttpResponse.EndFlush Stream.ReadAsync HttpRequest.GetBufferedInputStream HttpRequest.GetBefferlessInputStream Stream.BeginRead Stream.EndRead All of which need to be implemented using either a handler or module, if you want to use them in IIS. Can’t say that I did this a lot in the […]
Read More →