zoukankan      html  css  js  c++  java
  • 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
  • 相关阅读:
    java练习题(字符串类):显示4位验证码、输出年月日、从XML中抓取信息
    java练习题:输出100以内与7有关的数、百马百担、打分(去掉最高、最低分)、二分法查找数据、输出直角三角形、正三角形
    MD5加密算法(转)
    Ajax中的局部事件与全局事件
    Ajax实现全国省市三级联动
    关于Cookie中存放于读取中文字符的问题,以及删除Cookie
    JavaScript中的自定义对象以及实现继承特性
    JavaScript中的变量范围以及闭包的概念
    JavaScript全局函数
    Servlet监听器(转)
  • 原文地址:https://www.cnblogs.com/snowball/p/835956.html
Copyright © 2011-2022 走看看