shankar_it
Freshman
- Joined
- Jul 6, 2005
- Messages
- 46
I am using .net 1.1 and i am trying to catch CONCURRENCY_EXCEPTION and throw a message for that exception using the code
if(ex.Message == "CONCURRENCY_EXCEPTION")
{
MessageBox.Show("This record has been updated since you opened it. Please close the record and re-open it.");
}
it works when i try to compile it in my machine but after deploying the code it does not catch this error.It just give a general "Server encountered an internal error".
Can any one help me in this.
if(ex.Message == "CONCURRENCY_EXCEPTION")
{
MessageBox.Show("This record has been updated since you opened it. Please close the record and re-open it.");
}
it works when i try to compile it in my machine but after deploying the code it does not catch this error.It just give a general "Server encountered an internal error".
Can any one help me in this.