Life, Surf, Code and everything in between
White Papers | Free Tools | Products | Message Board | News |

WebLog Posts in Category IIS
IIS 7 Error Pages taking over 500 Errors
April 29, 2009 @ 1:59 pm

I've been running into a problem with IIS returning error pages when my application is actually returning 500 errors along with custom content. IOW, IIS is taking over error display completely even if I send my own content for errors. This has some profound effects on error handling and on some custom handler implementations that relying on returning error information to the client. Thankfully there's a new ASP.NET 3.5 property that helps with this problem, although it's a rather obscure fix for this issue.

kick it on DotNetKicks.com
ISAPI Module Crashing on Application Pool Shutdown
August 22, 2008 @ 2:37 pm

So I have an odd issue with an ISAPI DLL that one of my products uses. The ISAPI interface provides a gateway interface to application servers and the actual module itself works fine without any problems. The problem is that the module is apparently crashing occasionally when the Application Pool is shutting down, but it's crashing after any of the DLL code has long stopped running. However, on...

kick it on DotNetKicks.com
Moving my Site onto a 64 Bit Server
August 07, 2008 @ 10:39 am

I'm finally getting ready to install my new Server and after some back and forth and testing on Windows 2008 I decided to go ahead and bite the bullet and go with the 64 bit version of Server. I've had mixed feelings about installing 64 bit given that I have had exactly zero experience running under 64 bit. I've not really seen a compelling reason on the desktop to run a 64 bit OS especially...

kick it on DotNetKicks.com
Non ASPX Extensions and Authentication in the IIS 7 Integrated Pipeline
May 23, 2008 @ 3:54 am

Ran into an issue where IIS 7's integrated pipeline exhibits different behavior authenticating non ASPX extensions. Looks like IIS 7 only authenticates mainline files resulting in Context.User==null or Context.User.Identity.IsAuthenticated==false. For example hitting CustomHit.axd doesn't provide user credentials where an ASPX url does.

kick it on DotNetKicks.com
Where's my .NET 3.5 (on IIS), Dude?
March 24, 2008 @ 12:36 pm

I just delivered a small 3.5 application to a  customer in compiled form and told him to install the application on IIS. The company is one I've dealt with on a few occasions and they are .NET aware shop where I deal with developers and a .NET familiar IT department. But it wasn't long after I sent my email that I got a call back from the customer who - slightly embarrassed - mentioned that they couldn't find the 3.5 Runtime option in the ASP.NET configuration panel.

kick it on DotNetKicks.com
Mike Volodarsky posts a Breaking Change list in IIS 7
December 11, 2007 @ 12:05 am

Mike's posted a comprehensive and readable list of breaking changes in IIS 7 along with workaround for most of them. There are 25 issues posted and if you are using Vista or planning to go to IIS 7 when Windows Server 2008 is shipped early next year this is a good thing to keep an eye on. Most of...

kick it on DotNetKicks.com
HttpModule and HttpHandler sections in IIS 7 web.config files
October 10, 2007 @ 12:21 pm

Moving between IIS 5/6 and IIS 7 often causes some web.config conflict between the system.web and system.webserver handler and module sections. IIS 7 expects its handlers and modules defined only in its configuration section - if you still have handlers in system.web a configuration error occurs. Here's a useful switch that lets you turn off validation of system.web handlers and modules so you can ship web.config files that contain both.

kick it on DotNetKicks.com
Strong Name Validation failed when Debugging ASP.NET on IIS7
August 21, 2007 @ 3:07 pm

Ugh, since I installed a new machine I ran into this error message above earlier. That's a pretty omnious sounding error message which seems to hint at a mis-configuration during installation. The error occurs as soon as you try to debug a Web application against IIS 7... As it turns out the...

kick it on DotNetKicks.com
IIS/ASP.NET Settings and Virtual Directory Inheritance
August 11, 2007 @ 12:32 am

Root directory web.config settings can easily interfere with child virtual application settings causing all sorts of problems. Here's why this is a problem and how to get around it.

