• I'm having problems with TFS install/upgrade/repair/uninstall where are the log files?


    I'm having problems with TFS install/upgrade/repair/uninstall - where are the log files?

    This post is just so I can paste a URL instead of the same block of text again and again in the forums :) 

    There's 2 purposes to finding the log files during/after a failed install:

    1. Inspect them yourself to see if you can figure out how to fix the problem based on what was logged
    2. Send them to others to have them help you (for instance, on the MSDN forum for TFS Setup, or emailing them, or whatever)

     The quick version of the "rules" for finding the right log files:

    1. Look in both %temp% and %temp%\.. (the parent dir of %temp%).  It's a long story why that's the case, but it's still that way in Orcas (TFS 2008) as well.
    2. Sort based on Date Modified descending so the files written to most recently are at the top
    3. dd_install_vstf*.txt and vsmsi*.txt are the ones that will be most helpful in the 95% case, with dd_depcheck*.txt useful on those other occasions where we're having version number issues (this tends to affect us more internally than it does external customers)

    Using my dev machine's explorer, here's a screen shot of the files from my test machine from an install I did Wednesday morning:

    image

     Things to notice:

    • the files aren't in my %temp% directory, but its parent dir (as mentioned before, this can happen)
    • Since I sorted based on date modified descending, it's clear which files are from the install and which aren't (the bottom 2 in the list aren't, since they were from the day before)
    • The 3 highlighted files (dd_install*.txt, vsmsi*.txt, dd_depcheck*.txt) would be the ones I would inspect if I had a problem during install.  You may think dd_error*.txt would also be useful, but it's actually just a subset of the lines in dd_install*.txt so the dd_install*.txt is more useful because you can get more context on what was going on when an error occurred.

    One last bonus tip: if you have a problem during install (for instance, you get a dialog that pops up saying some operation failed and would you like to abort/retry/cancel), that's the point in time you'll want to go look at the log files. 

    Why is that?  Because once you say Cancel and it starts to go through the "we're failing setup" process, there's lots of attempted rollback operations to undo everything that had been done successfully during the install.  Because of this, it's easier to look at the log files when the last thing in the log file is the failure that happened rather than having to scan up past all the rollback operations.  The relevant data is in there either way, just a little easier to tell what blew up the moment after it happens. :)

    reference:http://blogs.msdn.com/jmanning/archive/2007/07/21/i-m-having-problems-with-tfs-install-upgrade-repair-uninstall-where-are-the-log-files.aspx
  • 相关阅读:
    Github Https方式push错误”Empty reply from server”
    github克隆项目中的子模块submodule时遇到的问题
    安卓SDK Manager自动管理各种包
    学会爱上iOS自动布局(Auto Layout)
    WWDC2014之iOS使用动态库
    WWDC2014之App Extensions学习笔记
    Apple移动设备处理器指令集 armv6、armv7、armv7s及arm64
    C++类型处理:typedef decltype
    C++引用和指针
    OpenGL入门1.1:窗口
  • 原文地址:https://www.cnblogs.com/snowball/p/835956.html
Copyright © 2020-2023  润新知