<%@Language='JScript' CODEPAGE=1252%> <% var Language = new String( Request.QueryString("Language") ) if ( Language == "ja" ) { Session.CodePage = 932; Response.CharSet = "shift-jis"; } else { Session.CodePage = 1252 Response.CharSet="iso-8859-1" } var SolutionID = new String( Request.QueryString("SolutionID" ) ) var TemplateID = Request.QueryString( "TemplateID" ) var ContactID = Request.QueryString( "ContactID" ) var ProductID = Request.QueryString( "ProductID" ) var ModuleID = Request.QueryString( "ModuleID" ) var Language = Request.QueryString( "Language" ) if ( SolutionID != "undefined" ) { var spQuery = "OCAV3_GetSolutionData " + SolutionID } else { var spQuery = "SEP_GetSolutionData " + TemplateID + "," + ContactID + "," + ProductID + "," + ModuleID + ",'" + Language + "'" } //Response.Write("SPQuery: " + spQuery + "
\n\n" ) //Response.Write("QueryString: " + Request.QueryString() + "
\n\n" ) //Response.Write("
kbarts: " + KBArticles + "
\n\n\n\n" ) %> \n" ); //Response.Write( "\t

" + szText + "

\n" ); } function fnReplaceSolutionFields ( rsData ) { var pattern; var newDescription = new String( rsData("Description") ); //Response.Write( "Module name: " + rsData("ModuleName") + "
" ) //Response.Write( "Product name: " + rsData("ProductName") + "
" ) //Response.Write( "Contact name: " + rsData("CompanyName") + "
" ) try { for ( field in CustomFields ) { var pattern = new RegExp( "<" + field + "><\/" + field + ">", "gi" ); try { if( field.toString() == "CONTACT" || field.toString() == "URL" ) { //test to see if the url starts out with http: if not, add it var regUrlTestPattern = /^http:/i var szCompanyWebSite = new String( rsData( "CompanyWebSite" ) ) if ( !regUrlTestPattern.test( szCompanyWebSite ) ) var szCompanyWebSite = "http://" + szCompanyWebSite var FieldData = new String( "" + rsData( CustomFields[field] ) + "" ) } else var FieldData = new String( rsData( CustomFields[ field ] )); } catch( err ) { var FieldData = new String( "Unavailable" ); } var newDescription = newDescription.replace( pattern, FieldData ) ; } } catch ( err ) { return ( false ); } return ( newDescription ); } function fnBuildKBArticles( szKB ) { var kbPattern = /^Q\d{1,6}/i; var retVal = ""; try { var szKBArray = String(szKB).split( "" ); for ( var i=0 ; i< szKBArray.length ; i++ ) { if ( i < szKBArray.length - 1 ) { szKBArray[i] = szKBArray[i].replace( "", "" ); if ( kbPattern.test( szKBArray[i] ) ) { if ( retVal == "" ) retVal = "
<% //Response.Write( Request.QueryString ) /* * Localizable constants */ var L_STATUSERRORMSGTITLE_TEXT = "Unable to complete action"; var L_STATUSERRORMSG_TEXT = "Windows Online Crash Analysis was unable to complete the requested action. Please try this task again."; var L_RETURNTOERRSTATUS_TEXT = "Return to error report status"; var L_CONTACT_COMPANY_NAME_TEXT = "Company Name:"; var L_CONTACT_COMPANY_ADDRESS_TEXT = "Company Address:"; var L_CONTACT_COMPANY_ADDRESS2_TEXT = ""; var L_CONTACT_COMPANY_CITY_TEXT = "City:"; var L_CONTACT_COMPANY_STATE_TEXT = "State:"; var L_CONTACT_COMPANY_ZIP_TEXT = "Zip:"; var L_CONTACT_COMPANY_PHONE_TEXT = "Phone:"; var L_CONTACT_COMPANY_SUPPORTPHONE_TEXT = "Support Phone:"; var L_CONTACT_COMPANY_FAX_TEXT = "Fax:"; var L_CONTACT_COMPANY_WEBSITE_TEXT = "Web site:"; var L_MANUFACTUERERINFORMATION_TEXT = "Manufacturer information"; var L_TRACKCRASH_TEXT = "Track this error report"; var L_TRACKCRASHACCESSKEY_TEXT = "c"; var L_ANALYSISSTATUS_TEXT = "Analysis status"; //var L_KBARTICLES_TEXT = "Knowledge Base articles"; var L_KBARTICLETEXT_TEXT = "Knowledge Base article"; var L_KBARTICLES_TEXT = "Additional Technical Information"; var L_RETURNTOSTATUS_TEXT = "Return to error report status"; var L_SURVEY_TOP_TITLE_TEXT = "Feedback (optional)"; var L_SURVEY_UNDERSTAND_INFO_TEXT = "Was the information easy to understand?"; var L_SURVEY_YES_OPTION_TEXT = "Yes"; var L_SURVEY_NO_OPTION_TEXT = "No"; var L_SURVEY_HELP_RESOLVE_TEXT = "Did this information help to resolve your issue?"; var L_SURVEY_ADD_COMMENTS_TEXT = "Comments (255-character maximum):"; var L_SUBMIT_TEXT = "Submit"; var L_RESET_TEXT = "Reset"; var L_GO_TEXT = "Go"; var L_TRACK_TEXT = "You can track this error report by clicking the Track this error report link. If you choose to track your error report, you will be notified of resolutions to this problem as they are identified."; var L_RESEARCHING_TEXT ="

