Kh?c ph?c: L?i 17310 khi b?n th?c hi?n m?t ho?t ?ng m gy nn m?t s? ki?n ki?m ton ?c ?nh ngh?a trong m?t ?c i?m k? thu?t ki?m ton trong SQL Server 2012

D?ch tiu ? D?ch tiu ?
ID c?a bi: 2678370 - 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

H?y xem xt k?ch b?n sau y:
  • B?n t?o m?t ki?m ton my ch? trong Microsoft SQL Server 2012. Ki?m ton my ch? s? d?ng m?t b? l?c predicate, v ti s?n ON_FAILURE ?c thi?t l?p ? "FAIL_OPERATION."
  • B?n t?o ra m?t ?c i?m k? thu?t ki?m ton my ch? ho?c m?t b? my c s? d? li?u ki?m ton ?c i?m k? thu?t cho my ch? ki?m ton.
  • B?n th?c hi?n m?t chi?n d?ch ch?ng l?i cc my ch? b? my c s? d? li?u.
  • Cc ho?t ?ng gy nn m?t s? ki?n ki?m ton ?c ?nh ngh?a trong ?c t? ki?m ton.
Trong tr?ng h?p ny, k?t n?i c?a cc ho?t ?ng b? ng?t k?t n?i. Ngoi ra, cc thng bo l?i sau y ? ng trong Nh?t k? l?i SQL Server:

b?n ghi d?ch v? SPID ## B?ng cch s? d?ng 'dbghelp.dll' phin b?n '4.0.5'

b?n ghi d?ch v? SPID ## *** Ngn x?p Dump ang ?c g?i ?n C:\Program Files\Microsoft SQL Server\MSSQL11.<InstanceName>\MSSQL\LOG\SQLDump0050.txt

SqlDumpExceptionHandler: Qu tr?nh 51 t?o ra ngo?i l? gy t? vong c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server ch?m d?t qu tr?nh ny.

*******************************************************************************

</InstanceName>b?n ghi d?ch v? SPID ## * B?t ?u NGN X?P DUMP:

b?n ghi d?ch v? SPID ## * 01/13/12 13: 48: 18 spid 51

b?n ghi d?ch v? SPID ## * Ngo?i l? ?a ch? = 0000000072B8D826 Module(UNKNOWN+0000000000000000)



b?n ghi d?ch v? SPID ## * M? ngo?i l? = c0000005 EXCEPTION_ACCESS_VIOLATION

b?n ghi d?ch v? SPID ## * Truy c?p vi ph?m x?y ra ?c ?a ch? 0000000000000000



L?i my ch?: 17310, m?c ? nghim tr?ng: 20, bang: 1.

My ch? a ng?i dng yu c?u t? phin giao d?ch v?i b?n ghi d?ch v? SPID 51 t?o ra m?t ngo?i l? gy t? vong. SQL Server k?t thc phin lm vi?c ny. Lin l?c b?n ghi d?ch v? H? tr? S?n ph?m v?i cc b?i ch?a ?c s?n xu?t trong m?c tin th thoai k nh?p.

Lu ? B?n c th? s? d?ng truy v?n sau y ? xc ?nh li?u v?n ? x?y ra:

SELECT NAME AS AUDITNAME FROM SYS.SERVER_AUDITS WHERE ON_FAILURE = 2 AND PREDICATE IS NOT NULL

N?u cc thng bo nh?t k l?i Nh?t k? l?i SQL Server, cc v?n ? ? x?y ra.

GI?I PHP

Cumulative update C?p nh?t thng tin

SQL Server 2012

S?a ch?a cho v?n ? ny l?n ?u tin ?c pht hnh trong Cumulative Update 1. ? bi?t thm chi ti?t v? lm th? no ? c ?c ny gi tch l?y cho SQL Server 2012, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
2679368 Tch l?y gi 1 cho SQL Server 2012
Lu ? B?i v? cc b?n xy d?ng tch l?y, m?i s?a ch?a m?i pht hnh ch?a t?t c? cc hotfix v t?t c? cc s?a l?i b?o m?t ?c bao g?m trong nm 2012 tr?c my ch? SQL S?a ch?a pht hnh. Chng ti ? ngh? b?n h?y xem xt vi?c p d?ng s?a ch?a pht hnh g?n y nh?t c ch?a hotfix ny. ? bi?t thm chi ti?t, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
2692828 SQL Server 2012 xy d?ng ?c pht hnh sau khi SQL Server 2012 ?c pht hnh

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".

CCH GI?I QUY?T KHC

? lm vi?c xung quanh v?n ? ny, m?t m?t trong nh?ng hnh ?ng sau y:
  • Khng s? d?ng b? l?c predicates.
  • ?t cc ON_FAILURE ti s?n c?a ki?m ton ? "Ti?p t?c."

THNG TIN THM

Cho bi?t thm thng tin v? my ch? SQL ki?m ton, truy c?p vo web site m?ng nh pht tri?n c?a Microsoft (MSDN) sau y:
Thng tin chung v? my ch? SQL ki?m ton

N?u b?n c? g?ng v hi?u ho ki?m ton, ho?t ?ng v hi?u ha c th? khng. Hnh vi ny c th? x?y ra b?i v? ki?m ton ph? thu?c vo cc nhm hnh ?ng ki?m ton ?c quy ?nh trong ?c i?m k? thu?t ki?m ton my ch?, ch?ng h?n nh SUCCESSFUL_LOGIN_GROUP, ki?m ton _CHANGE_GROUP. Cc ki?m ton c th? ?c v hi?u ho ho?c g? b? ch? khi SQL Server B?t ?u theo c?u h?nh t?i thi?u (t?c l, v?i cc tham s? kh?i ?ng -f ). B?n c th? s? d?ng truy v?n sau y ? xc ?nh cc ki?m ton c th? gy ra v?n ? ?c m t? trong ph?n "Tri?u ch?ng":

SELECT name as AuditName FROM sys.server_auditsWHERE on_failure = 2 AND predicate IS NOT NULL



Thu?c tnh

ID c?a bi: 2678370 - L?n xem xt sau cng: 18 Thang T 2012 - Xem xt l?i: 2.0
p d?ng
  • Microsoft SQL Server 2012 Enterprise
  • Microsoft SQL Server 2012 Developer
T? kha:
kbqfe kbfix kbexpertiseadvanced kbsurveynew kbmt KB2678370 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:2678370

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