Team System Developer Center > Visual Studio Team System Forums > Team Foundation Server - Work Item Tracking > "Cannot complete the operation" of SAVING a work item...log says "SQL expression services limit has been reached"
Ask a questionAsk a question
 

Answer"Cannot complete the operation" of SAVING a work item...log says "SQL expression services limit has been reached"

  • Friday, March 16, 2007 10:37 PMMarlin7 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Can't save any kind of work item and always get the error "Can not complete the operation. An unexpected error occured". I've tried:

    1.Refreshing the work item list in team explorer.

    2.Disconnecting and reconnecting to the project.

    3.Closing and restarting VS2005

    4.Recycling the IIS application pool

    Two errors show up in the server application log. They are listed below. What do they mean and how do i fix the inability to save work items? I read something about large work items and "simplifying the sql search". But i'm saving, not searching. I will try restarting the server or at least the sql services.

    1:

    Event Type: Error
    Event Source: Team Foundation Error Reporting
    Event Category: None
    Event ID: 5000
    Date:  3/16/2007
    Time:  3:24:14 PM
    User:  N/A
    Computer: DMSTSTSRV1
    Description:
    EventType teamfoundationue, P1 1.0, P2 wit, P3 8.0.50727.147, P4 8.0.0.0, P5 unmapped, P6 sqlexception.17.8632, P7 da1edefc738b1975, P8 b69c788e, P9 NIL, P10 NIL.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    Data:
    0000: 74 00 65 00 61 00 6d 00   t.e.a.m.
    0008: 66 00 6f 00 75 00 6e 00   f.o.u.n.
    0010: 64 00 61 00 74 00 69 00   d.a.t.i.
    0018: 6f 00 6e 00 75 00 65 00   o.n.u.e.
    0020: 2c 00 20 00 31 00 2e 00   ,. .1...
    0028: 30 00 2c 00 20 00 77 00   0.,. .w.
    0030: 69 00 74 00 2c 00 20 00   i.t.,. .
    0038: 38 00 2e 00 30 00 2e 00   8...0...
    0040: 35 00 30 00 37 00 32 00   5.0.7.2.
    0048: 37 00 2e 00 31 00 34 00   7...1.4.
    0050: 37 00 2c 00 20 00 38 00   7.,. .8.
    0058: 2e 00 30 00 2e 00 30 00   ..0...0.
    0060: 2e 00 30 00 2c 00 20 00   ..0.,. .
    0068: 75 00 6e 00 6d 00 61 00   u.n.m.a.
    0070: 70 00 70 00 65 00 64 00   p.p.e.d.
    0078: 2c 00 20 00 73 00 71 00   ,. .s.q.
    0080: 6c 00 65 00 78 00 63 00   l.e.x.c.
    0088: 65 00 70 00 74 00 69 00   e.p.t.i.
    0090: 6f 00 6e 00 2e 00 31 00   o.n...1.
    0098: 37 00 2e 00 38 00 36 00   7...8.6.
    00a0: 33 00 32 00 2c 00 20 00   3.2.,. .
    00a8: 64 00 61 00 31 00 65 00   d.a.1.e.
    00b0: 64 00 65 00 66 00 63 00   d.e.f.c.
    00b8: 37 00 33 00 38 00 62 00   7.3.8.b.
    00c0: 31 00 39 00 37 00 35 00   1.9.7.5.
    00c8: 2c 00 20 00 62 00 36 00   ,. .b.6.
    00d0: 39 00 63 00 37 00 38 00   9.c.7.8.
    00d8: 38 00 65 00 2c 00 20 00   8.e.,. .
    00e0: 4e 00 49 00 4c 00 20 00   N.I.L. .
    00e8: 4e 00 49 00 4c 00 0d 00   N.I.L...
    00f0: 0a 00                     ..     

    2.

    Event Type: Error
    Event Source: TFS WorkItem Tracking
    Event Category: None
    Event ID: 3017
    Date:  3/16/2007
    Time:  3:24:13 PM
    User:  N/A
    Computer: DMSTSTSRV1
    Description:
    TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.
    Technical Information (for the administrative staff):
    Date (UTC): 3/16/2007 10:24:13 PM
    Machine: DMSTSTSRV1
    Application Domain: /LM/W3SVC/4/Root/WorkItemTracking-5-128185574405042592
    Assembly: Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
    Process Details:
      Process Name: w3wp
      Process Id: 6044
      Thread Id: 5568
      Account name: REDMOND\v-marlin

    Detailed Message: TF53013: A crash report is being prepared for Microsoft. The following information is included in that report:
    System Values
    OS Version Information=Microsoft Windows NT 5.2.3790 Service Pack 1
    CLR Version Information=2.0.50727.42
    Machine Name=DMSTSTSRV1 Processor Count=2
    Working Set=116662272
    System Directory=C:\WINNT\system32
    Process Values
    ExitCode=0
    Interactive=False
    Has Shutdown Started=False
    Process Environment Variables
    Path = C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\Program Files\CA\eTrust Antivirus;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\
    TEMP = C:\WINNT\TEMP
    PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE = x86
    SystemDrive = C:
    windir = C:\WINNT
    USERPROFILE = C:\Documents and Settings\Default User
    TMP = C:\WINNT\TEMP
    INOCULAN = C:\Program Files\CA\eTrust Antivirus
    ProgramFiles = C:\Program Files
    FP_NO_HOST_CHECK = NO
    COMPUTERNAME = DMSTSTSRV1
    APP_POOL_ID = TFS AppPool
    NUMBER_OF_PROCESSORS = 2
    PROCESSOR_IDENTIFIER = x86 Family 15 Model 4 Stepping 1, GenuineIntel
    ClusterLog = C:\WINNT\Cluster\cluster.log
    SystemRoot = C:\WINNT
    ComSpec = C:\WINNT\system32\cmd.exe
    CommonProgramFiles = C:\Program Files\Common Files
    PROCESSOR_LEVEL = 15
    PROCESSOR_REVISION = 0401
    ALLUSERSPROFILE = C:\Documents and Settings\All Users
    AVENGINE = C:\PROGRA~1\CA\SHARED~1\SCANEN~1
    OS = Windows_NT

    Request Details
    Url=http://dmststsrv1:8080/WorkItemTracking/v1.0/ClientService.asmx [method = POST]
    User Agent=Team Foundation (devenv.exe, 8.0.50727.147)
    Headers=Content-Length=3484&Content-Type=application%2fsoap%2bxml%3b+charset%3dutf-8%3b+action%3d%22http%3a%2f%2fschemas.microsoft.com%2fTeamFoundation%2f2005%2f06%2fWorkItemTracking%2fClientServices%2f03%2fUpdate%22&Accept-Encoding=gzip%2cgzip%2cgzip&Accept-Language=en-US&Authorization=NTLM+TlRMTVNTUAADAAAAGAAYAIIAAABAAUABmgAAAA4ADgBYAAAAEAAQAGYAAAAMAAwAdgAAABAAEADaAQAANYKI4gYAcBcAAAAPlCvB0VusChkekshAynupYVIARQBEAE0ATwBOAEQAdgAtAG0AYQByAGwAaQBuAE8ASABXAE8ATgBBALU7lY0N8J3nPuUIujbgtQpDOQk0ANMeZ3eW9C9xStYg5q6NFED%2bzQcBAQAAAAAAAH96tMsZaMcBQzkJNADTHmcAAAAAAgAOAFIARQBEAE0ATwBOAEQAAQAUAEQATQBTAFQAUwBUAFMAUgBWADEABAA0AHIAZQBkAG0AbwBuAGQALgBjAG8AcgBwAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQADAEoAZABtAHMAdABzAHQAcwByAHYAMQAuAHIAZQBkAG0AbwBuAGQALgBjAG8AcgBwAC4AbQBpAGMAcgBvAHMAbwBmAHQALgBjAG8AbQAFACQAYwBvAHIAcAAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ACAAwADAAAAAAAAAAAQAAAAAgAAD85R4WEjCaKC6UnsZqcVGJACtyEbQz%2f1sB6CCU35BfRgAAAAAAAAAAOFe69LAmrbyDYUIqVwqnYA%3d%3d&Expect=100-continue&Host=dmststsrv1%3a8080&User-Agent=Team+Foundation+(devenv.exe%2c+8.0.50727.147)&X-TFS-Version=1.0.0.0
    Path=/WorkItemTracking/v1.0/ClientService.asmx
    Local Request=False
    User Host Address=157.56.175.80
    User=REDMOND\v-marlin [auth = NTLM]

    Exception: SqlException
    Message: Internal error: An expression services limit has been reached. Please look for potentially complex expressions in your query, and try to simplify them.
    SQL Exception Class: 17
    SQL Exception Number: 8632
    SQL Exception Server: DMSTSTSRV1
    SQL Exception Source: .Net SqlClient Data Provider
    SQL Exception State: 2
    SQL Exception Procedure:
    SQL Exception Line Number: 2
    Exception Data Dictionary follows
    HelpLink.ProdName = Microsoft SQL Server
    HelpLink.ProdVer = 09.00.2047
    HelpLink.EvtSrc = MSSQLServer
    HelpLink.EvtID = 8632
    HelpLink.BaseHelpUrl =
    http://go.microsoft.com/fwlink
    HelpLink.LinkId = 20476
    Stack Trace:
       at Microsoft.TeamFoundation.WorkItemTracking.Server.SqlAccess.HandleDalError(Exception e)
       at Microsoft.TeamFoundation.WorkItemTracking.Server.SqlAccess.ExecuteBatchPayloadImpl(IRequestContext context, String sqlBatch, List`1 parameterList, Boolean& errorOnBulkUpdate, String connectionString)
       at Microsoft.TeamFoundation.WorkItemTracking.Server.SqlBatchBuilder.ExecuteBatchInternal(IRequestContext context, Boolean passInConnectionInfo, String server, String database)
       at Microsoft.TeamFoundation.WorkItemTracking.Server.DataAccessLayerImpl.UpdateImpl(String serverName, String databaseName, String attachmentServer, String attachmentDatabase, XmlElement updateElement, MetadataTable[] tablesRequested, Int64[] rowVersions, Payload metadataPayload, Boolean bisNotification, String& dbStamp, Boolean bulkUpdate, Boolean& bulkUpdateSuccess, String userSid)
       at Microsoft.TeamFoundation.WorkItemTracking.Server.DataAccessLayerImpl.Update(String serverName, String databaseName, String attachmentServer, String attachmentDatabase, XmlElement updateElement, MetadataTable[] tablesRequested, Int64[] rowVersions, Payload metadataPayload, Boolean bisNotification, String& dbStamp, String userSid)
       at Microsoft.TeamFoundation.WorkItemTracking.Server.ClientService.Update(XmlElement package, XmlElement& result, MetadataTableHaveEntry[] metadataHave, String& dbStamp, Payload& metadata)

    Application Domain Information
    Assembly Name=mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Assembly CLR Version=v2.0.50727
    Assembly Version=2.0.0.0
    Assembly Location=C:\WINNT\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
    Assembly File Version:
    File:             C:\WINNT\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll
    InternalName:     mscorlib.dll
    OriginalFilename: mscorlib.dll
    FileVersion:      2.0.50727.42 (RTM.050727-4200)
    FileDescription:  Microsoft Common Language Runtime Class Library
    Product:          Microsoft® .NET Framework
    ProductVersion:   2.0.50727.42
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Assembly CLR Version=v2.0.50727
    Assembly Version=2.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll
    InternalName:     System.Web.dll
    OriginalFilename: System.Web.dll
    FileVersion:      2.0.50727.210 (QFE.050727-2100)
    FileDescription:  System.Web.dll
    Product:          Microsoft® .NET Framework
    ProductVersion:   2.0.50727.210
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Assembly CLR Version=v2.0.50727
    Assembly Version=2.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll
    InternalName:     System.dll
    OriginalFilename: System.dll
    FileVersion:      2.0.50727.42 (RTM.050727-4200)
    FileDescription:  .NET Framework
    Product:          Microsoft® .NET Framework
    ProductVersion:   2.0.50727.42
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Assembly CLR Version=v2.0.50727
    Assembly Version=2.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll
    InternalName:     System.Xml.dll
    OriginalFilename: System.Xml.dll
    FileVersion:      2.0.50727.42 (RTM.050727-4200)
    FileDescription:  .NET Framework
    Product:          Microsoft® .NET Framework
    ProductVersion:   2.0.50727.42
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Assembly CLR Version=v2.0.50727
    Assembly Version=2.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
    InternalName:     System.Configuration.dll
    OriginalFilename: System.Configuration.dll
    FileVersion:      2.0.50727.42 (RTM.050727-4200)
    FileDescription:  System.Configuration.dll
    Product:          Microsoft® .NET Framework
    ProductVersion:   2.0.50727.42
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Assembly CLR Version=v2.0.50727
    Assembly Version=2.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll
    InternalName:     system.data.dll
    OriginalFilename: system.data.dll
    FileVersion:      2.0.50727.42 (RTM.050727-4200)
    FileDescription:  .NET Framework
    Product:          Microsoft® .NET Framework
    ProductVersion:   2.0.50727.42
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Assembly CLR Version=v2.0.50727
    Assembly Version=2.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_32\System.Transactions\2.0.0.0__b77a5c561934e089\System.Transactions.dll
    InternalName:     system.transactions.dll
    OriginalFilename: system.transactions.dll
    FileVersion:      2.0.50727.42 (RTM.050727-4200)
    FileDescription:  .NET Framework
    Product:          Microsoft® .NET Framework
    ProductVersion:   2.0.50727.42
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Assembly CLR Version=v2.0.50727
    Assembly Version=2.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
    InternalName:     System.EnterpriseServices.dll
    OriginalFilename: System.EnterpriseServices.dll
    FileVersion:      2.0.50727.42 (RTM.050727-4200)
    FileDescription:  Microsoft .NET Services Support Infrastructure
    Product:          Microsoft® .NET Framework
    ProductVersion:   2.0.50727.42
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Assembly CLR Version=v2.0.50727
    Assembly Version=8.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_MSIL\Microsoft.JScript\8.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll
    InternalName:     Microsoft.JScript.dll
    OriginalFilename: Microsoft.JScript.dll
    FileVersion:      8.0.50727.42
    FileDescription:  Microsoft.JScript.dll
    Product:          Microsoft (R) Visual Studio (R) 2005
    ProductVersion:   8.0.50727.42
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         Language Neutral

    Assembly Name=App_global.asax.bwwbd8vq, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
    Assembly CLR Version=v2.0.50727
    Assembly Version=0.0.0.0
    Assembly Location=C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\workitemtracking\a86c5bc8\b33892d8\App_global.asax.bwwbd8vq.dll
    Assembly File Version:
    File:             C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\workitemtracking\a86c5bc8\b33892d8\App_global.asax.bwwbd8vq.dll
    InternalName:     App_global.asax.bwwbd8vq.dll
    OriginalFilename: App_global.asax.bwwbd8vq.dll
    FileVersion:      0.0.0.0
    FileDescription:  
    Product:         
    ProductVersion:   0.0.0.0
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         Language Neutral

    Assembly Name=Microsoft.TeamFoundation.WorkItemTracking.Server.DataServices, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Assembly CLR Version=v2.0.50727
    Assembly Version=8.0.0.0
    Assembly Location=C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\workitemtracking\a86c5bc8\b33892d8\assembly\dl3\fc78d9f1\ec5006ae_1844c601\Microsoft.TeamFoundation.WorkItemTracking.Server.DataServices.DLL
    Assembly File Version:
    File:             C:\WINNT\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\workitemtracking\a86c5bc8\b33892d8\assembly\dl3\fc78d9f1\ec5006ae_1844c601\Microsoft.TeamFoundation.WorkItemTracking.Server.DataServices.DLL
    InternalName:     Microsoft.TeamFoundation.WorkItemTracking.Server.DataServices.dll
    OriginalFilename: Microsoft.TeamFoundation.WorkItemTracking.Server.DataServices.dll
    FileVersion:      8.0.50727.147 built by: VSTF
    FileDescription:  Work Item Tracking Client Web Service
    Product:          Microsoft® Visual Studio® 2005
    ProductVersion:   8.0.50727.147
    Debug:            False
    Patched:          False
    PreRelease:       True
    PrivateBuild:     True
    SpecialBuild:     False
    Language:         English (United States)

    Assembly Name=Microsoft.TeamFoundation.Common, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Assembly CLR Version=v2.0.50727
    Assembly Version=8.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_32\Microsoft.TeamFoundation.Common\8.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.Common.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_32\Microsoft.TeamFoundation.Common\8.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.Common.dll
    InternalName:     Microsoft.TeamFoundation.Common.dll
    OriginalFilename: Microsoft.TeamFoundation.Common.dll
    FileVersion:      8.0.50727.147
    FileDescription:  Microsoft.TeamFoundation.Common.dll
    Product:          Microsoft (R) Visual Studio (R) 2005
    ProductVersion:   8.0.50727.147
    Debug:            False
    Patched:          False
    PreRelease:       False
    PrivateBuild:     False
    SpecialBuild:     False
    Language:         Language Neutral

    Assembly Name=Microsoft.TeamFoundation, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Assembly CLR Version=v2.0.50727
    Assembly Version=8.0.0.0
    Assembly Location=C:\WINNT\assembly\GAC_32\Microsoft.TeamFoundation\8.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.dll
    Assembly File Version:
    File:             C:\WINNT\assembly\GAC_32\Microsoft.TeamFoundation\8.0.0.0__b03f5f7f11d50a3a\Microsoft.TeamFoundation.dll
    InternalName:     Microsoft.TeamFoundation.dll
    OriginalFilename: Microsoft.Te

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Answers

  • Saturday, March 17, 2007 2:44 AMDan KershawMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Sorry that you hit this problem.  This can happen under rare conditions.  Basically when you save your work item, we validate all the rules associated with the fields for that work item type.  Under rare conditions the rule validation expression can become too complex for SQL to evaluate.

    Have you made any modifications to your work item type definitions for your project/server?  Have you added lots of fields and rules?  Can you post your work item type here?

    Also - how many work item types have you uploaded to the server?

    Thanks,

All Replies

  • Saturday, March 17, 2007 2:44 AMDan KershawMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Sorry that you hit this problem.  This can happen under rare conditions.  Basically when you save your work item, we validate all the rules associated with the fields for that work item type.  Under rare conditions the rule validation expression can become too complex for SQL to evaluate.

    Have you made any modifications to your work item type definitions for your project/server?  Have you added lots of fields and rules?  Can you post your work item type here?

    Also - how many work item types have you uploaded to the server?

    Thanks,

  • Monday, March 19, 2007 8:40 PMMarlin7 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    1. Yes, many modifications have been made. We use none of the original Agile or CMMI witd's.

    2.Yes, many fields and rules have been added.

    3.Um, just one of them is 3500+ lines long. The bulk of rules help enforce state related field requirements. I will email you a copy if you want to see it.

    4.There are only 4 types, but a couple of them have had many revisions. Does each revision count?

    >Mark4

  • Tuesday, April 17, 2007 2:52 AMMarlin7 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'm seeing this error again. Trying to save a very long and complex work item but also a very simple and short work item type both times the message appears "Could not complete the operation, an unexpected error occured", while the backend applog says a sql error occured. Where is there some guidance explaining and helping troubleshoot work item saves? Where in the tfs sql database server might there be some relevant info?
  • Friday, May 25, 2007 11:24 PMDan KershawMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Sorry for the delayed response, and that you hit this issue.

     

    The expression limit is scoped to a project - so you could still see this on a simple work item type.

    Can you post your complex work item type please?

     

    Thanks,