I hate the -DataTable internal index is corrupted-
Visits: 5746
Friday, December 22, 2006


Page not translated!
I'm sorry but the text of this page doesn't have translation at this time.

Poco tempo fa mi sono scontrato con l'eccezione "DataTable internal index is corrupted". Praticamente il problema si verifica quando si tenta di inserire più righe in una DataTable che abbiano le stesse chiavi primarie. Ovviamente non dovrebbe accadere ma la situazione in cui si verificava era del tutto fuori dal normale perché i thread aperti erano esageratamente tanti e poteva accadere che nello stesso istante (nonostante tutti i controlli del caso) più thread andassero a scrivere la stessa riga.
Maggiori info: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=98279 (per la cronaca, ho poi risolto utilizzando le HashTable, molto più performanti delle DataTable).

Comments


no comments to show...

Post new comment

Author:  
E-mail:
Site:
Remember my information:
Message:
Code verification: Password verification

 

-- Comment preview --


Versione italiana Versione italiana

CATEGORIES

Ajax (2)
ASP.NET (11)
C# Code (4)
IIS (1)
Silverlight (1)
Sql Server 2000 (1)
Varie (4)
Visual Studio (4)

ARCHIVE

April 2009 (1)
May 2008 (1)
April 2008 (1)
January 2008 (4)
December 2007 (1)
May 2007 (1)
February 2007 (1)
December 2006 (3)
October 2006 (1)
September 2006 (3)
August 2006 (1)
June 2006 (1)

ABOUT ME [curriculum]

Curriculum ZofM

CREDITS