WebTopics

IIS and ASP.NET Information and Tips from Microsoft Developer Support

Browse by Tags

Tagged Content List
  • Blog Post: Webinar–Intellitrace for ASP.NET

    If the answer to any of the above questions is YES, then Visual Studio’s “ IntelliTrace ” is your friend. IntelliTrace literally records the details of an application that can then be played back at any time to debug an issue. This results in faster time to resolution and fewer bug...
  • Blog Post: 64 bit IIS manager,32 bit worker process and root web.config settings

    The IIS 7 manager provides a UI for almost all sections for the web.config. It does simplify things for administrators but I have seen a couple of cases where this has lead to interesting problems. Let us consider the Machine Key feature that the IIS 7 manager provides. It is well known that when...
  • Blog Post: A Tale of Two Developers and Visual Studio Sites and Apps

    We've encountered several scenarios in which customers have multiple developers working on a single web application in Visual Studio. In such cases, it's not uncommon for each developer to be working on a portion of the application. There isn't any problem in working with this way, but you may encounter...
  • Blog Post: ASP.NET MVC: What is it and should I use it?

    In March of this year, we released ASP.NET MVC. Since then, many ASP.NET developers have been perplexed about MVC. Many developers aren't quite sure what MVC is and what it means for ASP.NET developers. Many more developers have some level of understanding when it comes to MVC but are not sure when it...
  • Blog Post: In-Proc Session State Management

    What is ASP.NET Session? A session is defined as the period of time a unique user interacts with a particular web application. HTTP is a stateless protocol, in the sense that a Web server is concerned only with the current HTTP request for any given Web page. The server retains no knowledge of previous...
  • Blog Post: “Parser Error Message: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.” when .net page has debug=”true”

    Recently, I came across an issue where the customer faced an FIPS (Federal Information Processing Standards) related error on the .aspx pages which had debug=”true”. His ASP.net application was hosted on IIS7 running on Windows Server 2008 SP2. And, he was able to reproduce the issue using a very simple...
  • Blog Post: How to Add a Locked Header Row to an ASP.NET GridView Control

    The GridView control is often used to display tabular data, much like an Excel spreadsheet. However, unlike Excel, the GridView control doesn't have any automatic way of locking the header row so that it doesn't scroll out of view. Check out this example of a GridView within a DIV with the overflow...
  • Blog Post: Fix: UpdatePanel Async Postbacks Slow in Internet Explorer

    We've seen a few issues recently where customers were experiencing very slow async postbacks via an UpdatePanel, but only in Internet Explorer. Other browsers worked fine. (When I say "very slow", I mean in the neighborhood of 30 seconds!) The cause for this isn't a mystery to us. Because of the way...
  • Blog Post: Troubleshooting System.OutOfMemoryExceptions in ASP.NET

    When the .NET Framework was first released, many developers believed the introduction of the garbage collector meant never having to worry about memory management ever again. In fact, while the garbage collector is efficient in managing memory in a managed application, it's still possible for an application...
  • Blog Post: HttpException Due to Invalid Viewstate After Installing .NET Framework 3.5 SP1

    In the recent past I have come across several issues where our customers have started running into ViewState issues after installing SP1 for .NET Framework 3.5. The exception details are similar to the following:   Server Error in '/ActionTest' Application. Validation of viewstate MAC failed. If...
  • Blog Post: How To View what ASP.NET Requests are doing at runtime on IIS 6.0

    This is just a quick blog to mention a forgotten tool. The managed stack explorer can be run on an IIS 6.0 Server running ASP.NET 2.0 to investigate the managed call stacks. Looking at the call stacks when an ASP.NET application is not responding may help identify what the requests are doing. Setting...
  • Blog Post: Caution while xcopying IIS 7.0 config files

    Metabase.xml is the central store where IIS 6.0 stores most of its configuration information. Its a plain text file and stores all the information in a simple XML format. The XML format naturally raised a notion of being able to XCOPY the config file to another server and transferring the settings with...
  • Blog Post: WebBaseEvent.Raise method fails in Application_Start event with a NullReferenceException on IIS 7.0

    If you implement custom health monitoring events in ASP.NET chances are that you should have worked with WebBaseEvent or WebErrorEvent classes and used the WebBaseEvent.Raise() method to fire those events. Recently an interesting issue related to this WebBaseEvent.Raise() was brought to my notice. Suppose...
  • Blog Post: Issue with publishing web-site as non-updatable with "Use Fixed Naming and Single Page Assembly" and assembly versioning

    Few days back I came across an issue with Publish Web Site and assembly versioning. One of my customers was trying to publish a web site as non-updatable with "Use Fixed Naming and Single Page Assembly" option. Also at the same time they are setting the assembly version to the assemblies as...
  • Blog Post: Why I am not able Turn Off CustomErrors?

    This week I got an interesting issue altogether. One of my customers was unable to turn off the CustomErrors at all. We checked all the web.config files in hierarchy including the web.config and machine.config in C:\WINNT\Microsoft.NET\Framework\v2.0.50727\CONFIG. All files had an entry <customErrors...
  • Blog Post: What Vista Firewall settings are required for enabling remote debugging?

    This a bit of a tricky thing. We all know the famous KB for “How to turn on remote debugging in Windows XP with Service Pack 2, in Windows Server 2003 Service Pack 1, or in Windows Vista” and we do all these settings on the Vista box to turn on debugging. But this is not quite enough some times and in...
  • Blog Post: Why can’t I execute two requests from the same session simultaneously for an ASP.NET application?

    Many times we need pop-up windows to appear in our Web Applications. In such a scenario we have the same user session used by the two instances of the web browser. So for N number of pop-ups we open, we have N instances of browsers using the same user session. So the question which will come to mind...
  • Blog Post: Why do I get &quot;Invalid postback or callback argument&quot; Errors?

    Introduction:   This is the first post of mine so thought of starting with a simple but tricky issue which I came across in few support incidents I have handled. I had a scenario where one of my customers was getting an error message like - Invalid Postback or callback argument . Event validation...
  • Blog Post: Where is ASP.NET 3.5 on IIS ?

    Most people on installing .NET 3.5 on the server "expect" an entry for  v3.5 under the ASP.NET version Tab in IIS manager. And not finding that entry start panicking. If you have been one of those read on. The more tech savvy folks try to run aspnet_regiis -i from the v3.5 framework folder...
  • Blog Post: Weeking recap of ASP.NET Debugging blog

    Here are last weeks updates to the ASP.NET Debugging blog: Code Gallery and CodePlex, how are they different and what are their benefits? An Open Debugger Extension Job openings with the .NET Framework Team ASP.NET Tips- What to gather to troubleshoot – part 1 – High CPU
  • Blog Post: Getting out the IP Address from System.Net.IPAddress

    Ever try looking at the IP Address from this object?  It isn’t very easy to see what the actual address is, so take a look at this post for how to get the data out: ASP.NET Tips: Printing an IP Address
  • Blog Post: Looking at the finalization queue in the debugger

    Want to see what objects you have added a finalizer too, follow the information here .
  • Blog Post: Understanding when to use a Finalizer in your .NET class

    If you are going to use a finalizer in your .NET class, be sure to read this post so that you understand when you should and shouldn’t use it: Understanding when to use a Finalizer in your .NET class
  • Blog Post: ASP.NET Tips: How to use DebugDiag to track down where a performance problem is coming from

    Narrowing down a problem is sometimes the hardest part of troubleshooting.  Learn how DebugDiag can help save the day in this post: ASP.NET Tips- How to use DebugDiag to track down where a performance problem is coming from
  • Blog Post: Visual Studio Designer not Respecting Assembly Binding

    Another issue we discovered is around this.  This is a rather specific situation, check out the posting to get more information on the issue: Visual Studio Designer not Respecting Assembly Binding Redirection
Page 1 of 2 (32 items) 12