1
Vote

Getting errors when I click on a build - Event ID: 1309

description

Hello,
 
I am relitively new to Automaton but I'm now the appointed admin. It has been working fine for the last few months but now when we click on a build we get an error message as follows:
 

Server Error in '/Automaton' Application.

 
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

The request failed with the error message:

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head> <title>Server Unavailable </title> </head> <body>
 <h1><span style="font-family:Verdana;color: #ff3300">Server Application Unavailable
</span></h1>
 <p>
  <span style="font-family:Verdana;">
   The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.
</span></p>
<p> <b>Administrator Note: </b> An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. </p> </body>
</html>
 
--.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

The request failed with the error message:

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head> <title>Server Unavailable </title> </head> <body>
 <h1><span style="font-family:Verdana;color: #ff3300">Server Application Unavailable
</span></h1>
 <p>
  <span style="font-family:Verdana;">
   The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.
</span></p>
<p> <b>Administrator Note: </b> An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. </p> </body>
</html>
 
--.
 
Source Error:
 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
 
Stack Trace:
 
 
[InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

The request failed with the error message:

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head> <title>Server Unavailable </title> </head> <body>
  <h1><span style="font-family:Verdana;color: #ff3300">Server Application Unavailable
</span></h1>
  <p>
   <span style="font-family:Verdana;">
    The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.
</span></p>
<p> <b>Administrator Note: </b> An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. </p> </body>
</html>
 
--.]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +551379
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
Microsoft.TeamFoundation.Build.Proxy.BuildStore.GetListOfBuilds(String teamProject, String buildType) +66
Automaton.Web.Dashboard.Build.BindForm(String selectedProject) in D:\CoreServices\TeamBuildSite\Automaton\Automaton.Web.Dashboard\build.aspx.cs:136
Automaton.Web.Dashboard.Build.Page_Load(Object sender, EventArgs e) in D:\CoreServices\TeamBuildSite\Automaton\Automaton.Web.Dashboard\build.aspx.cs:50
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
 

 

 

Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
 
 
In the event log this is the error message:
 
 
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 1/10/2008
Time: 5:16:46 PM
User: N/A
Computer: W3DEVBLD01
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 1/10/2008 5:16:46 PM
Event time (UTC): 1/10/2008 11:16:46 PM
Event ID: e2d018cf32a5407d8ad4bc253239a05a
Event sequence: 48
Event occurrence: 12
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/Automaton-1-128444802271627048 
Trust level: Full 
Application Virtual Path: /Automaton 
Application Path: D:\Automaton\ 
Machine name: W3DEVBLD01 
Process information:
Process ID: 372 
Process name: w3wp.exe 
Account name: USA\TFSBuild 
Exception information:
Exception type: InvalidOperationException 
Exception message: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.

The request failed with the error message:

<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head> <title>Server Unavailable </title> </head> <body>
  <h1><span style="font-family:Verdana;color: #ff3300">Server Application Unavailable
</span></h1>
  <p>
   <span style="font-family:Verdana;">
    The web application you are attempting to access on this web server is currently unavailable.  Please hit the "Refresh" button in your web browser to retry your request.
</span></p>
<p> <b>Administrator Note: </b> An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. </p> </body>
</html>
 
--.

Request information:
Request URL: http://localhost/Automaton/build.aspx?path=TrueAn unhandled exception has occurred.fFrontOfficeAn unhandled exception has occurred.fTeamBuildTypesAn unhandled exception has occurred.fCRM+DatabaseAn unhandled exception has occurred.fTfsBuild.proj 
Request path: /Automaton/build.aspx 
User host address: 127.0.0.1 
User: USA\ChambleeT.admin 
Is authenticated: True 
Authentication Type: Negotiate 
Thread account name: USA\TFSBuild 
Thread information:
Thread ID: 5 
Thread account name: USA\TFSBuild 
Is impersonating: False 
Stack trace:    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Build.Proxy.BuildStore.GetListOfBuilds(String teamProject, String buildType)
at Automaton.Web.Dashboard.Build.BindForm(String selectedProject) in D:\CoreServices\TeamBuildSite\Automaton\Automaton.Web.Dashboard\build.aspx.cs:line 136
at Automaton.Web.Dashboard.Build.Page_Load(Object sender, EventArgs e) in D:\CoreServices\TeamBuildSite\Automaton\Automaton.Web.Dashboard\build.aspx.cs:line 50
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Custom event details:
 
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
 
Please help!
 
Thanks in advance.
 
Trevor Chamblee, MCSE CCNA
trevor.chamblee@mkcorp.com

comments