Using AppVerifier with ASP.NET

From: Christian Laforte (claforte_at_dakis.com)
Date: 12/17/04


Date: Fri, 17 Dec 2004 14:06:16 -0500

Hello,

    Our company is trying to pass Microsoft Platform certifications our core
product. Our product uses a web service implemented with ASP.NET 1.1.
According to the requirements for the certification, we need to use
AppVerifier on the product and verify that no heap, handles or locks are
leaked. I have been unable to do so despite three days of trial and error.
Here are the steps I have followed so far:

    1. I have read all of the available documentation I could find: "Testing
Applications with AppVerifier" [1] and "Debugging Services for Application
Compatibility Testing" [2]. I have installed WinDbg, and I have been able to
use AppVerifier on regular applications.
    2. On Windows XP Pro, I have added the 1.1 version of the aspnet_wp.exe
process, to the list in AppVerifier.
    3. I then had to increase the permissions on the ASPNET user so it would
run again (I made it a power user for the duration of the test). Otherwise
the process would never start, and the event viewer showed that there was no
permission for aspnet_wp.exe to run some of the AppVerifier-specific
libraries.
    3. I tried changing the registry as described in [2], to ensure that
windbg runs aspnet_wp.exe.
    4. I then killed aspnet_wp.exe and waited a bit for it to restart, which
it did.
    5. I ran a client application that uses the web service. The web service
works perfectly.
    6. The problem I have, is that no log seems to be produced by
AppVerifier. Even if I select "`Show all" in the Logs window, I only see
other application that I ran earlier.

    Also, on this machine I have the latest Whidbey beta installed... but I
have made sure that IIS and other applications I am testing are using
ASP.NET 1.1.

   Can anybody confirm that it is possible to use AppVerifier on an ASP.NET
application or web service? Could anyone guide me through the necessary
steps? Considering that Microsoft is encouraging web services and asp.net, I
find the absence of documentation on exactly how to get this stuff certified
quite disappointing.

    Thanks,

Christian Laforte
Director of R&D, Dakis Decision Systems



Relevant Pages

  • Re: Web references and AppVerifier
    ... It is lists Windows XP and Windows Server ... As far as sample code goes I created a C# ASP.Net web service and a C# ... Running the test app in WinDbg hits the invalid handle exception before the ... AppVerifier errors or warnings but moving the actual application will ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Microsoft Partner Certification.
    ... I am currently trying to test my web application for the Microsoft Partner ... Certification with appverifier. ... How can I create a negative test for each of these in the quickest way? ...
    (microsoft.public.win32.programmer.tools)
  • AppVerifier 3.2 does not generate logs
    ... Certification. ... When i attach my program to AppVerifier and select ... is a AppVerifierLogs folder. ...
    (microsoft.public.win32.programmer.tools)

Loading