locked
TFS crush

    Question

  • Sometimes the TFS will crush and the JIT debugger will show a dialog to ask me if I want to debug the service.

    I checked the event log and found there are some errors (from later to older):

    Error(15:20:54) :

    EventType teamfoundationue, P1 1.0.0.0, P2 tfs, P3 v2.0.50215, P4 8.0.0.0, P5 eleadunhandledexception, P6 9ca2ef21, P7 499f38b1, P8 ae76437f, P9 NIL, P10 NIL.


    Error(15:20:54) :

    Initialization failed to load task list from TFS Registration service. Loading task list from log file.

    Error(15:20:54) :

    Microsoft.VisualStudio.ELead.Common.Exceptions.ELeadException: Unable to connect to BIS service. ---> Microsoft.VisualStudio.ELead.Common.Exceptions.ELeadException: Team foundation server is not available; please contact your system administrator (URL =http://tfs:8080/bisserver/registration.asmx is unaccessible). ---> System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --
    <html>
        <head>
            <title>该服务器不可操作。<br></title>
            <style>
             body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
             p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
             b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
             H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
             H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
             pre {font-family:"Lucida Console";font-size: .9em}
             .marker {font-weight: bold; color: black;text-decoration: none;}
             .version {color: gray;}
             .error {margin-bottom: 10px;}
             .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
            </style>
        </head>

        <body bgcolor="white">

                <span><H1>Server Error in '/bisserver' Application.<hr width=100% size=1 color=silver></H1>

                <h2> <i>该服务器不可操作。<br></i> </h2></span>

                <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

                <b> Description: </b>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.

                <br><br>

                <b> Exception Details: </b>System.Runtime.InteropServices.COMException: 该服务器不可操作。<br><br><br>

                <b>Source Error:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code>

    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.</code>

                      </td>
                   </tr>
                </table>

                <br>

                <b>Stack Trace:</b> <br><br>

                <table width=100% bgcolor="#ffffcc">
                   <tr>
                      <td>
                          <code><pre>

    [COMException (0x8007203a): 该服务器不可操作。
    ]
       System.DirectoryServices.PropertyValueCollection.PopulateList() +243
       System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName) +92
       System.DirectoryServices.PropertyCollection.get_Item(String propertyName) +129
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.GetSpecialAdamSid(String type) +156
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor..cctor() +458

    [TypeInitializationException: The type initializer for 'Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor' threw an exception.]
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
       Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll() +0
       Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize() +710
       Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized() +969
       Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e) +5
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    </pre></code>

                      </td>
                   </tr>
                </table>

                <br>

                <hr width=100% size=1 color=silver>

                <b>Version Information:</b>?Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44

                </font>

        </body>
    </html>
    <!--
    [COMException]: 该服务器不可操作。

       at System.DirectoryServices.PropertyValueCollection.PopulateList()
       at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
       at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.GetSpecialAdamSid(String type)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor..cctor()
    [TypeInitializationException]: The type initializer for 'Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor' threw an exception.
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
       at Microsoft.VisualStudio.Bis.Server.Security.IdentityStoreAccessor.get_sidAll()
       at Microsoft.VisualStudio.Bis.Server.Security.Core.Initialize()
       at Microsoft.VisualStudio.Bis.Server.Global.EnsureInitialized()
       at Microsoft.VisualStudio.Bis.Server.Global.Application_BeginRequest(Object sender, EventArgs e)
       at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    -->
    --.
       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.VisualStudio.Bis.Proxy.BisRegistrationServiceProxyWsdl.GetRegistrationEntries(String toolId)
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationProxy.GetRegistrationEntries(String toolId)
       --- End of inner exception stack trace ---
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationProxy.GetRegistrationEntries(String toolId)
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.RefreshCacheIfNeeded(Boolean direct)
       --- End of inner exception stack trace ---
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.RefreshCacheIfNeeded(Boolean direct)
       at Microsoft.VisualStudio.Bis.Proxy.BisRegistrationService.GetRegistrationEntries(String toolId)
       at Microsoft.VisualStudio.Bis.Server.Scheduler.TaskScheduler.LazyInit()

     

    Tuesday, May 10, 2005 2:11 AM

Answers

  • Thanks for reporting this problem.  When you log on as an administrator, you should be asked whether to file a report with Microsoft, based on the fact that you posted this.  Please allow the report to be filed.
             EventType teamfoundationue, P1 1.0.0.0, P2 tfs, P3 v2.0.50215, P4 8.0.0.0, P5 eleadunhandledexception, P6 9ca2ef21, P7 499f38b1, P8 ae76437f, P9 NIL, P10 NIL.

    Using the stack trace you have posted, we looked at both the beta 2 code and the current code to try to determine what happened.  AD/AM has already been removed from the current code and some of the code referenced in the stack trace is being revised.  AD/AM has been replaced with a SQL database to store the security group relationships.

    Buck

    Tuesday, May 10, 2005 12:31 PM
    Moderator

All replies

  • It looks the TFS still work (I could connect to it from client side), but I don't know if there are any potential problems.
    Tuesday, May 10, 2005 3:12 AM
  • I experience the same problems running Team Sysetm on a one VPC setup.

    After the crash occurs, I type iisreset from the commandline to stop and start the webserver. This makes the webservices to start fresh. After this reset I don't experience any further crashes during a day work, perhaps this works for you to.
    Tuesday, May 10, 2005 11:42 AM
  • Thanks for reporting this problem.  When you log on as an administrator, you should be asked whether to file a report with Microsoft, based on the fact that you posted this.  Please allow the report to be filed.
             EventType teamfoundationue, P1 1.0.0.0, P2 tfs, P3 v2.0.50215, P4 8.0.0.0, P5 eleadunhandledexception, P6 9ca2ef21, P7 499f38b1, P8 ae76437f, P9 NIL, P10 NIL.

    Using the stack trace you have posted, we looked at both the beta 2 code and the current code to try to determine what happened.  AD/AM has already been removed from the current code and some of the code referenced in the stack trace is being revised.  AD/AM has been replaced with a SQL database to store the security group relationships.

    Buck

    Tuesday, May 10, 2005 12:31 PM
    Moderator
  • Thanks! Actually I have seen that report dialog once, however, I canceled the sending of the report. Could I find that report in my hard disk and send it to microsoft manually?

    Next time when I see that report, I will choose to file the report.

    Thanks!
    Wednesday, May 11, 2005 3:31 AM
  • At some point in the near future, you will again see the dialog when you log on as administrator.  It waits a some amount of time before showing it again to try not to annoy the user.

    Buck
    Thursday, May 12, 2005 11:50 PM
    Moderator