Error is being researched

Thank you for submitting an error report to Windows Online Crash Analysis. Unfortunately, we cannot provide you with specific information about how to resolve this problem at this time. The information that you and other users submit will be used to investigate this problem.

Analysis

This error is currently being researched.

Getting Help

If this problem occurred after you installed a new hardware device or software on your system, try one of the following:

  • If you know the hardware or software manufacturer, contact the manufacturer's product support service for assistance.
  • If you don't know the manufacturer and need help diagnosing and resolving this problem, contact your computer manufacturer's product support service.
  • For information about Microsoft support options, visit Microsoft Product Support Services.
"; var L_RESEARCHINGADDITIONAL_TEXT = "

For more information, see Product Support Services on the Microsoft Web site.

"; // Local boolean values var bFromStatusPage = false; //did we get here from the status page var g_bDisplaySurvey = false; //display the survey? var g_bDisplayReproSteps = false; //display the comments? //local data structures holding the important stuff var CustomFields = { "CONTACT" : "CompanyName", "MODULE" : "ModuleName", "PRODUCT" : "ProductName", "PHONE" : "CompanyMainPhone", "URL" : "CompanyWebSite", "CONTACTNOURL" : "CompanyName" }; var ContactFields = { "CompanyName" : L_CONTACT_COMPANY_NAME_TEXT, "CompanyAddress1" : L_CONTACT_COMPANY_ADDRESS_TEXT + "
", "CompanyAddress2" : L_CONTACT_COMPANY_ADDRESS2_TEXT, "CompanyCity" : L_CONTACT_COMPANY_CITY_TEXT, "CompanyState" : L_CONTACT_COMPANY_STATE_TEXT, "CompanyZip" : L_CONTACT_COMPANY_ZIP_TEXT, "CompanyMainPhone" : L_CONTACT_COMPANY_PHONE_TEXT, "CompanySupportPhone" : L_CONTACT_COMPANY_SUPPORTPHONE_TEXT, "CompanyFax" : L_CONTACT_COMPANY_FAX_TEXT, "CompanyWebSite" : L_CONTACT_COMPANY_WEBSITE_TEXT }; if ( !fnGetSolution() ) { //fnPrintFailStateText( "" ); //make sure we don't let them take the survey on a crummy solution g_bDisplaySurvey = false; g_bDisplayReproSteps = false; } if ( g_bDisplaySurvey && !bFromStatusPage ) { %>

<%=L_SURVEY_TOP_TITLE_TEXT%>

Please provide us with feedback on how we helped you with your issue. Your feedback is important to us, and we will use it to improve our services.


<%=L_SURVEY_UNDERSTAND_INFO_TEXT%>

Yes

No

<%=L_SURVEY_HELP_RESOLVE_TEXT%>

Yes

No

<%=L_SURVEY_ADD_COMMENTS_TEXT%>

<% } if ( g_bDisplayReproSteps && !bFromStatusPage ) { %>

Add comments

Please provide us with comments on this particular error. This may help us find a resolution to this problem in the future.

<%=L_SURVEY_ADD_COMMENTS_TEXT%>

<% } /****************************************************************************************** Begin Functions ******************************************************************************************/ function fnPrintResearchingText() { Response.Write( "

" + L_RESEARCHING_TEXT + "

" + L_RESEARCHINGADDITIONAL_TEXT + "

" ); } function fnPrintFailStateText( szAdditionalLine ) { Response.Write( "

" + L_STATUSERRORMSGTITLE_TEXT + "

") Response.Write( "

" + L_STATUSERRORMSG_TEXT + "

") Response.Write( szAdditionalLine ) Response.End (); } function fnGetSolution() { //var TemplateID = Request.QueryString( "TemplateID" ) //var ContactID = Request.QueryString( "ContactID" ) //var ProductID = Request.QueryString( "ProductID" ) //var ModuleID = Request.QueryString( "ModuleID" ) //var Language = Request.QueryString( "Language" ) //var KBArticles = Request.QueryString( "KBArticles" ) var KBArticles = Request.QueryString( "KBArticles" ) try { var cnSolutionDB = new Object( GetDBConnection( Application("SOLUTIONS3" ) ) ); //var spQuery = "SEP_GetSolutionData " + TemplateID + "," + ContactID + "," + ProductID + "," + ModuleID + ",'" + Language + "'" //Response.Write("
spQuery: " + spQuery + "
" ) var rsSolutionData = cnSolutionDB.Execute( spQuery ); if ( rsSolutionData.EOF ) { return false; } else { var szSolutionBody = fnReplaceSolutionFields ( rsSolutionData ); //TODO: Once all the templates are edited and in the right format, get rid of the // p tags around the szSolutionBody, they will be in the template. //Response.Write( "

" + szSolutionBody + "

\n" ); Response.Write( szSolutionBody + "\n" ); if ( String( KBArticles ).toString() == "undefined" ) var KBArticles = new String( rsSolutionData( "KBArticles" ) ) var szKBArticles = fnBuildKBArticles ( KBArticles ); if ( szKBArticles ) { Response.Write( "

" + L_KBARTICLES_TEXT + "

" ); //Response.Write( "
" + szKBArticles + "
"); Response.Write( szKBArticles + "
" ); } //Since the RS is associated with the Connection object, closing just the connection will also close the RS. //if ( cnSolutionDB.State == adStateOpen ) cnSolutionDB.Close(); } return true; } catch ( err ) { //fnPrintError( err.description, "Error in fnGetSolution" ) //Response.Write( "

" + err.description + "

") return false; } } function fnPrintSurveyRow ( szText, szClass ) { Response.Write( "\t

" + szText + "




Linked buckets

Bucket ID Type
<% var query = "SEP_GetSolutionSolvedBuckets " + SolutionID try { var g_DBConn = GetDBConnection ( Application("SOLUTIONS3") ) var rsResults = g_DBConn.Execute( query ) var altColor = 'sys-table-cell-bgcolor2' if ( rsResults.EOF ) { Response.Write("\n" ) } while ( !rsResults.EOF ) { if ( altColor == 'sys-table-cell-bgcolor2' ) altColor = 'sys-table-cell-bgcolor1' else altColor = 'sys-table-cell-bgcolor2' var BucketID = rsResults("BucketID") Response.Write("\n" ) Response.Write("\n" ) rsResults.MoveNext() } } catch( err ) { //Response.Write("err: " + err.description +) //Response.Write("No linked buckets available: " + err.description + "
" + query ) Response.Write("No linked buckets available. " ) } %>
No linked buckets available
" + BucketID + "" + rsResults("Type") + "