Home  /  Questions  /  Question



63   95.7
Jan 21, 2013


Windows Forms Locks Up and Times Out

When I import records into the database (MS SQL), my windows applications locks up. When I pause it to debug it, it tells me that it can not 'evaluate expression because the current thread is in a sleep, wait, or join.'

However, if I manually enter the records into the database, it works fine. In each table, I have the following audit tracking fields:
  • IsActive bit not null default 1 (true)
  • ModifiedDate not null default getdate()
  • ModifiedUserID not null
  • Version timestamp not null
Can someone explain to me what is happening? When I pause the application to see where it is processing, it always pauses at the

var response = Client.GetMuniWards(request);

in the Model class of the Windows Model project.