If you are running into long running opperations inside SQL 2005 Server Management Studio such as building indexes performed through the designers, there is a simple fix. Today I spent about an hour digging for the problem since it did not follow the connection properties for the timeout and I could not rebuild an index without this timeout which seemed to default to 30 seconds.
After some frustrating digging and not finding the answer to:
'myTable' table
- Unable to delete index 'IX_PrimaryIndex'.
Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
I decided to dig through all the settings I could find. Last place I looked was Tools/Options and on the bottom of the tree “Designers, Table and Database Designers“, which the first option is “Override connection string time-out value for table designer updates“. Changed that to 120 and no longer had any problem.
It amazes me how I find these things in the first place I should have thought to look,. but I manage only to get there after exhausting everything else ;)