kick it on DotNetKicks.com
Recent Patch hosing ASP Classic COM?
July 16, 2007 @ 4:16 pm

Since about a week and a half ago my server is jo-joing up and down frequently apparently due to IIS 6 Application Pool crashes. The problem started (in hindsight) right after installation of the maintenance patches from two weeks ago the week before Win2003 SP2 was released and installed (didn't...

kick it on DotNetKicks.com
GoDaddy and SocketPermissions
July 11, 2007 @ 1:29 pm

So I just got off the phone with support at GoDaddy for one of my customers and was told "Sorry we can't do that", when asked to provide socket permissions to go out and hit a POP3 server. GoDaddy has the web.config locked down and so you can't override the originUrl="site" so my customer is dead...

kick it on DotNetKicks.com
IIS Application Pool Crashes due to Temp File Permissions
July 10, 2007 @ 4:15 pm

My Web Server has been throwing a bunch of nasty errors recently and I've been trying to figure out what the heck is going on. The problem is that apparently App Pools have been crashing hard fairly frequently. In most cases this isn't a big deal as IIS will immediately spin up another app pool,...

kick it on DotNetKicks.com
64 Bit Servers, ISAPI and Managed Modules on IIS
July 06, 2007 @ 3:42 pm

So i took a support call from a customer of mine today who ran into problems installing Web Connection on a 64 bit machine. Web Connection works through a 32 bit ISAPI extension and sure enough a standard configuration will not allow this ISAPI extension to run. Any attempt to access a 32 bit...

kick it on DotNetKicks.com
HttpWebRequest and GZip Http Responses
June 29, 2007 @ 2:57 am

I've talked a bit about GZip compression (here and here and here) on the server recently. It's pretty straight forward to use GZip compression either by letting IIS do it for you automatically or by using some simple ASP.NET code to compress content. As a quick review to create GZip content on...

kick it on DotNetKicks.com
IIS 7 and JavaScript Compression not working consistently
June 22, 2007 @ 2:36 am

IIS 7 has improved and simplified support for GZip encoding enabled out of the box and for the most part it seems to be working well on my Vista install. I see my CSS and other text content properly GZip encoded. IIS 7 also allows you to encode dynamic content easily which is nice because that was...

kick it on DotNetKicks.com
Apache and Script Mapping
June 09, 2007 @ 12:03 pm

I've been struggling with mapping scripts to a custom ISAPI handler in Apache for some  in Web Connection (which is a FoxPro based ISAPI interface). Web Connection works with Apache, but recently with version 2.2 Apache changed its module binary format and required recompilation so I ended up...

kick it on DotNetKicks.com
IIS 6 Compression and App_Themes CSS
June 05, 2007 @ 12:15 am

Hmmm. I finally got around to setting up static GZip compression on my server. I can't remember the reason why I didn't do this sooner, but I today I was looking at some of my CSS files getting out of hand so I thought I better check into this again. It's easy enough to do. MVP Omar Al Zabir has a...

kick it on DotNetKicks.com
Blocking IIS IP Addresses with ASP.NET
April 28, 2007 @ 7:37 pm

Over the last few months I've had increasing SPAM traffic coming to my site, usually from a few select IP address groups. Most of this site spamming crap that I actually catch tries to simply POST to every possible URL on the site apparently that contains a FORM tag, spewing forth a plethora of...

kick it on DotNetKicks.com
Dynamically hooking up HttpModules
April 06, 2007 @ 1:09 am

Ran into an interesting question on the ASP.NET newsgroup today regarding a problem I've run into a few times myself. The issue revolves around virtual directory folder inheritance and web.config settings getting inherited from a root Web site. Anyway - one issue that has come up a few times is...

kick it on DotNetKicks.com
A dynamic class loading HttpHandlerFactory
April 02, 2007 @ 3:13 pm

Here are a couple of examples of how you can route custom script map extensions to your custom HttpHandlers.

kick it on DotNetKicks.com
Nested Item Templates for custom script extensions in Visual Studio
March 27, 2007 @ 7:01 pm

I'm working on an application that's using custom HTTP handlers to handle inbound Web requests where each script request is pointing at an HTTP handler. In this case the handlers need to be individual files so I have a script map configured in IIS with a special extension and then mapped to my...

kick it on DotNetKicks.com
System.Argument Exceptions in W3wp.exe and the VS Just-in Time Debugger
March 25, 2007 @ 2:16 pm

I've been noticing that on my server quite frequently I get managed exceptions bubbling up to the Dr. Watson and/or the Visual Studio Just In Time Debugging dialog on the desktop. Now this being a server machine I'm not happy about this happening of course because it clutters the desktop the next...

kick it on DotNetKicks.com
Update to free Web Configuration Utility
January 25, 2007 @ 5:06 am

I've updated my Web Configuration Utility with better support for IIS 7 and configuring .NET versions for a given Web Virtual.

kick it on DotNetKicks.com
Programmatically listing, getting and setting Application Pools
January 17, 2007 @ 12:34 am

Ever need to programmatically list, or get or set an IIS Application Pool? Here's the code to this programmatically with .NET code using DirectoryServices.

kick it on DotNetKicks.com
IIS 7 Integrated Pipeline Debugging on Vista, again
December 29, 2006 @ 12:17 am

Mike Volodarsky posts more information how to get F5 debugging working properly in Visual Studio. Due to the way Authentication works in ASP.NET 2.0 some debugging scenarios with F5 fail and a workaround is required.

kick it on DotNetKicks.com
IIS 7 Integrated Pipeline Debugging, Visual Studio 2005 SP1 and Request Tracing
December 26, 2006 @ 1:21 am

Visual Studio 2005 SP 1 allows debugging IIS 7 applications in Integrated Pipeline mode. In most cases - I've run into a few problems and solutions trying to figure out what went wrong and into one problem that I haven't been able to resolve yet.

kick it on DotNetKicks.com
IIS 7 and Rapid Fail Protection
December 19, 2006 @ 11:12 pm

IIS 7 has a new default feature called Rapid Fail Protection which detects failures and if too many failures occur in a specified period shuts down an Application Pool. Useful feature, but a little unexpected if you don't know about it and are wondering why your Application Pool has just shut down and won't restart automatically.

kick it on DotNetKicks.com
503 Service Unavailable in IIS 7 - watch those Application Pools
December 04, 2006 @ 11:12 pm

I ran into a funky issue with an application on IIS 7 today on my development machine: One of my Web applications simply would not respond to requests and IIS was reporting a 503 Error – Service Unavailable. Oddly enough though the rest of my Web site was working just fine – just this one...

kick it on DotNetKicks.com
Archives
Categories
ASP.NET (209) Personal (68) .NET (63) JavaScript (52) Visual Studio (50) jQuery (46) AJAX (45) LINQ (32) CSharp (30) IIS (28) Vista (28) HTML (26) WCF (25) Localization (21) Web Services (15) Windows (15) FoxPro (14) Microsoft AJAX (13) WPF (12) ADO.NET (12) COM (9) XML (9) Web Connection (8) Silverlight (8) CSS (8) ASP.NET (8) Sql Server (7) West Wind Ajax Toolkit (7) C++ (6) Hardware (5) MVC (5) Security (5) Office (4) Software Development (4) Html Help Builder (4) ISV (4) Bugs (4) DataBinding (3) Help Builder (3) Live Writer (3) HTTP (3) Source Control (3) Windsurfing (3) WebLog (3) Web Design (2) WinForms (2) Speaking (2) Tools (2) RegEx (2) RSS (2) Maui (2) Help (2) Installation (2) Conferences (2) IIS7 (2) Visual Studio (2) Addins (1) ADO.NET (1) Control Development (1) Graphics (1) iPhone (1) Html Help (1) IIS7 (1) Networking (1) Travel (1) Utilities (1) Threading (1) SmartPhone (1) wwHoverPanel (1) Web Deployment Projects (1)


West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2010