Been dealing with a problem with a system hang when searching via the quicksearch.
The error logs not very helpful, however the crm trace was. It suggested that the query was resulting in a SQL Timeout occuring.
Few things to do when you get SQL Timeouts are to:
- Add a Oledbtimeout setting in the registry in the MSCRM node.
- Increase then SQL Server timeout value from SQL Management Studio.
- Remove the unecessary fields that the search in question is using to search on.
However in my clients case, the timeout was still causing a problem!
A bit more searching and some help through the Partner Forums indicated that we should try reindexing the system and updating the statistics on the SQL Server.
The clients were not Keen on reindexing the entire SQL Server, however a reindex of the entities main tables resulted in the hang vanishing.
Hope this helps.
Jonathan