Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

An error occurs when closing Opportunites in Microsoft Dynamics CRM


View products that this article applies to.

Symptoms

When closing an Opportunity in Microsoft Dynamics CRM, one of the following errors may occur:

1. "An error has occurred"

Or

2. "Invalid User Authorization"



Tracing with Dev Errors may display the following:

Stack Trace Info: [NullReferenceException: Object reference not set to an instance of an object.]
   at Microsoft.Crm.Dialogs.CloseOppPage.ConfigureForm()
   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

↑ Back to the top


Cause

The Topic field is not populated. This is a required field for closing the Opportunity.

↑ Back to the top


Resolution

Enter data in the Topic field in the Opportunity.

Verify if the Topic field has been populated with the following steps:


In Microsoft Dynamics CRM 4.0:

1. Click Settings, click Customization, click Customize Entities

2. Open the Opportunity Entity

3. Click Attributes

4. Under the Name column, find Name

5. This can be made a required field if this Attribute is opened and Business Required from the Requirement Level drop down is selected.




↑ Back to the top


Keywords: kbmbspartner, kbmbsmigrate, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2514234
Revision : 1
Created on : 1/7/2017
Published on : 9/14/2012
Exists online : False
Views : 282