Stupid Testing Trick #2: Which .NET framework rendered the Web page?


So I’m told…When a Web server that has the 1.1 .NET framework installed as well as the 2.0 framework, if the Web app’s virtual directory is set to utilize 2.0 it’s possible that “issues” could occur and that it could revert back to 1.1 to keep the app running (not too sure what “issues” are). How do you figure out which framework your Web page was created with? Modify the applications web.config’s trace key “enabled” and “pageOutput” parameters to be true and then the “localOnly” to be false:


<trace enabled=”true” requestLimit=”10″ pageOutput=”true” traceMode=”SortByTime” localOnly=”false” />


Once modified, you are then in BIZNESS! View/open the suspect application/Web page in your browser and look at the very bottom of the trace dump. The .NET Framework version will be displayed. It will will look something like this:


Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


Have a Stupid Testing Trick? Email me using the “E-Mail” link on the right.

2 Responses to Stupid Testing Trick #2: Which .NET framework rendered the Web page?

  1. Rosemary Petteruti says:

    Rosemary Petteruti says: Stupid tests for stupid people!! Hmmm, think about that one!!!!

  2. Rosemary Petteruti says:

    Rosemary Petteruti says: Stupid tests for stupid people!! Hmmm, think about that one!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *