4.1 Application Fault Example with Request for Error Report Level 2 Data (Level 2 of the Protocol Is Executed)
An application fault occurs while the user is running test tool Gpfme.exe.
The system creates an error report.
The CER client checks whether a destination server has been configured. The following value is set: testserver.corp.xyz.com.
The CER client creates the error report level 1 data in Unicode.
<?xml version="1.0" encoding="UTF-16"?> <WERREPORT xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <MACHINEINFO machinename="client-machine.corp.cliendomain.com" os="6.1.6561.2.0.0.256.1" lcid="1033"/> <USERINFO username="Username"/> <APPLICATIONINFO appname="WER GPF Test Utility" apppath="E:\tools\GPFMe.exe" appcompany="Test Corporation"/> <EVENTINFO reporttype="2" eventtime="128496925196486378" eventtype="APPCRASH" friendlyeventname="Stopped working"/> <SIGNATURE> <PARAMETER id="0" name="Application Name" value="GPFMe.exe"/> <PARAMETER id="1" name="Application Version" value="6.0.4082.0"/> <PARAMETER id="2" name="Application Timestamp" value="40ce670d"/> <PARAMETER id="3" name="Fault Module Name" value="GPFMe.exe"/> <PARAMETER id="4" name="Fault Module Version" value="6.0.4082.0"/> <PARAMETER id="5" name="Fault Module Timestamp" value="40ce670d"/> <PARAMETER id="6" name="Exception Code" value="c0000005"/> <PARAMETER id="7" name="Exception Offset" value="000031de"/> </SIGNATURE> <FILES> <FILE filetype="5" filename="Version.txt"/> </FILES> </WERREPORT>
The CER client constructs the level 1 destination URL with the host as testserver.corp.xyz.com and the URL path as "/stage2.htm", and does an HTTP POST of the error report level 1 data.
The server returns an HTTP code of 200 with the following ANSI text in the body:
Response=http://oca.microsoft.com/resredir.aspx?SID=32 Bucket = 500 BucketTable = 5 iData=1 WQL=SELECT Family FROM Win32_Processor DumpFile=\PersistedCabs\Generic\APPCRASH\GPFMe.exe\6.0.4082.0\40ce670d\GPFMe.exe\6.0.4082.0\40ce670d\c0000005\000031de\8747c307-c461-42ba-abf5-7fd98d8bb0ec.cab
The CER client creates a cab file with the error reporting data.
The CER client constructs the level 2 destination URL with the host as testserver.corp.xyz.com and the URL path as \PersistedCabs\Generic\APPCRASH\GPFMe.exe\6.0.4082.0\40ce670d\GPFMe.exe\6.0.4082.0\40ce670d\c0000005\000031de\8747c307-c461-42ba-abf5-7fd98d8bb0ec.cab, and uploads the cab data by using an HTTP PUT.
The CER server returns an HTTP code of 200.