Notes from a dark corner

Debugging ASP.NET, the CLR and anything that uses clock cycles.

Browse by Tags

Tagged Content List
  • Blog Post: Microsoft EMEA IIS/ASP.NET and web developer support team

    I recently attended an offsite meeting in Munich for our Microsoft EMEA IIS/ASP.NET and web developer support team. It’s the first time we’ve had the chance to get together in one place for several years (even though we work together everyday!) and it was great to meet up. Not everyone could make it...
  • Blog Post: “Script Error encountered", "'__doPostBack' is undefined” or MaintainScrollPositionOnPostBack fails to maintain the scroll position

      You may receive this error in the browser using Internet Explorer 10: “Script Error encountered", "'__doPostBack' is undefined” Fixes are now available for Microsoft .NET Framework 3.51 (Windows 7 / Windows Server 2008 R2), Microsoft .NET Framework 4.0 and Microsoft .NET Framework 2...
  • Blog Post: “System.Runtime.InteropServices.COMException (0x80070102): Operation failed” trying to send a Fax from an ASP.NET application

    I recently had a support case where the customer was trying to send a fax from an ASP.NET application but was getting this error when they did: System.Runtime.InteropServices.COMException (0x80070102): Operation failed They got this error after a short delay after executing the fax code. They were trying...
  • Blog Post: You spent HOW much on our new server and the app slowed DOWN??!!

    I had a support case recently where the customer had moved their server farm onto brand new hardware, each server with lots of CPUs. At the same time they had taken the operating system from Windows Server 2003 to Windows Server 2008 R2. I forget how many CPUs they had but let’s just say that their task...
  • Blog Post: How to figure out why your web application is running slow.

    I came across this great “portal article” (by which I mean it has links to resources on a particular topic) about Developer Tools & Platforms Performance It starts of with a short plug for Microsoft advisory services but then moves onto a long list of self-help resources, including articles, blog...
  • Blog Post: FIX: Inline data-binding expressions in a templated web user control disappear after you generate a local resource for an ASP.NET 2.0 web application

    We've now published the KB article for a new hotfix that arose from a customer case I was working on recently: FIX: Inline data-binding expressions in a templated web user control disappear after you generate a local resource for an ASP.NET 2.0 web application If after reading the article you want the...
  • Blog Post: MS10-070 - Important ASP.NET security bulletin and update available

    On Tuesday we released a very important security bulletin and update for ASP.NET. If you are responsible for an ASP.NET web server please take the time to review the information and act accordingly. I’m not going to try and regurgitate the detail here but here are some key links: Bulletin MS10-070 http...
  • Blog Post: Errors installing ASP.NET 4.0

    Here is a little problem you might run into when trying to use aspnet_regiis.exe to register ASP.NET 4 on a site. C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regiis -i Start installing ASP.NET (4.0.30319). ....... Finished installing ASP.NET (4.0.30319). Setup has detected some errors during...
  • Blog Post: Perfecto–a performance tool for ASP.NET applications

    Not had a chance to try this out yet but this looks pretty interesting: http://blogs.msdn.com/b/josere/archive/2010/04/09/taking-a-quick-peek-at-the-performance-of-your-asp-net-app.aspx It takes advantage of the ETW infrastructure to give insight into why your ASP.NET application might be running slowly...
  • Blog Post: Free Web Application Toolkits

    Ever wanted to develop some cool new website feature but not been sure how to start? Well, there are a bunch of web application toolkits here to get you started. They demonstrate how to start developing sites that incorporate features such as calendars, Bing mapping, Bing search, RESTful services, mobile...
  • Blog Post: ASP.NET User-Agent limitation expanded from 256 to 512 characters

    Today, I am pleased to bring you a guest posting from one of my colleagues, Daisuke Maki, Escalation Engineer for Web Developer technologies in Microsoft Japan. In fact this is the English translation of Daisuke’s original posting in Japanese which is available here .   “For security reasons, ASP...
  • Blog Post: Failed to CoCreate profiler

    Sometimes support cases are like buses. You never see one and then two or three the same come along all at once. Recently one of my team mates asked me about an error his customer was getting in their event log: Source: CLR Category: None Event ID: 0 Description: The description for Event ID (0) in Source...
  • Blog Post: More on the mysterious case of accessing .NET Performance Counters using WMI

    Back in February I blogged about a strange case we had seen where a customer was having trouble seeing certain ASP.NET performance counters when using WMI to access them . If you start Perfmon with the /WMI switch then Perfmon uses WMI rather than the native performance counter APIs to read the data...
  • Blog Post: Summary of ASP.NET Versions, Updates and Hotfixes

    [Note: November 2010 Some recent fixes added] [Note: September 2009 I am in the process of trying to bring this list up to date. It may not be complete] There is nothing worse than wrestling with a problem for ages only to discover later that there is already a fix for it. I therefore felt it would be...
  • Blog Post: ASP.NET fixes page

    This page is no longer being updated. Please see this page instead. [last update - 20th November 2007 - added 938276 and .NET 2.0 SP1 entry,] [previous update - 31st August 2007 - added 939866,] [previous update - 3rd August 2007 - corrected some of the versions for current beta products] There is nothing...
  • Blog Post: “Web server here” shell integration

    This is a very useful and neat little trick: http://haacked.com/archive/2008/06/24/vs2008-web-server-here-shell-extension.aspx Doug
  • Blog Post: Some recent ASP.NET fixes (March 2009)

    [Updated 8th April 2009. I don’t generally like to change posts after they have been published but I wrote this post while some of the KB articles were still being authored. For a number of reasons there have been some changes to which articles document what issue, so I’m updating the below table to...
  • Blog Post: Hey, where's my session state gone?

    This is from a case I helped a customer with last Autumn. It was one of those kick yourself moments when I realised what the problem was and we even have a KB article about it. But it is relatively uncommon and you wouldn't necessarily come across the article by chance. Scenario You're using out of process...
  • Blog Post: "Error creating control - ControlInstanceName '[text]' could not be set on property 'PropertyName' " in Visual Studio 2008

    One of the cases I've been working on recently is for an issue introduced by Microsoft .NET Framework 3.5 Service Pack 1. The fix has now been finalised and released on the MSDN Code Gallery .   When you get this error the symptoms are like this: You didn't have the problem before applying the service...
  • Blog Post: Getting the .NET Framework made easy...

    The Microsoft .NET Framework product group have been busy making it easier to find out about and install the latest version of the .NET Framework... a simple URL and a clean UI at http://www.microsoft.com/net/   It's certainly easy to remember. And while I'm at it, worth a mention is the Microsoft...
  • Blog Post: ASP.NET food for thought...

    Looking for some great ASP.NET information and learning resources? Here's a few .. ASP.NET Whitepapers ASP.NET FAQ Securing ASP.NET Websites Learn ASP.NET If you've got any favourites, I'd love to hear about them! Cheers Doug
  • Blog Post: Bogus error messages during compilation of C# web projects after installing Visual Studio 2008 SP1

    A fix has published for an issue whereby after installing Visual Studio 2008 SP1 you may see bogus error messages during compilation of your C# based web projects. You may see lots of compilation error messages in the output pane when you compile a project that compiled perfectly well before installing...
  • Blog Post: A long lost friend

    I was looking for one of my blog posts the other day that talks about how ASP.NET uses Windows memory. I was hunting and hunting and could not find it anywhere. I finally realised that at some point I had somehow left it in an unpublished state (probably after editing some minor type or something). So...
  • Blog Post: Link: Useful article on ASP.NET Performance...

    Over on the "ACE Team" blog there's a useful blog post with some performance tips for ASP.NET sites . The point about batch compilation and Debug="true" was certainly correct for version 1.1 but I think in ASP.NET 2.0 they are decoupled - so by default batch compilation remains on...
  • Blog Post: Free Microsoft Developer and web design software for full time students

    This sounds like a good deal. Free? Free? Sounds to good to be true :-). But it is. If you are a full time student and into software development, take a look: https://downloads.channel8.msdn.com/Overview.aspx Check the site for details, but at time of writing the products included were: Visual Studio...
Page 1 of 2 (49 items) 12