Answered by:
CRM 2011 An error has occurred.

Question
-
I am using CRM 2011, SQL 2008r2.
One use when accessing the Account form, as soon as the form comes up they see this error. "An error has occurred.". No other use gets this error at all.
Is there a way to trap details of this error?
Friday, April 8, 2011 1:44 PM
Answers
-
You can download the CRM 4 Diag tool from here: http://blogs.msdn.com/b/emeadcrmsupport/archive/2010/03/04/crmdiagtool4-for-microsoft-crm-4-0-available-now-on-the-emea-dynamics-crm-support-blog.aspx
Although it is for 4.0 it still works for 2011. Change the dropdown to Server, enable platform tracing, recreate the error and then disable tracing. You should be able to zip the trace files from the diag tool and use the Trace File Viewer in the same zip to view the error.
I would also check the event viewer. Depending on what is causing the error, occasionally an error will get caught there.
- Proposed as answer by Jason.Tyner Friday, April 8, 2011 2:07 PM
- Edited by Jason.Tyner Friday, April 8, 2011 2:18 PM
- Marked as answer by NC_Matthews Friday, April 8, 2011 2:55 PM
Friday, April 8, 2011 2:07 PM
All replies
-
You can download the CRM 4 Diag tool from here: http://blogs.msdn.com/b/emeadcrmsupport/archive/2010/03/04/crmdiagtool4-for-microsoft-crm-4-0-available-now-on-the-emea-dynamics-crm-support-blog.aspx
Although it is for 4.0 it still works for 2011. Change the dropdown to Server, enable platform tracing, recreate the error and then disable tracing. You should be able to zip the trace files from the diag tool and use the Trace File Viewer in the same zip to view the error.
I would also check the event viewer. Depending on what is causing the error, occasionally an error will get caught there.
- Proposed as answer by Jason.Tyner Friday, April 8, 2011 2:07 PM
- Edited by Jason.Tyner Friday, April 8, 2011 2:18 PM
- Marked as answer by NC_Matthews Friday, April 8, 2011 2:55 PM
Friday, April 8, 2011 2:07 PM -
I want to be sure I understand how this tool works.
This tool needs to be installed and run on the CRM Server?
Then on the user's pc, run the form that has the error, then disable the tracing.
That is I cannot install the tool on the user pc and create the error there? Is that correct?
Thanks
Friday, April 8, 2011 2:17 PM -
Sorry, I should have been more specific on that part. Yes, run the CRM4DiagTool on the CRM server. Once tracing is enabled, recreate the error either on the users PC or on the CRM server itself.
Friday, April 8, 2011 2:22 PM -
There are several text files created, which one would contain the error or could it be in any one of the files or accross several files?
Thanks
Friday, April 8, 2011 7:13 PM -
In the Trace Log Viewer click Filter > Log Level > Error. This should filter out all the noise and leave you with only errors. The reason there are multiple files is because the trace tool builds logs to a certain size then begins a new one. I would start with the first log and work your way through them until you find the one with errors. They should all be time stamped so if you know about the time the error occured you can narrow it down quite a bit.Friday, April 8, 2011 8:31 PM