Browse by Tags

Tagged Content List
  • Blog Post: How to export IIS .config and .key files at the command line

    Handy for a batch maintenance operation a customer had to run on a few hundreds servers: they basically needed to do what’s described in this article but in a script rather than from the IIS GUI. From Shared Configuration (Appendix 3) : By default, IIS includes two main providers for securing properties...
  • Blog Post: Error 502 - Web server received an invalid response while acting as a gateway or proxy server

    I saw this error some time ago while working on an eCommerce solution. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server. Redirect/move happens like it should, but after approximatively 2 minutes after...
  • Blog Post: Moving to Windows 2008: smartcard slow performance?

    Suppose you have a web application which authenticates clients through a smartcard certificate and everything is working fine, then you decide to move your web application to Windows Server 2008 (which is a good decision in many ways ) but your users are suddenly complaining about slow performance, pages...
  • Blog Post: Sometimes they come back

    Stephen King fans like me for sure know Night Shift , a collection of 19 short stories I first read almost (oh, my…) almost 20 years ago. In Italian the title of this collection has been translated as “A volte ritornano” which literally means Sometimes they come back . This is exactly...
  • Blog Post: IDEVDataCollector adds IIS6 support

    It took me some time (mostly because of other demanding tasks and commitments I have for my daily job) but finally I have just updated IDEVDataCollector to support IIS 6, it’s available at the tool main page: http://blogs.msdn.com/carloc/pages/idevdatacollector.aspx . Give it a try and let me know what...
  • Blog Post: Which files to collect? Here’s a tool for you

    Over the last couple of months among other things I’ve been working on a tool to automatically the logs and information in my team we usually ask at the beginning of a new Support Call: all standard things such as IIS logs, event logs, .config files etc… Not all of those files are necessary for every...
  • Blog Post: Missing ASP.NET Tab (this time on Windows 2000)

    I already wrote a post on this matter some time ago , but this week worked on the same problem on a Windows 2000 Server, of course 32 bit. Running aspnet_regiis -i did not help so we tried to run the script Tom provides in his post, but we got the error here below:   Line 41 is “ Set objIIS = GetObject...
  • Blog Post: ASP.NET 1.1 not configurable in IIS Manager?

    If you search the Internet you’ll likely find a good number of articles and blog posts about how to configure ASP.NET 1.1 on IIS 7, here are a couple of good examples: How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008 Workaround: Running ASP.NET 1.1 on Vista SP2/WS08 SP2 Thread: Running...
  • Blog Post: Three errors, one cause: me!

    A few days ago I was working on a repro I got from a customer as I very often do, and for some reason after a while my IIS started to behave oddly, pages where not served, the application pool was stuck doing “something” and whenever I tried to open the IIS Manager I got the error “There was an error...
  • Blog Post: IIS logs around midnight

    Recently I had an interesting discussion with a friend of mine about IIS logging: basically he configured his web server to create a new log every day and then wanted to use a third party tool to extract some statistics and graphics from the logs. Unfortunately the tool often has troubles and gets weird...
  • Blog Post: WebResource.axd going over HTTP when we are browsing on HTTPS

    Consider this scenario: you are browsing a web site which at some point switches from http to https, and your browser show you a warning. In Firefox you get: Connection Partially Encrypted Parts of the page you are viewing were not encrypted before being transmitted over the Internet. Information sent...
  • Blog Post: Again on 503, “Service Unavailable” in IIS7 x64

    Getting feedback always nice, as it is getting suggestions about new posts as happened this morning with my colleague Michael Clemens after he read my latest entry from yesterday (so thanks Mike for sharing this!). The point is, you may get a similar experience (exactly vice versa) after having installed...
  • Blog Post: “Service Unavailable” in IIS7 with 32 bit application pool

    As sometime happens, while setting up a repro for a customer (I’m working with him on a completely different problem) I wanted to test my sample code on a 32 bit w3wp.exe instance (I am running Windows 2008 x64); nothing easier on IIS7, just create a new application pool and change its “Enable 32.Bit...
  • Blog Post: Unable to get the private bytes memory limit for the W3WP process (reloaded)

    Sometimes they come back , as my favorite writer says… This is the case of this error message I already wrote about a couple of years ago ; anyway this time the customer before calling CSS for support had already tried the suggestions on my previous post, unfortunately without luck. The customer has...
  • Blog Post: How to disable HTTP compression for specific file types?

    The question arose from a customer whom had implemented an application to stream PDF files from ASP.NET and was also using HTTP compression to save bandwidth and improve download time; using IE 6, Adobe Reader failed to open the file with the following error message: Adobe Reader could not open ‘<name>...
  • Blog Post: WebResource.axd or ScriptResource.axd not working

    Http compression with client-side scripting should be handled with care. The problem can have different symptoms and manifest in different ways, but essentially it has a common root cause and I have already discussed some of the aspects (for example see here and here ). This time the customer whom reported...
  • Blog Post: How many application pools can you cope with?

    This is an interesting question I have to admit I had not thought to until we got a case from a customer whom was in trouble with his production servers: how many application pools can you run on IIS? Event better, how many w3wp.exe instances can the OS cope with? As quite often happens in our job, the...
  • Blog Post: Time-taken and LogParser for web site statistics

    The time-taken field is quite handy if your web application or IIS web server is performing poorly (or slower that you expect) or even for simple statistics and monitoring purposes, if you want to keep under how long it takes every web request to be processed and the page sent back to the client. In...
  • Blog Post: Missing ASP.NET Tab in IIS Management Console (the solution)

    Remember this problem ? Well, Tom (and Jeremy and Vandana) has a solution     Carlo Quote of the day: There is no abstract art. You must always start with something. Afterward you can remove all traces of reality. - Pablo Picasso
  • Blog Post: Disable recycling in IIS 7? Use AppCmd

    I stumbled on this while trying to repro a remote debug problem for a customer: as you might know from this post from Johan, debugging ASP.NET on IIS7 needs some special care about the application pool recycling policy otherwise if you’ll not be fast enough IIS will kill your process. Well, I was doing...
  • Blog Post: Ajax resource intermittently not accessible (http compression)

    A few days before Christmas I had a case where the customer was intermittently getting troubles with his javascript/Ajax resource; as usual everything was working fine on the development machine, but when moved on the production server the application started throwing some client side javascript exceptions...
  • Blog Post: Corrupt installation? Do not repair Visual Studio

    (Unable to start debugging on the web server. An error occurred that usually indicates a corrupt installation. If the problem persists, repair Visual Studio installation via 'Add or Remove Programs' in Control Panel)   I saw this happening on a Vista x64 while trying to debug an ASP.NET application...
  • Blog Post: The error indicates that IIS is not installed on the machine. Please install IIS before using this tool

    Yesterday I was working on a sample project got from a customer, when Visual Studio 2005 showed this dialog:   Ok I thought, let's fix the application mappings . I did, but got the following:   What? Are you kidding me? Of course IIS is installed, I'm using it every day... But wait a minute...
  • Blog Post: HTTP error 406 with .NET Framework 3.0

    I got a couple of cases about this problem recently... Imagine this scenario: you install the .NET Framework 3.0 on your client, and then browse an ASP.NET based web site; you get a 406 HTTP return code from the web server, which means "Client browser does not accept the MIME type of the requested page...
  • Blog Post: Server Error 500, unable to create new session

    I saw this problem reported on a Windows 2000 Server (IIS 5.0), I've not checked if the same could also happen on IIS 6/7... The application is build on classic ASP pages and the error appeared about once per day on a test server; when browsing the user got a message reading " unable to create new...
Page 1 of 2 (36 items) 12