Setspn th?t b?i n?u tn mi?n khc v?i tn NetBIOS SQL Server SPN l ng k?

D?ch tiu ? D?ch tiu ?
ID c?a bi: 277658 - Xem s?n ph?m m bi ny p d?ng vo.
L?I #: 236041 (SHILOH)
Bung t?t c? | Thu g?n t?t c?

TRI?U CH?NG

Khi b?n c? g?ng ? ng k? tn chnh d?ch v? (SPN) b?ng cch s? d?ng cc ti?n ch Setspn, v tn NetBIOS c?a my tnh ang ch?y Microsoft SQL Server 2000 khc v?i tn mi?n, c php sau y khng chnh xc.
setspn -A MSSQLSvc/<Host>:<port> <serviceaccount>
				
C php ny s? tr? v? l?i sau:
C:\>setspn -A MSSQLSvc/lphBar2.hemlock.com:1433 delegation

Registering ServicePrincipalNames for (null)

        MSSQLSvc/LPHBar2.hemlock.com:1433

Failed to assign SPN to account '(null)', 0x57    
				
Chu y Cc thng tin sau p d?ng cho cc v d? trong bi vi?t ny:
  • "lphbar2" l tn my ch? lu tr? c?a my tnh ang ch?y SQL Server.
  • "Hemlock" l tn mi?n Microsoft Windows 2000.
  • "Phi on" l SQL My ch? tn mi?n ti kho?n theo cc d?ch v? SQL Server ang ch?y.
  • "hemlock0" l tn NetBIOS c?a my tnh ang ch?y SQL Server. y l my tnh ni m SPN ?c ng k?.

CCH GI?I QUY?T KHC

? lm vi?c xung quanh v?n ? ny, b?n c th? ng k? SPN b?ng cch s? d?ng c php sau y.
setspn -A MSSQLSvc/<Host>:<port> <domainname>\<serviceaccount>
				
V d?, s? d?ng c php sau y.
C:\>setspn -A MSSQLSvc/lphbar2.hemlock.com:1433 hemlock0/delegation
				
Thng bo r?ng tn NetBIOS c?a my tnh ch?y SQL Server (hemlock0) v tn mi?n Windows 2000 tn (cy ?c c?n) l khc nhau.

THNG TIN THM

Thng tin v? on ?i bi?u, xem "Security Account on ?i bi?u"ch? ? trong SQL Server 2000 cu?n sch tr?c tuy?n.

Thu?c tnh

ID c?a bi: 277658 - L?n xem xt sau cng: 22 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft SQL Server 2000 Standard Edition
T? kha:
kbprb kbmt KB277658 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:277658

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