c# - DbConnection::Open hangs, in case of unreachable server -


i have c++ application uses c# api access 1 mysql database. in case connection successful, retry reconnect ontimer event. problem if ip of server not found, second or third time try connect database with: dbconnection::open, application freezes , following message box displayed: server busy

if press retry, exception raised: first-chance exception @ 0x754fc54f (kernelbase.dll) in myprogram_d.exe: 0xe0434352 (parameters: 0x80004005, 0x00000000, 0x00000000, 0x00000000, 0x711d0000). connection string: uid=userid;password='password';connection timeout=10; pooling= false;

do know might go wrong , open function not return?


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -