Sunday, November 13, 2011

Need Help: COALMG Leader

(Cross-posted at http://www.coalmg.org/)

Both Alexei and I enjoy working on the COALMG group. However, within the last few months, both of us took on new roles in our careers and struggle to find the time to line up speakers and keep things running smoothly.

To that end, we would like to open up COALMG to new leadership. Alexei and I would still remain involved (as well as Brian Prince) from a "board"/guidance perspective but we want someone to really drive: schedule strong presenters, question the current setup, drive membership, sponsors, etc.

We have a great following and there's tons of potential. COALMG is a fantastic opportunity for someone with energy, a passion for great software and a desire to get involved in the community.

We look forward to hearing from you! If you're interested, shoot me an email at jeff dot hunsaker at gmail.

Thursday, June 09, 2011

TFS Error | The type initializer for 'Microsoft.TeamFoundation.Build.Server.BuildInformationNodeBinder' threw an exception.

Posting this one for the search engines. If you ever receive the exception "The type initializer for 'Microsoft.TeamFoundation.Build.Server.BuildInformationNodeBinder' threw an exception.", more than likely, your drive space is at 0 on your TFS application tier box.

I encountered this at a client recently. The root cause was that IIS logs had filled up the OS drive (C:\). I switched IIS logging to the applications drive (D:\) which cleaned up the OS drive and resolved the issue.

Detailed message:


TF53010: The following error has occurred in a Team Foundation component or extension:


Date (UTC): 6/7/2011 4:18:53 PM

Machine: TFSATBOX

Application Domain: /LM/W3SVC/8080/ROOT/tfs-1-129519118182628600

Assembly: Microsoft.TeamFoundation.Framework.Server, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

Service Host: 7ecfbd77-b386-4d75-b038-b05474782696 (DefaultCollection)

Process Details:

Process Name: w3wp

Process Id: 3676

Thread Id: 5752

Account name: DOMAIN\SomeUser



Detailed Message: TF30065: An unhandled exception occurred.



Web Request Details

Url: http://tfs.internal.somedomain.com:8080/tfs/_tfs_resources/Build/v3.0/BuildService.asmx [method: POST]

User Agent: Team Foundation (devenv.exe, 10.0.40219.1)

Headers: Content-Length=406&Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8&Accept-Encoding=gzip&Accept-Language=en-US&Expect=100-continue&Host=tfs.internal.somedomain.com%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+10.0.40219.1)&X-TFS-Version=1.0.0.0&X-TFS-Session=7f33f7f4-765c-46fd-9f4a-bfd6dab598e7&TF-Instance=7f33f7f4-765c-46fd-9f4a-bfd6dab598e7&SOAPAction=http%3a%2f%2fschemas.microsoft.com%2fTeamFoundation%2f2005%2f06%2fBuild%2fBuildService%2f03%2fStopBuilds

Path: /tfs/_tfs_resources/Build/v3.0/BuildService.asmx

Local Request: False

Host Address: 10.10.10.10

User: DOMAIN\SomeUser [authentication type: NTLM]



Exception Message: The type initializer for 'Microsoft.TeamFoundation.Build.Server.BuildInformationNodeBinder' threw an exception. (type TypeInitializationException)



Exception Stack Trace: at Microsoft.TeamFoundation.Build.Server.BuildInformationNodeBinder.Bind()

at Microsoft.TeamFoundation.Framework.Server.ObjectBinder`1.TryMoveNext()

at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.UpdateBuildInformation(TeamFoundationRequestContext requestContext, IList`1 changes, IdentityDescriptor requestedFor)

at Microsoft.TeamFoundation.Build.Server.BuildController.StopBuilds(TeamFoundationRequestContext requestContext, IdentityDescriptor requestedFor, BuildServiceHost serviceHost, IList`1 builds, Boolean force)

at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.StopBuilds(TeamFoundationRequestContext requestContext, IList`1 uris)

at Microsoft.TeamFoundation.Build.Server.BuildWebService.StopBuilds(String[] uris)



Inner Exception Details:



Exception Message: There is not enough space on the disk.

(type IOException)



Exception Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)

at System.IO.FileStream.FlushWrite(Boolean calledFromFinalizer)

at System.IO.FileStream.Dispose(Boolean disposing)

at System.IO.Stream.Close()

at System.IO.StreamWriter.Dispose(Boolean disposing)

at System.IO.TextWriter.Dispose()

at Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch(CompilerParameters options, String[] sources)

at Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options, String[] sources)

at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, XmlSerializerCompilerParameters xmlParameters, Evidence evidence)

at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, XmlSerializerCompilerParameters parameters, Assembly assembly, Hashtable assemblies)

at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence)

at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace)

at Microsoft.TeamFoundation.Build.Server.BuildSqlXmlColumnBinder`1..ctor(String columnName)

at Microsoft.TeamFoundation.Build.Server.BuildInformationNodeBinder..cctor()

Wednesday, January 12, 2011

TF221122: TFS Error While Processing Cube

If you're experiencing "Query execution failed for dataset 'ds[Whatever]'. ", more than likely, your warehouse processing is failing. Going into the Admin Console or invoking the web service directly, invoking the Start Rebuild action, I kept receiving a TF221122.

Finally, when I added the account under "Account for accessing data sources" under the "Analysis Services" tab to the SQL Server Tfs_Warehouse database TFSEXECROLE role, processing began to succeed again. Whew.