Hi Vijay,
Without the code, I can only say that most probably this is coding problem.
And for your problem of the SBO 'Hang' for all users,
I suspect that your programmer starts a transaction in the company and failed to commit/rollback the transaction.
You can check this via the SQL Server Management studio - Activity monitor.
Before you restart the server, go to this 'Activity monitor' -> 'Processes' section,
It will list all the SQL session running. On this list, Look for a row that has a value '1' in the 'Head Block' column.
If you can find at least one row, means this process is blocking the whole DB operation.
Instead of restarting the whole server, you can right-click on 'kill process'.
Regards
Edy