4.4 Generic Error Reporting Example with Request for Error Report Level 2 Data (Level 2 of the Protocol Is Executed)

  1. An error, for example, an installation failure, occurs.

  2. The system creates an error report.

  3. The CER client checks whether a destination server has been configured. The following value is set: testserver.corp.xyz.com.

  4. 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="Test" apppath="E:\tools\wersample.exe" appcompany="Test Corporation"/>
     <EVENTINFO reporttype="1" eventtime="128497001160460289" eventtype="MikeTest" friendlyeventname="MikeTest"/>
     <SIGNATURE>
     <PARAMETER id="0" name="Problem Signature 01" value="1000"/>
     <PARAMETER id="1" name="Problem Signature 02" value="2000"/>
     <PARAMETER id="2" name="Problem Signature 03" value="3000"/>
     </SIGNATURE>
     </WERREPORT>
    
  5. 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.

  6. The server returns an HTTP code of 200 with the following ANSI text in the body:

     Bucket = 502
     BucketTable = 5
     iData=1
     WQL=SELECT Family FROM Win32_Processor
     DumpFile=\PersistedCabs\Generic\MikeTest\1000\2000\3000\41ed848b-30fe-4db5-92e9-7745d2ceb2b8
    
  7. The CER client creates a cab file with the error reporting data.

  8. The CER client constructs the level 2 destination URL with the host as testserver.corp.xyz.com and the URL path as DumpFile=\PersistedCabs\Generic\MikeTest\1000\2000\3000\41ed848b-30fe-4db5-92e9-7745d2ceb2b8, and uploads the cab data by using an HTTP PUT.

  9. The CER server returns an HTTP code of 200.