Browse by Tags

Tagged Content List
  • Blog Post: Where is ASP.NET 4.5 …wait Where is .NET 4.5 ?

    When .NET 3.5 was released a lot of people wondered why ASP.NET 3.5 wouldn’t show up in IIS. http://blogs.msdn.com/b/vijaysk/archive/2008/03/20/running-asp-net-3-5-on-iis.aspx Well with .NET 4.5 you might be a bit more confused… So first .NET 4.5 will not show up in IIS But now if you check the Microsoft...
  • 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 you...
  • Blog Post: ASP.NET Debugger Extension – Manual Install / Uninstall

    In case you have problems with the setup files for ASP.NET Debugger Extension you can manually install the module. FILES ADE.dll This is the main module that loads in IIS Location : GAC ADEWOWHelper.exe This is a helper exe that is used in x64 environments to support WOW worker...
  • Blog Post: ASP.NET Debugger Extension – Trace Process for Debug Events

    With ASP.NET Debugger Extension you can also trace the process for events. This is actually a wrapper around the MdbgEngine (mdbgcore.dll) options to interrupt a process when an event occurs. You can use it to trace exceptions / module loads etc. For example below we are tracing for exceptions. Every...
  • Blog Post: ASP.NET Debugger Extension – Find Debug Modules

    ASP.NET Debugger Extension has an useful feature to find modules that are built in debug mode. You start by selecting a website, ADE then scans all the folders under that website to figure out the modules that are built in debug mode. Debug modules should usually not be deployed on production servers...
  • Blog Post: ASP.NET Debugger Extension – Callstack Viewer

    I recently created an ASP.NET Debugger Extension for IIS 7 that you can use to troubleshoot issues that would usually involve taking a memory dump of the process. One of the features in this extension is the ability to get a managed stack trace of all the threads in the worker process that are running...
  • Blog Post: ASP.NET Debugger Extension for IIS 7

    Just finished writing an extension for IIS 7 that will provide advanced debugging features for IIS worker processes running managed code. It basically does three things 1. Find Debug Modules This feature will help you scan your website content to spot modules that have been built in debug mode...
  • Blog Post: IIS 7 Tip # 10 You can generate machine keys from the IIS manager

    The machineKey element of the ASP.NET web.config specifies the algorithm and keys that ASP.NET will use for encryption. By default the validationKey and the decryptionKey keys are set to AutoGenerate which means the runtime will generate a random key for use. This works fine for applications that are...
  • 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. ...
  • Blog Post: Report Viewer Toolbar does not render properly on IIS 7.0

    I was recently working on a reporting web application that uses the Report Viewer ( ReportViewer ) control that ships with SQL Server Reporting Services (SSRS). The Report Viewer control was rendering perfectly when I was developing using Visual Studio 2008. The trouble started when I published the web...
  • Blog Post: Using Themes in ASP.NET loads System.Drawing namespace

    Using the System.Drawing namespace is strongly discouraged in ASP.NET as it leads to a lot of performance/runtime problems. Recently one of our customers reported an issue where we were getting GDI+ errors in a normal ASP.NET application. Exception type: System.Runtime.InteropServices.ExternalException...
  • Blog Post: The lone System.OutOfMemoryException in your memory dump

    I was recently asked ... Every time you run !dumpallexceptions ( !dae ) you will find that there is always a System.OutOfMemory exception object that will be listed Number of exceptions of this type: 1 Exception MethodTable: 0482151c Exception object: 182d005c Exception type: System.OutOfMemoryException...
  • Blog Post: MachineKeys For IIS 7.0

    IIS uses MachineKeys for encryption. IIS 6.0 uses a particular key c2319c42033a5ca7f44e731bfd3fa2b5_GUID to do the encryption. If you have worked on IIS Admin start up issues the machine keys is one of the first things we check because if you do not have the proper machine key you cannot enumerate the...
  • Blog Post: The ASP.NET - IIS Support Team has a new Weblog

    The ASP.NET - IIS support team has started a new weblog http://blogs.msdn.com/webtopics and I am one of the authors who will be working on it. We will be discussing common ASP.NET - IIS issues which get reported to us. So next time you face an ASP.NET - IIS issue you will most likely find the solution...
  • 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... but even...
  • Blog Post: Anatomy of ASP.NET Forms Authentication Return URL

    Consider you are browsing an asp.net web application that uses forms authentication and you are browsing the following url http://localhost:43751/FormsAuth/default.aspx?var1=test1&var2=test2&var3=test3 Once you time out you will be redirected to the login page with an URL similar to ...
  • Blog Post: A tryst with MSIL

    Any ASP.NET developer should be knowing that when his/her .NET application is compiled, the high-level code written in C# or Visual Basic .NET is compiled into the intermediate language MSIL. It is this MSIL that the Common Language Runtime (CLR) actually expects when the application is run. The CLR...
Page 1 of 1 (18 items)