>What that error means? Something's wrong in my transaction?
>
>Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]Transaction (Process ID 106) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
You may need to read the whole theory of deadlock and how is it practically solved. Two processes can read the same piece of a database (a few records, usually), and decide to update them. Usually this doesn't happen at the same time - however, in your case it did. The SQL server has a way to resolve this, by choosing which transaction will be allowed to complete and which won't. The toss of the coin has decided that your transaction takes a walk, while the other transaction goes through. You need to run yours again.