Startup error

Can you tell me what the following error means. This error has only started to come up this morning during Team Foundation startup. And I found that the Work Items are no longer accessible. There is plenty of space on my local hard disk and my user account should ahve appropriate permission as I have been work in Team Foundation for several days now. What else can I do to resolve the problem?

TF30330: Team Explorer cannot write to the project list configuration file. Free up space on the local hard disk. If the problem persists, contact the administrator for your computer to confirm that your user account has appropriate permissions to write to the file.

Also, I am getting the follow error immediately after checkin:

Object reference not set to an instance of an object.

Are the errors related?

[844 byte] By [MaggieChan] at [2007-12-21]
# 1

In addition to the visible error message, there is also an error tracing that you can turn on and get more details on the exact nature of the I/O error. To turn on the tracing, locate devenv.exe.config file, uncomment the <system.diagnostics> block, and modify your log file path. You can then restart VS, try to repro the error, and look at the log for the detailed I/O exception.

I believe the error after checkin is related to the previous I/O error since post-checkin processing also saves history data to disk.

TanPhan at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 2

This is the content of my devenv.exe.config file in my C:\Program Fiels\Microsoft Visual Stuido 8\Common7\IDE directory, I cannot find the <system.diagnostics> block you mentioned. Am I looking at the right file?

<?xml version ="1.0"?>

<configuration>

<startup>

<supportedRuntime version="v2.0.50727" safemode="true"/>

<requiredRuntime version="v2.0.50727" safemode="true"/>

</startup>

<runtime>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">

<probing privatePath="PublicAssemblies;PrivateAssemblies"/>

<dependentAssembly>

<assemblyIdentity name="Microsoft.Build.Framework" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>

<bindingRedirect oldVersion="0.0.0.0-99.9.9.9" newVersion="2.0.0.0"/>

</dependentAssembly>

<dependentAssembly>

<assemblyIdentity name="EnvDTE" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>

<bindingRedirect oldVersion="7.0.3300.0" newVersion="8.0.0.0"/>

</dependentAssembly>

</assemblyBinding>

</runtime>

<system.net>

<settings>

<ipv6 enabled="true"/>

</settings>

</system.net>

</configuration>

MaggieChan at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 3
Somehow, not knowing what I did, the error message at startup no longer comes up. I still, however, have trouble accessing Work Items. The Work Items folder in my Team Explorer has a small red "x" on it. How can I fix this?
MaggieChan at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 4

Here is the xml code that you can insert after the </runtime> tag.

<system.diagnostics>
<switches>
<add name="TeamFoundationSoapProxy" value="4" />
<add name="VersionControl" 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:\YourLogFile.log" />
</listeners>
</trace>
</system.diagnostics>

This should turn on and write error logging/tracing into your log file (C:\YourLogFile.log). You may want to change the log file path.

TanPhan at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 5

Attached is the content of the log file, hope it is not too big... what am I looking for?

6/22/2006 1:56:55 PM (pid 4052, tid 3932, 0 ms) ConnectionLimit = 32, BypassProxyOnLocal = False, EnableCompression = True, DefaultTimeout = 300000
6/22/2006 1:56:55 PM (pid 4052, tid 3932, 0 ms) User agent: Team Foundation (devenv.exe, 8.0.50727.147)
6/22/2006 1:56:55 PM (pid 4052, tid 3932, 46 ms) Web method running: [http://tfsrtm:8080/Services/v1.0/ServerStatus.asmx] CheckAuthentication[Ser]
6/22/2006 1:56:55 PM (pid 4052, tid 3932, 78 ms) Web method response: [http://tfsrtm:8080/Services/v1.0/ServerStatus.asmx] CheckAuthentication[Ser] 37 ms
6/22/2006 1:56:55 PM (pid 4052, tid 3932, 93 ms) TFS::Authenticate : Caught exception : Microsoft.TeamFoundation.TeamFoundationServerUnauthorizedException: TF30063: You are not authorized to access TFSRTM.
at Microsoft.TeamFoundation.Client.TeamFoundationSoapProxy.ThrowIfUnauthorized(HttpWebResponse response)
at Microsoft.TeamFoundation.Client.TeamFoundationSoapProxy.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at Microsoft.TeamFoundation.Client.CheckAuthenticationProxy.CheckAuthentication()
at Microsoft.TeamFoundation.Client.TeamFoundationServer.Authenticate(Boolean useProvider, ICredentialsProvider provider)
6/22/2006 1:56:57 PM (pid 4052, tid 3932, 2500 ms) Web method running: [http://tfsrtm:8080/Services/v1.0/ServerStatus.asmx] CheckAuthentication[Ser]
6/22/2006 1:56:57 PM (pid 4052, tid 3932, 2562 ms) Web method response: [http://tfsrtm:8080/Services/v1.0/ServerStatus.asmx] CheckAuthentication[Ser] 55 ms
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 2984 ms) Web method running: [http://tfsrtm:8080/Services/v1.0/Registration.asmx] GetRegistrationEntries[Ser]
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3109 ms) Web method response: [http://tfsrtm:8080/Services/v1.0/Registration.asmx] GetRegistrationEntries[Ser] 118 ms
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3421 ms) Web method running: [http://tfsrtm:8080/Services/v1.0/GroupSecurityService.asmx] ReadIdentity[Ser]
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3453 ms) Web method response: [http://tfsrtm:8080/Services/v1.0/GroupSecurityService.asmx] ReadIdentity[Ser] 24 ms
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3515 ms) Using cache file path C:\Documents and Settings\mchan\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\VersionControl.config
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3515 ms) Session ID: 1fc29213-6b8c-4976-af70-e5ec4d08a8df
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3515 ms) Time spent getting service URL ISCCProvider: 0 ms
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3515 ms) CreateWebRequest() -- Uri: http://tfsrtm:8080/VersionControl/v1.0/repository.asmx
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3515 ms) request.AutomaticDecompression: GZip
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3515 ms) Web method running: [VersionControl/] QueryWorkspaces[Ver]
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3546 ms) HTTP headers:
Content-Encoding:
Vary: Accept-Encoding
Transfer-Encoding: chunked
Cache-Control: private, max-age=0
Content-Type: application/soap+xml; charset=utf-8
Date: Thu, 22 Jun 2006 20:57:01 GMT
Server: Microsoft-IIS/6.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET

6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3562 ms) Web method response: [VersionControl/] QueryWorkspaces[Ver] 36 ms
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3562 ms) Using cache file path C:\Documents and Settings\mchan\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\VersionControl.config
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3906 ms) CreateWebRequest() -- Uri: http://tfsrtm:8080/VersionControl/v1.0/repository.asmx
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3906 ms) request.AutomaticDecompression: GZip
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3906 ms) Web method running: [VersionControl/] QueryPendingSets[Ver]
6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3953 ms) HTTP headers:
Content-Encoding:
Vary: Accept-Encoding
Transfer-Encoding: chunked
Cache-Control: private, max-age=0
Content-Type: application/soap+xml; charset=utf-8
Date: Thu, 22 Jun 2006 20:57:01 GMT
Server: Microsoft-IIS/6.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET

6/22/2006 1:56:58 PM (pid 4052, tid 3932, 3953 ms) Web method response: [VersionControl/] QueryPendingSets[Ver] 42 ms
6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4000 ms) CreateWebRequest() -- Uri: http://tfsrtm:8080/VersionControl/v1.0/repository.asmx
6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4000 ms) request.AutomaticDecompression: GZip
6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4000 ms) Web method running: [VersionControl/] QueryItemsExtended[Ver]
6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4046 ms) HTTP headers:
Content-Encoding:
Vary: Accept-Encoding
Transfer-Encoding: chunked
Cache-Control: private, max-age=0
Content-Type: application/soap+xml; charset=utf-8
Date: Thu, 22 Jun 2006 20:57:01 GMT
Server: Microsoft-IIS/6.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET

6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4046 ms) Web method response: [VersionControl/] QueryItemsExtended[Ver] 46 ms
6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4250 ms) CreateWebRequest() -- Uri: http://tfsrtm:8080/VersionControl/v1.0/repository.asmx
6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4250 ms) request.AutomaticDecompression: GZip
6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4250 ms) Web method running: [VersionControl/] QueryWorkspaces[Ver]
6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4296 ms) HTTP headers:
Content-Encoding:
Vary: Accept-Encoding
Transfer-Encoding: chunked
Cache-Control: private, max-age=0
Content-Type: application/soap+xml; charset=utf-8
Date: Thu, 22 Jun 2006 20:57:02 GMT
Server: Microsoft-IIS/6.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET

