Microsoft KB Archive/900720

= You receive an error message when you close an opportunity in Microsoft Business Solutions CRM or in Microsoft Business Solutions CRM Sales for Outlook =

Article ID: 900720

Article Last Modified on 9/7/2006

-

APPLIES TO

 Microsoft Business Solutions CRM Sales for Outlook Microsoft Business Solutions CRM Sales, when used with:  Microsoft CRM 1.2

 Microsoft Business Solutions CRM 1.0  Microsoft Business Solutions CRM 1.0 Microsoft CRM 1.2</li></ul>

-

<div class="symptoms_section">

SYMPTOMS
When you close an opportunity in Microsoft Business Solutions CRM or in Microsoft Business Solutions CRM Sales for Outlook, you receive one of the following error messages:

Error Description: Exception from HRESULT: 0x8004022C.

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

Error Number: 0x8004022C

Source File: Not available

Line Number: Not available

Query String: /SFA/opps/edit.aspxid={7902F244-0CDB-47B3-B9AF-DE313D6B0346}

An error has occurred. For more information, contact your system administrator.

Additionally, the following event is logged in the Microsoft CRM server application event log: Source: Microsoft CRM

Category: None

Event ID: 2

Description:

Error: Exception from HRESULT: 0x8004022C.

Error Message: Exception from HRESULT: 0x8004022C.

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)

<div class="cause_section">

CAUSE
This problem occurs if you type more than 200 characters in the Topic field of an opportunity.

An activity is created when you close an opportunity. The information that you provide in the Topic field of the opportunity also populates the Subject field of the activity. The Topic field of the opportunity can hold a maximum of 300 characters. However, the Subject field for the activity can hold only a maximum of 200 characters. If you type more than 200 characters in the Topic field of the opportunity, Microsoft CRM cannot create the associated activity when you close the opportunity. Therefore, you receive one of the error messages that are mentioned in the &quot;Symptoms&quot; section.

<div class="workaround_section">

WORKAROUND
To work around this problem, format the Topic field of the opportunity so that users can type only 200 characters in the field. To do this, follow these steps in Microsoft CRM:
 * 1) Click Home, click Settings, and then click System Customization.
 * 2) Double-click Opportunities, and then click Customize Form.
 * 3) Click Topic, click Change Properties, and then click the Formatting tab.
 * 4) In the Maximum Length box, type 200, click OK, and then click Save and Close.

Next, publish the customizations and reset Microsoft Internet Information Services (IIS) on the Microsoft CRM server:
 * 1) Click Start, point to All Programs, point to Microsoft CRM, and then click Deployment Manager.
 * 2) Right-click Deployment Manager, point to All Tasks, and then click Publish Customizations.
 * 3) Click Opportunity, and then click Next.
 * 4) Click Add, double-click the Microsoft CRM server to which you are publishing the customizations, and then click Finish.
 * 5) Click Start, click Run, type iisreset, and then click OK.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a bug in the products that are listed in the 'Applies To' section. This problem will be addressed in a future release of Microsoft CRM.

<div class="moreinformation_section">

Steps to reproduce the problem

 * 1) Click Sales, click Opportunity, and then click New Opportunity.
 * 2) Type more than 200 characters in the Topic field.
 * 3) Complete all the other required fields on the opportunity, and then click Save.
 * 4) Click Actions, and then click Close Opportunity.
 * 5) Complete all the required fields, and then click OK.

Keywords: kbbug kbmbsmigrate kbmbscustomization KB900720

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.