Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

144 lines
4.9 KiB

  1. <%@Language = JScript %>
  2. <%
  3. /**********************************************************************************
  4. Debug Portal - Version 2
  5. DESCRIPTION : Entry point to the debug portal site.
  6. MODIFICATION HISTORY: 01/18/2002 - Created
  7. ***********************************************************************************/
  8. %>
  9. <!--#INCLUDE FILE='Global_DBUtils.asp'-->
  10. <!--#INCLUDE FILE='Global_ServerUtils.asp'-->
  11. <%
  12. var IncidentID = new String( Request.Form("IncidentID") )
  13. var ueBucketID = Request.Form("BucketID")
  14. //var BucketID = Server.URLEncode( Request.Form( "BucketID" ) )
  15. var iBucket = new String( Request.Form( "iBucket" ) )
  16. var MessageBody = new String()
  17. var TrackID = new String( Request.Form("TrackID") )
  18. var Email = new String( Request.Form("Email") )
  19. var BucketID = Server.URLEncode( ueBucketID )
  20. var MessageType = new String( Request.Form("MessageType") )
  21. var MessageSubject = new String()
  22. var BucketComment = new String()
  23. Response.Write("incident id: " + IncidentID + "<BR><BR>")
  24. g_DBConn = GetDBConnection( Application("CRASHDB3" ) )
  25. Response.Write( Request.Form )
  26. /*
  27. MessageBody = "Request for additional information\n\n"
  28. MessageBody += "Request By : Mailto:" + Request.Form("Alias") + "@Microsoft.com\n"
  29. MessageBody += "Bucket URL : http://" + g_ServerName + "/bluescreen/debug/v2/DBGPortal_ViewBucket.asp?BucketID=" + BucketID + "\n"
  30. if ( IncidentID != "undefined" )
  31. {
  32. MessageSubject = ueBucketID + " - Request for Additional Crash Information (Individual Crash)"
  33. BucketComment = "Requesting additional information for IncidentID " + IncidentID
  34. MessageBody += "Cust Detail: http://" + g_ServerName + "/bluescreen/debug/v2/DBGPortal_DisplayCustomerInformation.asp?IncidentID=" + IncidentID + "\n"
  35. }
  36. else
  37. {
  38. MessageSubject = ueBucketID + " - Request for Additional Crash Information (Bucket)"
  39. BucketComment = "Requesting additional information from this entire buckets customers"
  40. MessageBody += "Customer Email aliases: http://" + g_ServerName + "/bluescreen/debug/v2/DBGPortal_DisplayBucketSpecifics.asp?BucketID=" + BucketID + "\n\n"
  41. }
  42. MessageBody += "iBucket : " + iBucket + "\n\n"
  43. if ( TrackID != "undefined" )
  44. MessageBody += "Track ID : " + TrackID + "\n"
  45. if ( IncidentID != "undefined" )
  46. MessageBody += "Incident ID: " + IncidentID + "\n"
  47. if ( Email != "undefined" )
  48. MessageBody += "Email Addr : Mailto:" + Email + "\n\n"
  49. MessageBody += "Requested Information:\n"
  50. if ( Request.Form("chkKernelDump") == "on" )
  51. MessageBody+= "Kernel Dump\n"
  52. if ( Request.Form("chkFullDump") == "on" )
  53. MessageBody+= "Full Dump\n"
  54. if ( Request.Form("chkSpecialPoolTagging") == "on" )
  55. MessageBody+= "Turn on Special Pool Tagging\n"
  56. if ( Request.Form("chkEnableTrackLock") == "on" )
  57. MessageBody+= "Enable Track Locking\n"
  58. if ( Request.Form("chkReproSteps") == "on" )
  59. MessageBody+= "Need additional repro steps\n"
  60. MessageBody +="\n\n"
  61. MessageBody +="Additional Information/Comments:\n"
  62. MessageBody +=Request.Form( "taAdditionalInfo" )
  63. */
  64. MessageBody += "Additional Information Requested:<br>"
  65. if ( Request.Form("chkKernelDump") == "on" )
  66. MessageBody+= "Kernel Dump<br>"
  67. if ( Request.Form("chkFullDump") == "on" )
  68. MessageBody+= "Full Dump<br>"
  69. if ( Request.Form("chkSpecialPoolTagging") == "on" )
  70. MessageBody+= "Turn on Special Pool Tagging<br>"
  71. if ( Request.Form("chkEnableTrackLock") == "on" )
  72. MessageBody+= "Enable Track Locking<br>"
  73. if ( Request.Form("chkReproSteps") == "on" )
  74. MessageBody+= "Need additional repro steps<br>"
  75. MessageBody +="<br>Additional Information/Comments:<br>"
  76. MessageBody +=Request.Form( "taAdditionalInfo" )
  77. //SendMail( "[email protected];[email protected];[email protected]", "Request for Additional Crash Information (Individual Crash)", MessageBody )
  78. //took this out for the new solution queue business
  79. //if ( DebugBuild == 1 )
  80. //SendMail( "[email protected]", MessageSubject , MessageBody )
  81. //else
  82. //SendMail( "[email protected];[email protected];[email protected]", MessageSubject , MessageBody )
  83. //Response.Redirect( "DBGportal_ViewBucket.asp?BucketID=" + Server.URLEncode(BucketID) )
  84. //Response.Redirect ("DBGPortal_ViewBucket.asp?BucketID=" + BucketID )
  85. //Response.Redirect("DBGPortal_AddComment.asp?BucketID=" + BucketID + "&iBucket=" + iBucket + "&Action=3&Comment=" + BucketComment )
  86. Response.Redirect("DBGPortal_AddComment.asp?BucketID=" + BucketID + "&iBucket=" + iBucket + "&Action=3&Comment=" + MessageBody )
  87. //Response.Write( MessageBody )
  88. %>
  89. <PRE>
  90. <%=Response.Write( MessageBody)%>
  91. <BR>
  92. <BR>
  93. <BR>
  94. <%Response.Write("<BR><BR>DBGPortal_AddComment.asp?BucketID=" + BucketID + "&iBucket=" + iBucket + "&Action=3&Comment=Requesting additional information for IncidentID " + IncidentID )%>
  95. </PRE>