Microsoft Developer Network > Página Inicial dos Fóruns > Parallel Extensions to the .NET Framework > how to solve this error in multithreading " A first chance exception of type 'System.Data.Odbc.OdbcException' occurred in System.Data.dll" in output window
Fazer uma PerguntaFazer uma Pergunta
 

Respondidohow to solve this error in multithreading " A first chance exception of type 'System.Data.Odbc.OdbcException' occurred in System.Data.dll" in output window

  • sexta-feira, 12 de junho de 2009 12:30sunstate Medalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuárioMedalhas de usuário
     
    I make 10 thread in that i am going to save record to mysql and change continuesly value and  save repeatedlly but i got as following msg in output window .

    "A first chance exception of type 'System.Data.Odbc.OdbcException' occurred in System.Data.dll"
    and some of threads are automatically ignored or aborted  what ever happen but only 4 to 5 thread isalive at last


    I am new in threading so plz help me out on this

    This occur when i use more than 4 thread .

Respostas

Todas as Respostas