6/22/2006 1:56:59 PM (pid 4052, tid 3932, 4296 ms) Web method response: [VersionControl/] QueryWorkspaces[Ver] 50 ms
6/22/2006 1:56:59 PM (pid 4052, tid 900, 4328 ms) Web method running: [http://tfsrtm:8080/Services/v1.0/CommonStructureService.asmx] ListProjects[Ser]
6/22/2006 1:56:59 PM (pid 4052, tid 900, 4406 ms) Web method response: [http://tfsrtm:8080/Services/v1.0/CommonStructureService.asmx] ListProjects[Ser] 73 ms
6/22/2006 1:57:01 PM (pid 4052, tid 900, 6890 ms) Web method running: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] GetListCollection[Wss]
6/22/2006 1:57:01 PM (pid 4052, tid 900, 6953 ms) Web method response: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] GetListCollection[Wss] 66 ms
6/22/2006 1:57:02 PM (pid 4052, tid 900, 7359 ms) Web method running: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss]
6/22/2006 1:57:02 PM (pid 4052, tid 900, 7375 ms) Web method running: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss]
6/22/2006 1:57:02 PM (pid 4052, tid 2304, 7375 ms) Web method running: [http://tfsrtm/ReportServer/ReportService.asmx] ListChildren[Rep]
6/22/2006 1:57:02 PM (pid 4052, tid 900, 7375 ms) Web method running: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss]
6/22/2006 1:57:02 PM (pid 4052, tid 900, 7375 ms) Web method running: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss]
6/22/2006 1:57:02 PM (pid 4052, tid 900, 7375 ms) Web method running: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss]
6/22/2006 1:57:02 PM (pid 4052, tid 900, 7375 ms) Web method running: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss]
6/22/2006 1:57:02 PM (pid 4052, tid 900, 7375 ms) Web method running: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss]
6/22/2006 1:57:02 PM (pid 4052, tid 2296, 7515 ms) CreateWebRequest() -- Uri: http://tfsrtm:8080/VersionControl/v1.0/repository.asmx
6/22/2006 1:57:02 PM (pid 4052, tid 2296, 7515 ms) request.AutomaticDecompression: GZip
6/22/2006 1:57:02 PM (pid 4052, tid 2296, 7515 ms) Web method running: [VersionControl/] QueryItems[Ver]
6/22/2006 1:57:02 PM (pid 4052, tid 3476, 7531 ms) Web method response: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss] 166 ms
6/22/2006 1:57:02 PM (pid 4052, tid 2304, 7546 ms) Web method response: [http://tfsrtm/ReportServer/ReportService.asmx] ListChildren[Rep] 175 ms
6/22/2006 1:57:02 PM (pid 4052, tid 3476, 7703 ms) Web method response: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss] 337 ms
6/22/2006 1:57:02 PM (pid 4052, tid 2296, 7734 ms) HTTP headers:
Content-Encoding:
Vary: Accept-Encoding
Transfer-Encoding: chunked
Cache-Control: private, max-age=0
Content-Type: application/soap+xml; charset=utf-8
Date: Thu, 22 Jun 2006 20:57:05 GMT
Server: Microsoft-IIS/6.0
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET

6/22/2006 1:57:02 PM (pid 4052, tid 2296, 7734 ms) Web method response: [VersionControl/] QueryItems[Ver] 220 ms
6/22/2006 1:57:02 PM (pid 4052, tid 3476, 7859 ms) Web method response: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss] 484 ms
6/22/2006 1:57:02 PM (pid 4052, tid 3476, 7906 ms) Web method response: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss] 534 ms
6/22/2006 1:57:02 PM (pid 4052, tid 3476, 7953 ms) Web method response: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss] 578 ms
6/22/2006 1:57:03 PM (pid 4052, tid 3476, 8000 ms) Web method response: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss] 621 ms
6/22/2006 1:57:03 PM (pid 4052, tid 3476, 8015 ms) Web method response: [http://tfsrtm/sites/Adventureworks/_vti_bin/Lists.asmx] {AsyncSharepoint}[Wss] 637 ms
6/22/2006 1:57:14 PM (pid 4052, tid 3932, 19296 ms) Using cache file path C:\Documents and Settings\mchan\Local Settings\Application Data\Microsoft\Team Foundation\1.0\Cache\VersionControl.config

MaggieChan at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 6

The authentication exception in the log is a good place to start...

I'll alert a few other people who can look deeper into this.

-Tan

TanPhan at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 7

1) Are other users experiencing this problem?

2) Are there any event log errors on the AT?

3) Have there been any recent changes to the security settings in TFS? Specifically, the permission settings related to the service accounts group.

SamHeald at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 8

The problem only appears on one PC. I am able to log on to Team Explorer on the server without the same problem.

I have tried to re-install the Team Explorer on my PC but the problem persists.

As far as I know, there has not been any changes in security settings in TFS. I am the only user on the system at the moment. In terms of event logs, you meant event log on the server or on the PC where the problem shows up? Sorry, wasn't sure what "AT" meant..

BTW, we are only using the demo version of the Team System. We have set up the server using the virtual pc images provided by Microsoft. Would this make any difference?

MaggieChan at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...
# 9
The AT is the server where Team Foundation is installed. Usually, this is a different system than your client PC.
JeffLucovsky at 2007-9-10 > top of Msdn Tech,Visual Studio Team System,Team Foundation Server - General...

Visual Studio Team System

Site Classified