Microsoft Knowledge Base Email Alertz

(891192) - Describes a problem that occurs you try to view sales information for an account in Microsoft CRM. You receive the An error has occurred. For more information, contact your system administrator error message.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 891192 - Last Review: September 20, 2006 - Revision: 2.0

You receive the "An error has occurred. For more information, contact your system administrator" error message when you try to view sales information for an account in Microsoft CRM

On This Page

SYMPTOMS

End user symptoms

When you try to view sales information for an account in Microsoft CRM, you receive the following error message:
Error:

An error has occurred. For more information, contact your system administrator.
If you are using Microsoft SQL Server 2000 Service Pack 3 (SP3) build 8.00.760 or 8.00.818, you may receive the following error message:
Server encountered a stack overflow error message during compile time

Developer symptoms

If you have enabled the DevErrors mode in the Web.config file so that you can see detailed error messages, you receive the following error message:
Internal Query Processor Error: The Query Processor ran out of stack space during query optimization.

Error Details:
Details on this error have not been provided by the platform.

Error Number:
0x80040E14

Source File:
Not Available

Line Number:
Not Available

Query String: /_grid/grid_data.aspxsortCol=name&sorDir=ascend&viewed={00000000-0000-0000-00AA-000010001203}&api=CRMAccount.RetrieveAllOpportunities&filter=&oId={598F7FC6-10BD-4674-9D3E-E941D7F07AA6}&oType=1&pageNum=1

Microsoft CRM Server application event log error

When you view the Microsoft CRM Server application event log, you see the following error message:

MSCRM Platform Error Report: -------------------------------------------------------------------------------------------------------- Error: Internal Query Processor Error: The query processor ran out of stack space during query optimization.

Error Message: Internal Query Processor Error: The query processor ran out of stack space during query optimization.

Error Details: Details on this error have not been provided by the platform.

Source File: Not available

Line Number: Not available
Stack Trace Info: at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain()
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

For more information, see Help and Support Center at http://support.microsoft.com.

CAUSE

This problem occurs if more than 8,000 contacts are associated with an account.

WORKAROUND

You cannot see the associated views for the opportunities, the quotes, the orders, and the invoices for a single account that has more than 8,000 contacts. However, you can use one of the following workarounds to work around this problem.

Workaround 1

Use alternative data entry points to create, to update, and to delete opportunities, quotes, orders, and invoices for any account record that has more than 8,000 contacts. Alternative data entry points include the following:
  • The Opportunity form
  • The Quote form
  • The Order form
  • The Microsoft CRM Invoice form
For reporting, you can use the order reports, the quote reports, the opportunity reports, and the invoice reports in the Microsoft CRM application.

Workaround 2

Set up multiple accounts for the account that has more than 8,000 contacts. For example, if you have an account that is named Company_A, you can create accounts that are named Company_A1, Company_A2, and Company_A3. For better reporting, you can use the first account (Company_A1 in this example) as the parent account for the other CRM accounts for this company. After you establish the additional accounts and the parent/child relationship or relationships, you must move a subset of the contacts from the parent account into each child account. You can then delete the account that has over 8,000 contacts. To avoid the problem that this article describes, make sure that no account has more than 8,000 contacts.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.This issue is scheduled to be corrected in Microsoft CRM 2005.

MORE INFORMATION

Steps to reproduce the behavior

  1. Open an account that has more than 8,000 contacts.
  2. In the left pane, click Sales.
You receive the error message that is mentioned in the "Symptoms" section.

REFERENCES

For additional information about DevErrors mode, click the following article number to view the article in the Microsoft Knowledge Base:
857192  (http://kbalertz.com/Feedback.aspx?kbNumber=857192/ ) How to use the Web.config file to show more detailed error messages in Microsoft Business Solutions CRM (Microsoft CRM)

APPLIES TO
  • Microsoft CRM 1.2
  • Microsoft Business Solutions CRM 1.0
Keywords: 
kbmbsmigrate kbbug KB891192
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate