Kh?c ph?c: Truy c?p vi ph?m khi b?n chn m?t h? s vo m?t phn vng m?i c s?n ph?m no trong SQL Server 2008 hay trong SQL Server 2008 R2

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

? Trang ny

Microsoft phn ph?i Microsoft SQL Server 2008 Service Pack 3 (SP3) ho?c Microsoft SQL Server 2008 R2 b?n s?a l?i nh l m?t t?i v? t?p. B?i v? cc b?n s?a l?i tch l?y, m?i b?n pht hnh m?i c ch?a t?t c? cc hotfix v c?p nh?t t?t c? cc b?n c?p nh?t b?o m?t ?c nh km v?i SQL Server 2008 SP3 tr?c ho?c SQL Server 2008 R2 pht hnh.

TRI?U CH?NG

H?y xem xt k?ch b?n sau y:
  • B?n t?o phn vng cho m?t bn trong SQL Server 2008 hay trong SQL Server 2008 R2.
  • B?n khng kch ho?t tnh nng nn trn t?t c? cc phn vng.
  • B?n c? g?ng ? chn m?t h? s vo m?t phn vng m?i c s?n ph?m no.
Trong tr?ng h?p ny, m?t s? vi ph?m truy c?p x?y ra v l?i sau y ?c ng nh?p Nh?t k? l?i SQL Server:
<Date> <Time> spid##      ***Stack Dump being sent to C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\LOG\SQLDump0001.txt

<Date> <Time> spid##      SqlDumpExceptionHandler: Process 66 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.

<Date> <Time> spid##      * BEGIN STACK DUMP:

<Date> <Time> spid##      *  Exception Address = 0000000000C37D22 Module(sqlservr+0000000000137D22)

<Date> <Time> spid##      *  Exception Code    = c0000005 EXCEPTION_ACCESS_VIOLATION

<Date> <Time> spid##      *  Access Violation occurred reading address 0000000000000020
Lu ? V?n ? ny c?ng c m?t trong Microsoft SQL Server 2008 R2.

GI?I PHP

Cumulative update C?p nh?t thng tin

SQL Server 2008 Service Pack 2

S?a ch?a cho v?n ? ny l?n ?u tin ?c pht hnh trong Cumulative Update 8 cho SQL Server 2008 Service Pack 2. ? bi?t thm chi ti?t v? gi cumulative update C?p nh?t ny, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
2648096 Tch l?y gi 8 cho SQL Server 2008 Service Pack 2
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 nh km v?i tr?c SQL Server 2008 s?a ch?a pht hnh. Microsoft khuy?n co 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:
2402659 SQL Server 2008 xy d?ng ?c pht hnh sau khi SQL Server 2008 Service Pack 2 ?c pht hnh
Microsoft SQL Server 2008 hotfixes ?c t?o ra cho c? th? SQL Server service pack. B?n ph?i p d?ng m?t hotfix SQL Server 2008 Service Pack 2 cho ti?n tr?nh ci ?t SQL Server 2008 Service Pack 2. Theo m?c ?nh, b?t k? hotfix ?c cung c?p trong gi d?ch v? my ch? SQL ?c bao g?m trong gi d?ch v? ti?p theo c?a SQL Server.

SQL Server 2008 R2

S?a ch?a cho v?n ? ny l?n ?u tin ?c pht hnh trong Cumulative Update 11. ? bi?t thm chi ti?t v? lm th? no ? c ?c ny gi tch l?y cho SQL Server 2008 R2, h?y nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
2633145 Tch l?y gi 11 cho SQL Server 2008 R2
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 s?a ch?a t?t c? cc s?a l?i b?o m?t ?c nh km v?i tr?c SQL Server 2008 R2 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:
981356 SQL Server 2008 R2 xy d?ng ?c pht hnh sau khi SQL Server 2008 R2 ?c pht hnh

SQL Server 2008 R2 gi d?ch v? 1

S?a ch?a cho v?n ? ny l?n ?u tin ?c pht hnh trong Cumulative Update 4 cho SQL Server 2008 R2 Service Pack 1. ? bi?t thm chi ti?t v? lm th? no ? c ?c gi cumulative update C?p nh?t ny, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
2633146 Tch l?y gi 4 cho SQL Server 2008 R2 Service Pack 1
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 s?a ch?a t?t c? cc s?a l?i b?o m?t ?c nh km v?i tr?c SQL Server 2008 R2 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:
2567616 SQL Server 2008 R2 xy d?ng ?c pht hnh sau khi SQL Server 2008 R2 Service Pack 1 ? ?c pht hnh

SQL Server 2008 Service Pack 3

S?a ch?a cho v?n ? ny l?n ?u tin pht hnh gi tch l?y 2 cho SQL Server 2008 Service Pack 3. ? bi?t thm chi ti?t v? lm th? no ? c ?c ny gi tch l?y cho SQL Server 2008 Service Pack 3, nh?p vo s? bi vi?t sau ? xem bi vi?t trong c s? ki?n th?c Microsoft:
2633143 Tch l?y gi 2 cho SQL Server 2008 Service Pack 3
Lu ? Because the builds are cumulative, each new update release contains all the hotfixes and all the security updates that were included with the previous SQL Server 2008 Service Pack 3 update release. We recommend that you consider applying the most recent update release that contains this hotfix. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2629969 The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 3 was released

THNG TIN THM

To confirm whether you are experiencing the issue that is described in this knowledge base article, follow these steps:
  1. Open a DAC connection to SQL Server, and run the following query:
    Use <your_db_name>
    
    select * from sys.sysrscols rsc where rsc.rsid in 
    
    ( select sau.container_id
    
    from sys.system_internals_allocation_units sau 
    
    join sys.partitions pt 
    
    on sau.container_id = pt.partition_id
    
    and pt.object_id = object_id(<YourPartitionedTable>) 
    
    and pt.index_id = 1)
    Note In this query, <YourPartitionedTable> is a placeholder for your partition table name.
  2. In the output of the query, check whether the rscolid column contains a large value. The following is an example of such a large value:
    Thu g?n b?ng nyBung r?ng b?ng ny
    rsid rscolid hbcolid rcmodified ti cid ordkey m
    72057594380091392 016149115785604
    72057594380091392111361491157812967532650
    72057594380091392121461491157832999532650
    72057594380091392 131561491157832999532650
    72057594380091392 14166149115785900
    72057594380091392 15176149115785900
    72057594380091392 1718614911578183400
    72057594380091392 671088651961491157819627536250
    72057594380091392 22236149115785600
    72057594380091392 232461491157810407536250
    72057594380091392 242561491157866263600
In this example, the value of 67108865 is significantly larger than others. This indicates that you are experiencing the issue that is described in this knowledge base article.

CCH GI?I QUY?T KHC

To work around this issue, rebuild the affected partitions. Please contact Microsoft Support to find out what partitions are involved. Or, you can rebuild all partitions by using the following query:
ALTER INDEX <your_table_index>

ON <your_table_name>

REBUILD Partition = all

GO

T?NH TR?NG

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Thu?c tnh

ID c?a bi: 2629456 - L?n xem xt sau cng: 16 Thang Ging 2012 - Xem xt l?i: 2.0
p d?ng
  • Microsoft SQL Server 2008 Developer
  • Microsoft SQL Server 2008 Express
  • Microsoft SQL Server 2008 Express with Advanced Services
  • Microsoft SQL Server 2008 Standard
  • Microsoft SQL Server 2008 Enterprise
  • Microsoft SQL Server 2008 R2 Developer
  • Microsoft SQL Server 2008 R2 Enterprise
  • Microsoft SQL Server 2008 R2 Express
  • Microsoft SQL Server 2008 R2 Express with Advanced Services
T? kha:
kbqfe kbfix kbexpertiseadvanced kbsurveynew kbmt KB2629456 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:2629456

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