Team Explorer : Need log to investigate an error
Hi,
I have currently an issue with team explorer (RC builds).
I've tried uninstalling all visual studio 2005 and TFC without success (deleting any application files, VS folder, registry entries).
I'm having a simple VS crash when connecting to any project (when threads read work items folder / source control) : invalidcastexception.
In order to investigate, I've tried to enable /log file for devenv, but the log is empty of any explanation.
Reinstalling TFS didn't resolve anything, and it's not a server problem, since other users are still able to connect to the server.
Is there any way to have a decent log file to follow TFS operations ? Or something else so I can skip the "format/reinstall" case ? Are there specific registry folder that I could check after uninstall to ensure all informations are cleared ?
I can provide aditionnal informations as needed...
Try putting the following in devenv.config.exe:
<system.diagnostics>
<switches>
<add name="General" value="4" />
</switches>
<trace autoflush="true" indentsize="3">
<listeners>
<add name="myListener"
type="Microsoft.TeamFoundation.TeamFoundationTextWriterTraceListener,Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
initializeData="c:\devenv.log" />
</listeners>
</trace>
</system.diagnostics>
This should result in a log file being generated called 'devenv.log' on 'c:\'.
Here is my devenv.log content :
28/02/2006 10:06:09 (pid 3244, tid 524, 15 ms) [Error, PID 3244, TID 524, 09:06:09.454] Error in GetMessageString: wrong string name
28/02/2006 10:06:09 (pid 3244, tid 524, 15 ms) [Error, PID 3244, TID 524, 09:06:09.454] Error in CommonResourceManager: can't instantiate ResourceManager
28/02/2006 10:06:09 (pid 3244, tid 524, 15 ms) [Error, PID 3244, TID 524, 09:06:09.454] Error in GetMessageString: wrong result string
28/02/2006 10:06:09 (pid 3244, tid 524, 46 ms) [Error, PID 3244, TID 524, 09:06:09.485] Error in GetMessageString: wrong string name
28/02/2006 10:06:09 (pid 3244, tid 524, 46 ms) [Error, PID 3244, TID 524, 09:06:09.485] Error in GetMessageString: wrong result string
28/02/2006 10:06:09 (pid 3244, tid 524, 46 ms) [Error, PID 3244, TID 524, 09:06:09.485] Error in GetMessageString: wrong string name
28/02/2006 10:06:09 (pid 3244, tid 524, 46 ms) [Error, PID 3244, TID 524, 09:06:09.485] Error in GetMessageString: wrong result string
28/02/2006 10:06:09 (pid 3244, tid 524, 62 ms) [Error, PID 3244, TID 524, 09:06:09.500] Error in GetMessageString: wrong string name
28/02/2006 10:06:09 (pid 3244, tid 524, 62 ms) [Error, PID 3244, TID 524, 09:06:09.500] Error in GetMessageString: wrong result string
Nothing really interresting... The event log displays only the invalidcastexception message.
The MSI log for team explorer don't give me any hint, uninstalling/reinstalling TFC doesn't resolve anything.
I'm trying to find another informations, if someone can give me hints, you're welcome.