locked
TFS 2012 - Web Access Display Problem

    Question

  • Hi everyone,

    I've just finished a new server setup which included TFS 2012 installed in the Advanced Configuration.  I have four virtualized servers running a DC, SQL Server (including reports and analysis services), SharePoint 2010 and finally the TFS server.  I followed the TFS installation instructions religiously and all appeared to go well. 

    I can access TFS from Visual Studio and am able to create projects with no errors. 

    The problem I'm having is with TFS Team Access.  I can access the URL properly and I do get a page displayed.  The problem is that it appears 'without template' of any kind.  It looks like the image below.

    Please can someone help me resolve this?  I've tried to obvious solutions such as restarting the server but no joy.  I also tried both Administrative and normal user accounts with the same results each time.  Thanks in advance.

    Thursday, August 23, 2012 11:57 AM

Answers

  • Hi,

    I enabled some features in IIS.

    Then Dashboard started work. I think that was Static Content feature disabled. After enabling it works.
    Thursday, September 13, 2012 5:59 AM

All replies

  • Hi Ady7970,

    Thanks for your post!

    From the picture, the content is dispalyed correctly. Which version of the IE broswer do you use currently? Could you change the version of IE and see if there is still the issue?

    Hope it helps!

    Best Regards,


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

    Monday, August 27, 2012 5:36 AM
    Moderator
  • Cathy,

    The picture clearly shows bad formatting (no theme is applied and the text is in Times New Roman) with some features not showing at all.  Perhaps it's because the picture is so small.  I've also noticed an abundance of errors in the server error log related to content issues.

    I'm using IE10.

    Regards

    Ady


    • Edited by Ady7970 Monday, August 27, 2012 8:08 PM
    Monday, August 27, 2012 8:08 PM
  • Hi Ady,

    Thank for your feedback!

    Could you post the related errors here?

    I can connect to TFS 2012 using IE10 and the contents are displayed well.

    Can you change another version of IE and see if the issue is still exist which can be Excluded the problems of IE.

    Best Regards,


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, August 28, 2012 9:05 AM
    Moderator
  • Nope. Older version doesn't change displaying. Unfortunately I have the same problem.

    I debug TFS dashboard with IE Developer tool and I found 3 errors:

    SCRIPT5009: 'TFS' is undefined .

    I have no idea how to repair it. DO you have any ideas?

    Friday, August 31, 2012 5:21 PM
  • Sorry for the delay in replying - glad to see it's not just me suffering from this.  I've tried a full reinstall but with the exact same results.  Very frustrating.

    Any suggestions Cathy?  I don't want to use one of my support incidents on this.

    Sunday, September 02, 2012 3:34 PM
  • Hi Ady7970,

    Thanks for your feedback!

    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.

    Thanks you for your understanding and support.


    Cathy Kong [MSFT]
    MSDN Community Support | Feedback to us

    Monday, September 03, 2012 5:35 AM
    Moderator
  • Hi,

    There're several css files that format the TFS web access. These files are on TFS web site. The idea is to monitor the web communication through Fiddler: http://www.fiddler2.com/fiddler2/version.asp

    If the tool does not points you the error, please post each error you see, including SCRIPT5009, and errors in TFS server  error log.

    thanks.


    Forrest Guo | MSDN Community Support | Feedback to manager

    Monday, September 03, 2012 11:36 AM
    Moderator
  • Hi,

    In my case I found only this in developer tool about script5009

    And Fiddler return me only three errors, but I don't think that they are connected with script5009:

    var _builtinPlugins = [{"namespace":"TFS.VersionControl.Setup","loadAfter":"TFS.OM"},{"namespace":"TFS.Requirements.Setup","loadAfter":"TFS.OM"},{"namespace":"TFS.Diag.TracePoints","loadAfter":"TFS.Diag"},{"namespace":"TFS.TestManagement.Controls","loadAfter":"TFS.WorkItemTracking.Controls"},{"namespace":"TFS.TestManagement.Setup","loadAfter":"TFS.OM"}];

    and: 

    var TFSSeedFileResources = {"ErrorPaneCloseLink":"Close [x]","ModuleScriptErrorFormat":"Module \u0027{0}\u0027 cannot be loaded. This may be due to lost connectivity or an incomplete or corrupted download of the file.  Try refreshing your browser or clearing your browser cache to retrieve the file again.","CircularDependencyErrorFormat":"There is a circular dependency between TFS script modules {0} and {1}.","UnknownServerErrorMessage":"Unknown server error occured.","UnknownErrorMessage":"Unknown error.","ErrorPaneHeader":"Error(s):"};

    and: 

    var TFSSeedFileResources = {"ErrorPaneCloseLink":"Close [x]","ModuleScriptErrorFormat":"Module \u0027{0}\u0027 cannot be loaded. This may be due to lost connectivity or an incomplete or corrupted download of the file.  Try refreshing your browser or clearing your browser cache to retrieve the file again.","CircularDependencyErrorFormat":"There is a circular dependency between TFS script modules {0} and {1}.","UnknownServerErrorMessage":"Unknown server error occured.","UnknownErrorMessage":"Unknown error.","ErrorPaneHeader":"Error(s):"};

    Even if I'm log in.

    Thanks in advance for help.

    Best Regards

    Monday, September 03, 2012 5:57 PM
  • If it also helps, my TFS Error Log is riddled with TFS Informational Message errors.  I've posted the detail of one such error below:

    - System
    - Provider
    [
    Name]
    Microsoft-Team
    Foundation Server
    [
    Guid]
    {80761876-6844-47D5-8106-F8ED2AA8687B}
    EventID 0
    Version 0
    Level 2
    Task 1
    Opcode 10
    Keywords 0x8000000000000001
    - TimeCreated
    [
    SystemTime]
    2012-08-23T10:51:35.372926900Z
    EventRecordID 3
    - Correlation
    [
    ActivityID]
    {016C8A48-F800-0001-5992-925F1881CD01}
    - Execution
    [
    ProcessID]
    1492
    [
    ThreadID]
    1592
    Channel Microsoft-Team Foundation Server/Debug
    Computer [HIDDEN]
    - Security
    [
    UserID]
    S-1-5-21-185168078-304968814-3050492256-1120
    - UserData
    - Info
    [
    TraceId]
    {00000001-0001-0001-0000-000000000000}
    Tracepoint 599999
    ServiceHost {00000000-0000-0000-0000-000000000000}
    ContextId 0
    ProcessName w3wp
    Username
    Service
    Method
    Area WebAccess
    Layer Controller
    UserAgent
    Uri
    Path
    UserDefined
    Message

    System.Reflection.ReflectionTypeLoadException:
    Unable to load one or more of the requested types. Retrieve the LoaderExceptions
    property for more information. at
    System.Reflection.RuntimeModule.GetTypes(RuntimeModule module) at
    System.Reflection.RuntimeModule.GetTypes() at
    System.Reflection.Assembly.GetTypes() at
    Microsoft.TeamFoundation.Server.WebAccess.TypeUtils.GetAllTypes(IEnumerable`1
    assemblies, Func`2
    filter)

    Monday, September 03, 2012 7:27 PM
  • I also get TFS EventID 9003 in my Application Error Log.  Text from one below:

    TF53010: The following error has occurred in a Team Foundation component or extension:

    Date (UTC): 23/08/2012 20:56:30

    Machine: [HIDDEN]

    Application Domain: TfsMgmt.exe

    Assembly: Microsoft.TeamFoundation.Framework.Server, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v4.0.30319

    Service Host: 3319e807-7932-47c4-834a-cb00d6f7ede1 (TEAM FOUNDATION)

    Process Details:

      Process Name: TfsMgmt

      Process Id: 1504

      Thread Id: 2512

      Account name: [HIDDEN]

    Detailed Message: TF400703: Unable to initialize the specified service Microsoft.TeamFoundation.Framework.Server.TeamFoundationRegistryService.

    Exception Message: Exception of type 'Microsoft.TeamFoundation.Framework.Server.HostShutdownException' was thrown. (type HostShutdownException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationServiceHost.ThrowIfShutdown()

       at Microsoft.TeamFoundation.Framework.Server.ObjectBinder`1.ObjectEnumerator.MoveNext()

       at Microsoft.TeamFoundation.Framework.Server.ObjectBinder`1.ObjectEnumerator.get_Items()

       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationBaseRegistryService.ReadEntriesInternal(TeamFoundationRequestContext requestContext, String completeRegistryPath)

       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationRegistryService.UpdateRegistryCache(TeamFoundationRequestContext requestContext, IEnumerable`1 registryEntries)

       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationRegistryService.ServiceStart(TeamFoundationRequestContext systemRequestContext)

       at Microsoft.TeamFoundation.Framework.Server.ServiceProvider.GetService[T](TeamFoundationRequestContext requestContext)



    • Edited by Ady7970 Monday, September 03, 2012 7:29 PM
    Monday, September 03, 2012 7:28 PM
  • I also have TFS EventID 3000 in my Application Event Log:

    TF53010: The following error has occurred in a Team Foundation component or extension:

    Date [HIDDEN]

    Application Domain: /LM/W3SVC/2/ROOT/tfs-1-129902277606582267

    Assembly: Microsoft.TeamFoundation.Framework.Server, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v4.0.30319

    Service Host: 3043fca7-6539-4ebf-939c-220584ba1706 (TEAM FOUNDATION)

    Process Details:

      Process Name: w3wp

      Process Id: 1044

      Thread Id: 1784

      Account name: [HIDDEN]

    Detailed Message: TF15015: Metadata file not in expected format: C:\Program Files\Microsoft Team Foundation Server 11.0\Application Tier\Web Services\_tfs_data\3043fca7-6539-4ebf-939c-220584ba1706\Proxy\3043fca7-6539-4ebf-939c-220584ba1706\26\0526.pxy

    Web Request Details

        Url: http://bsofttfs01:8080/tfs/_plugins/1318/builtin-plugins.js [method: GET]

        User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3)

        Headers: Connection=Keep-Alive&Accept=*%2f*&Accept-Encoding=gzip%2c+deflate&Accept-Language=en-GB&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAJQAAADIAcgBrAAAABIAEgBYAAAAFAAUAGoAAAAWABYAfgAAAAAAAAB0AgAABYKIogYC8CMAAAAPZq%2fNcXLmFaezt%2bN%2btaz8i0IAUgBPAEEARABTAE8ARgBUAGEAZAByAGkAYQBuAGYAbwBvAHQAQQBEAFkALQBEAEUAUwBLAFQATwBQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFSBeMY5HU1o%2ft%2b6zCUAXdwBAQAAAAAAAK8h%2f%2fFugc0BZHlsDI3A9qMAAAAAAgASAEIAUgBPAEEARABTAE8ARgBUAAEAFABCAFMATwBGAFQAVABGAFMAMAAxAAQAMABiAHIAbwBhAGQAYwBhAHMAdAAtAHMAbwBmAHQAdwBhAHIAZQAuAGwAbwBjAGEAbAADAEYAQgBTAE8ARgBUAFQARgBTADAAMQAuAGIAcgBvAGEAZABjAGEAcwB0AC0AcwBvAGYAdAB3AGEAcgBlAC4AbABvAGMAYQBsAAUAMABiAHIAbwBhAGQAYwBhAHMAdAAtAHMAbwBmAHQAdwBhAHIAZQAuAGwAbwBjAGEAbAAHAAgAryH%2f8W6BzQEGAAQAAgAAAAgAMAAwAAAAAAAAAAEAAAAAIAAA%2b0tYTvs6wturuA46ousci9mB6E5sYMxLZAUh3cHniEMKABAAAAAAAAAAAAAAAAAAAAAAAAkAUABIAFQAVABQAC8AYgBzAG8AZgB0AHQAZgBzADAAMQAuAGIAcgBvAGEAZABjAGEAcwB0AC0AcwBvAGYAdAB3AGEAcgBlAC4AbABvAGMAYQBsAAAAAAAAAAAAAAAAAA%3d%3d&Cookie=__RequestVerificationToken_L3Rmcw2%3dNGO735ZQqOWSgJVSHfQyx1j-jsK5K7rZJyhKMrGZR9kJkjVdqLWd1TDxhCaRZT77a6pNvrUywVu2NwuNgHvmwQSqo4IDDR65fUU3Z00eG8-IoNlhmcCNBiGt-CB5qP6t2yrfoA2%3b+__RequestVerificationToken_L3Rmcw__%3d%3b+__RequestVerificationToken28f9035f7-71f4-4732-9731-a18e474d620b%3d&Host=bsofttfs01%3a8080&Referer=http%3a%2f%2fbsofttfs01%3a8080%2ftfs&User-Agent=Mozilla%2f4.0+(compatible%3b+MSIE+7.0%3b+Windows+NT+6.2%3b+WOW64%3b+Trident%2f6.0%3b+.NET4.0E%3b+.NET4.0C%3b+.NET+CLR+3.5.30729%3b+.NET+CLR+2.0.50727%3b+.NET+CLR+3.0.30729%3b+InfoPath.3)&DNT=1

        Path: /tfs/_plugins/1318/builtin-plugins.js

        Local Request: False

        Host Address: 192.168.0.22

        User: [HIDDEN] [authentication type: NTLM]

    Exception Message: CRC mismatch (type CorruptHeadersException)

    Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.FileCacheService.RetrieveFile(TeamFoundationRequestContext requestContext, FileInformation fileInfo, IDownloadState downloadState, Boolean compressOutput)

    Monday, September 03, 2012 7:30 PM
  • Any update on this please Microsoft? 
    Friday, September 07, 2012 5:42 PM
  • While I cannot reproduce the problem, I report the issue to product team. It's being investigating. Please wait some time.

    thanks.


    Forrest Guo | MSDN Community Support | Feedback to manager

    Saturday, September 08, 2012 2:57 AM
    Moderator
  • Forrest - thank you.

    My installation is like the following (perhaps this will help you to reproduce the error)

    • Domain Controller with DNS, DHCP etc on its own Server 2008 R2 virtual machine
    • SQL Server 2012 on its own Server 2008 R2 virtual machine
    • SharePoint Server 2010 Enterprise on its Server 2008 R2 virtual machine
    • TFS 2010 on its own Server 2008 R2 virtual machine

    All VMs have plenty of RAM and disk space and all configuration was done correctly as per the TFS Installation Guide. 

    Hopefully this will help you to reproduce the error.

    Saturday, September 08, 2012 11:40 AM
  • Forrest - thank you.

    My installation is like the following (perhaps this will help you to reproduce the error)

    • Domain Controller with DNS, DHCP etc on its own Server 2008 R2 virtual machine
    • SQL Server 2012 on its own Server 2008 R2 virtual machine
    • SharePoint Server 2010 Enterprise on its Server 2008 R2 virtual machine
    • TFS 2010 on its own Server 2008 R2 virtual machine

    All VMs have plenty of RAM and disk space and all configuration was done correctly as per the TFS Installation Guide. 

    Hopefully this will help you to reproduce the error.

    Can you confirm it's TFS 2010 or TFS 2012? Original post mentions TFS 2012.

    Forrest Guo | MSDN Community Support | Feedback to manager

    Saturday, September 08, 2012 1:33 PM
    Moderator
  • Sorry - it is indeed TFS 2012.
    Saturday, September 08, 2012 4:48 PM
  • Do you run an APP server (Application Request Routing ) on TFS server? If you do, what's the version and what about the settings?

    This information will help us determine if it's the known issue.

    thanks.


    Forrest Guo | MSDN Community Support | Feedback to manager

    Monday, September 10, 2012 4:00 PM
    Moderator
  • Hi Forrest,

    No - the only role installed on my TFS Server is Web Server.  This server has been configured soley with TFS in mind and has been configured exactly as per the TFS installation instructions.

    Regards

    Monday, September 10, 2012 6:32 PM
  • Please add the TFS server to IE's trusted zone and see if the problem goes away.

      • In IE, press the gear in the upper right hand corner
      • Internet options,
      • Security
      • Trusted sites
      • Press the site button
      • Add the domain to the TFS server

    Reload the page


    http://blogs.msdn.com/edhintz

    Tuesday, September 11, 2012 12:58 PM
    Moderator
  • @Ady7970,

    If Ed's suggestions don't work, can you install Fiddler tool and save the network traffic while trying to connect to Web Access.

    You can then send the Fiddler archive to serkani [at] microsoft [.] com

    I'll take a look right away.

    Sorry again for the inconvenience.

    Serkan

    Tuesday, September 11, 2012 3:49 PM
  • Please add the TFS server to IE's trusted zone and see if the problem goes away.

      • In IE, press the gear in the upper right hand corner
      • Internet options,
      • Security
      • Trusted sites
      • Press the site button
      • Add the domain to the TFS server

    Reload the page


    http://blogs.msdn.com/edhintz

    Hi Ed,

    I wish it was that simple - I did try your suggestion but to no avail.  Can I please refer you to the various error logs on the TFS Server itself?  Thanks for your assistance - I'm sure we'll get this cracked eventually!

    Regards


    • Edited by Ady7970 Tuesday, September 11, 2012 4:43 PM
    Tuesday, September 11, 2012 4:33 PM
  • @Ady7970,

    If Ed's suggestions don't work, can you install Fiddler tool and save the network traffic while trying to connect to Web Access.

    You can then send the Fiddler archive to serkani [at] microsoft [.] com

    I'll take a look right away.

    Sorry again for the inconvenience.

    Serkan


    Email sent to you Serkan - thanks in advance for your assistance.
    Tuesday, September 11, 2012 4:39 PM
  • Serkan:

    I am experiencing the same issues and getting a bunch of 401 and 500 server errors (as shown by fiddler). I have sent you the fiddler archive to the address you have indicated.

    Thanks in advance for your assistance.

    

    Wednesday, September 12, 2012 8:32 PM
  • Serkan:

    I got it working. I am not exactly sure which action triggered it, but I will outline what I did. I looked back on the old TFS 2010 installation guide to see if there were any features that perhaps I could switch on. There were two things on the TFS 2010 installation guide that I noticed were not activated on my server. By the way,I am installed on Windows Server 2012.

      • IIS 6 Management compatibility
      • ASP.NET 3.5 (although the installation guide didn't call out this specific version, on my server the 4.5 version was activated and not the 3.5 version)

    I activated the first one and then refreshed my browser to see if it made a difference. I still got the same issue. I activated the second item and refreshed my browser to if that made a difference. I still go thte same issue. Finally, I did an IIS Reset and it worked. So, it is the activation of one (or perhaps both) of the features in combination with an IIS Reset.

    Note that prior to the steps above, I rebooted the server. So, I am pretty confident it is one or both of these features in combination with IIS Reset. If someone could try an IIS Reset after activating each of these features one by one to see what is the magic combination and post their findings to this forum by proposing the answer, we could perhaps close this one out...hopefully.

    After i discovered it working, I rebooted the server for good measure.

    Thanks...

    Wednesday, September 12, 2012 11:27 PM
  • Hi,

    I enabled some features in IIS.

    Then Dashboard started work. I think that was Static Content feature disabled. After enabling it works.
    Thursday, September 13, 2012 5:59 AM
  • I had this very same problem (TFS Web Access displaying without styles). I was able to get it to work by enabling the IIS 6 Management Compatibility feature. Unsure why TFS 2012 requires this feature, but this did the trick. I already had the ASP.NET feature enabled.

    For reference, this was installed on Windows Server 2008 R2 w/ SP1.
    • Proposed as answer by Matt Ring Monday, December 03, 2012 8:06 PM
    • Edited by Matt Ring Monday, December 03, 2012 8:08 PM Added server environment
    Monday, December 03, 2012 8:06 PM