如今天刚刚写的那个随笔一样, 因为安装了SQL Anywhere 10导致整个Visual Studio 2005的IDE不能使用, 连TFS也接边不上. 虽然最终原因我尚未找到, 但我这个办法也的确解决了这个问题:
这个问题是出自于machine.config文件的错误. 所以你只需要把machine.config.default改成machine.config. 这个问题就一般能解决了. 我试过好几次了.
这下面是使用devenv /log后生成的位于: C:\Documents and Settings\<<User Name>>\Application Data\Microsoft\VisualStudio\8.0\ActivityLog.xml. 虽然我现在还不知道是什么原因, 不过希望对大家有点帮助吧.
Activity Monitor Log |
|||||
infos |
174 |
||||
warnings |
9 |
||||
errors |
4 |
||||
# |
Type |
Description |
GUID |
Hr |
|
1 |
Visual Studio Version: 8.0.50727.762 |
||||
2 |
Running in User Groups: Administrators Users |
||||
3 |
ProductID: 77718-113-3000004-41667 |
||||
4 |
Available Drive Space: C:\ drive has 11587313664 bytes; D:\ drive has 14483189760 bytes; E:\ drive has 19726331904 bytes; F:\ drive has 9961345024 bytes; P:\ drive has 4179124224 bytes |
||||
5 |
Internet Explorer Version: 7.0.6000.16525 |
||||
6 |
Microsoft Data Access Version: 2.0.0 |
||||
7 |
.NET Framework Version: 2.0.50727.832 |
||||
8 |
MSXML Version: 6.10.1200.0 |
||||
9 |
Loading UI library |
{DA9FB551-C724-11D0-AE1F-00A0C90FFFC3} |
|||
10 |
Entering function CVsPackageInfo::HrInstantiatePackage |
{53544C4D-E3F8-4AA0-8195-8A8D16019423} |
|||
11 |
Begin package load [Visual Studio Source Control Integration Package] |
{53544C4D-E3F8-4AA0-8195-8A8D16019423} |
|||
12 |
Entering function CVsPackageInfo::HrInstantiatePackage |
{D79B7E0A-F994-4D4D-8FAE-CAE147279E21} |
|||
13 |
Warning |
CheckPackageSignature failed; invalid Package Load Key |
{D79B7E0A-F994-4D4D-8FAE-CAE147279E21} |
||
14 |
Begin package load [team foundation server provider stub package] |
{D79B7E0A-F994-4D4D-8FAE-CAE147279E21} |
|||
15 |
End package load [team foundation server provider stub package] |
{D79B7E0A-F994-4D4D-8FAE-CAE147279E21} |
|||
16 |
Entering function CVsPackageInfo::HrInstantiatePackage |
{2C5A58FF-51D1-46CC-B46C-CD458632B321} |
|||
17 |
Warning |
CheckPackageSignature failed; invalid Package Load Key |
{2C5A58FF-51D1-46CC-B46C-CD458632B321} |
||
18 |
Warning |
CheckPackageSignature failed; invalid Package Load Key |
{2C5A58FF-51D1-46CC-B46C-CD458632B321} |
||
19 |
Begin package load [Microsoft.VisualStudio.TeamFoundation.PowerToys.TfptPackage, Microsoft.VisualStudio.TeamFoundation.PowerToys, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] |
{2C5A58FF-51D1-46CC-B46C-CD458632B321} |
|||
20 |
ERROR |
CreateInstance failed for package [Microsoft.VisualStudio.TeamFoundation.PowerToys.TfptPackage, Microsoft.VisualStudio.TeamFoundation.PowerToys, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] |
{2C5A58FF-51D1-46CC-B46C-CD458632B321} |
80131604 |
|
21 |
ERROR |
End package load [Microsoft.VisualStudio.TeamFoundation.PowerToys.TfptPackage, Microsoft.VisualStudio.TeamFoundation.PowerToys, Version=8.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a] |
{2C5A58FF-51D1-46CC-B46C-CD458632B321} |
80004005 - E_FAIL |