Kh?c ph?c: thng bo l?i "s? h?c trn l?i chuy?n ?i danh tnh ? d? li?u ki?u int" khi b?n xy d?ng m?t d? n trong nhm qu? Server 2010

D?ch tiu ? D?ch tiu ?
ID c?a bi: 2704778 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

? Trang ny

Tri?u ch?ng

Khi b?n c? g?ng ? xy d?ng m?t d? n trong Microsoft Visual Studio nhm n?n t?ng my ch? (TFS) 2010, th?t b?i qu tr?nh xy d?ng, v b?n nh?n ?c thng bo l?i sau:
Thng bo ngo?i l?: Arithmetic trn l?i chuy?n ?i danh tnh ? d? li?u ki?u int.
S? h?c trn x?y ra. (ki?u SqlException)
Ngoi ra, m?t tin th thoai unhandled ngo?i l? tng t? v?i nh?ng i?u sau y ?c t?o ra:
t?i Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.MapException (SqlException ex, QueryExecutionState queryState)

t?i Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.HandleException (SqlException c?)

t?i Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.Execute (ExecuteType executeType, hnh vi CommandBehavior)

lc Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.ExecuteReader()

t?i Microsoft.TeamFoundation.Build.Server.BuildComponent.UpdateBuildInformation (String buildUri, thay ?i IEnumerable'1, chu?i requestedBy)

t?i Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.UpdateBuildInformation (TeamFoundationRequestContext requestContext, IList'1 thay ?i, IdentityDescriptor requestedFor)

t?i Microsoft.TeamFoundation.Build.Server.BuildWebService.UpdateBuildInformation (InformationChangeRequest [] thay ?i)
Lu ?V?n ? ny th?ng x?y ra khi xy d?ng l?n cc b?n ghi ?c lu tr? trong b? my c s? d? li?u my ch? xy d?ng TFS.

Nguyn nhn

V?n ? ny x?y ra v? MSBuild logger thm cc nt ch?n m?t vo b?ng tbl_BuildInformation trong m?i qu tr?nh xy d?ng. V? v?y, cc c?t NodeId ?t gi tr? t?i a nguyn c?a n.

Gi?i php

? gi?i quy?t v?n ? ny, p d?ng hotfix sau.

y l m?t ph?ng ng?a hotfix. Hotfix ny khng gi?i quy?t v?n ? ny n?u n ? x?y ra. Chng ti ? ngh? b?n lin h? v?i b?n ghi d?ch v? h? tr? khch hng Microsoft n?u b?n g?p v?n ?.

Sau khi b?n p d?ng hotfix ny, cc thu?c tnh LogProjectNodes v LogWarnings ?c b? sung vo cc ho?t ?ng MSBuild trong TFS nm 2010.

Lu ?? thi?t l?p cc thu?c tnh m?i trong ho?t ?ng c?a MSBuild,b?n ph?i p d?ng hotfix ny trn my ch? xy d?ng TFS v trn cc khch hng Microsoft Visual Studio ?c s? d?ng ? ch?nh s?a cc cng vi?c xy d?ng.

Thng tin hotfix

M?t hotfix ?c h? tr? l by gi? c s?n t? Microsoft. Tuy nhin, n l nh?m kh?c ph?c ch? s? c? ?c m t? trong bi vi?t ny. N ch? p d?ng cho h? th?ng ang g?p v?n ? ny c? th?. Hotfix ny c th? nh?n ?c th? nghi?m b? sung. V? v?y, n?u b?n khng b? ?nh h?ng b?i v?n ? ny, chng ti ? ngh? b?n ?i b?n C?p Nh?t ti?p theo ph?n m?m c ch?a hotfix ny.

? gi?i quy?t v?n ? ny ngay l?p t?c, lin h? v?i b?n ghi d?ch v? h? tr? khch hng c?a Microsoft ? c ?c cc hotfix. Cho m?t danh sch ?y ? cc b?n ghi d?ch v? h? tr? Microsoft khch hng s? i?n tho?i v thng tin v? chi ph h? tr?, h?y truy c?p web site c?a Microsoft sau y:
http://support.Microsoft.com/contactus/?WS=support
Lu ? Trong tr?ng h?p ?c bi?t, chi ph m th?ng ph?i gnh ch?u ? h? tr? cc cu?c g?i c th? ?c h?y b? n?u m?t Microsoft h? tr? Professional xc ?nh r?ng m?t C?p Nh?t c? th? s? gi?i quy?t v?n ? c?a b?n. Cc chi ph h? tr? thng th?ng s? p d?ng ? h? tr? thm cu h?i v v?n ? khng ? i?u ki?n cho cc C?p Nh?t c? th? trong cu h?i.

i?u ki?n tin quy?t

? p d?ng hotfix ny, b?n ph?i c Microsoft Visual Studio ?i Foundation 2010 Service Pack 1 (SP1) ?c ci ?t chuyn bi?t.

Kh?i ?ng l?i yu c?u

B?n ph?i kh?i ?ng l?i my tnh sau khi b?n p d?ng hotfix ny n?u cc t?p tin b? ?nh h?ng ang ?c s? d?ng trong khi ci ?t chuyn bi?t. Chng ti ? ngh? r?ng b?n ng t?t c? cc tr?ng h?p c?a Visual Studio tr?c khi ci ?t chuyn bi?t hotfix ny.

Thng tin thay th? hotfix

Hotfix ny khng thay th? m?t hotfix pht hnh tr?c .

Thng tin v? t?p

Cc phin b?n ton c?u c?a hotfix ny c cc thu?c tnh t?p (ho?c thu?c tnh t?p m?i hn) m ?c li?t k trong b?ng sau. Ngy thng v th?i gian cho cc t?p tin ?c li?t k trong Gi? Qu?c t? Ph?i h?p (UTC). Khi b?n xem cc thng tin t?p tin, n ?c chuy?n ?i thnh gi? c?c b?. ? bi?t s? khc nhau gi?a UTC v local time, s? d?ng cc mui thi gian th? tab trong cc Ngay gi m?c trong Panel iu khin.
Thu g?n b?ng nyBung r?ng b?ng ny
Tn t?pPhin b?n t?pKch th?c t?p tinNgy thngTh?i gianN?n t?ng
Microsoft.teamfoundation.Build.Server.Logger.dll10.0.40219.41349,2808-Aug-1214: 55x 86
Microsoft.teamfoundation.Build.Workflow.dll10.0.40219.413660,6168-Aug-1214: 55x 86
Tfsbuildservicehost.exe10.0.40219.413192,6088-Aug-1214: 55x 86

T?nh tr?ng

Microsoft ? xc nh?n r?ng y l m?t v?n ? trong cc s?n ph?m c?a Microsoft ?c li?t k trong ph?n "p d?ng cho".

Thng tin thm

? ngn ch?n v?n ? ny, s? d?ng m?t trong nh?ng phng php sau y:
  • M? m?u qu tr?nh xy d?ng c?a b?n b?ng cch s? d?ng m?t tr?nh so?n th?o vn b?n, thm cc tnh ch?t LogProjectNodes v LogWarnings cho cc ho?t ?ng MSBuild, v sau thi?t l?p cc gi tr? c?a thu?c tnh ? sai.
  • M? m?u qu tr?nh xy d?ng c?a b?n b?ng cch s? d?ng cc nh thi?t k? quy tr?nh lm vi?c trong Visual Studio, tr?nh duy?t ? ho?t ?ng MSBuild, v sau thay ?i cc gi tr? c?a hai thu?c tnh ? sai.
Ghi ch
  • C hai MSBuild ho?t ?ng b?ng m?c ?nh xy d?ng quy tr?nh m?u.
  • gi tr? m?c ?nh c?a hai thu?c tnh l ng s? th?t.

Thu?c tnh

ID c?a bi: 2704778 - L?n xem xt sau cng: 12 Thang Chin 2012 - Xem xt l?i: 1.0
p d?ng
  • Microsoft Visual Studio Team Foundation Server 2010 Service Pack 1
  • Microsoft Visual Studio Team Foundation Server 2010
  • Microsoft Visual Studio 2010 Service Pack 1
  • Microsoft Visual Studio 2010 Ultimate
  • Microsoft Visual Studio 2010 Professional
  • Microsoft Visual Studio 2010 Premium with MSDN
  • Microsoft Visual Studio Test Professional 2010
T? kha:
kbqfe kbhotfixserver kbfix kbsurveynew kbexpertiseadvanced kbmt KB2704778 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny: 2704778

Cung cp Phan hi

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com