locked
Error when converting lead to account CMR 4.0 RRS feed

  • Question

  • I have created custom fields in lead and when I now converto the lead to an account i recieve the folllowing error.  Any help would be appreicated.  Thanks

    Error Description:

    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.


    Error Details:

    Exception of type 'System.Web.HttpUnhandledException' was thrown.


    Full Stack:

    [KeyNotFoundException: The given key was not present in the dictionary.]

       at System.ThrowHelper.ThrowKeyNotFoundException()

       at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

       at Microsoft.Crm.Metadata.EnumOptionsByValueCollection`1.get_Item(Int32 optionValue)

       at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.GetStateFromStatusCode(Int32 statusCode)

       at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.CheckForStateChange(EntityProxy entity)

       at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.InitializeRequest(EntityProxy entity, Boolean performDuplicateCheck)

       at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck)

       at Microsoft.Crm.Web.SFA.LeadDetailPage.Qualify(Object sender, DataEventArgs e)

       at Microsoft.Crm.Application.Forms.DataEventProcessor.Raise(FormEventId eventId, FormState state, IUser user, String objectId, Entity entity)

       at Microsoft.Crm.Application.Forms.AppForm.RaiseDataEvent(FormEventId eventId)

       at Microsoft.Crm.Application.Forms.EndUserForm.Initialize(Entity entity)

       at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity, String formType)

       at Microsoft.Crm.Application.Forms.CustomizableForm.Execute(Entity entity)

       at Microsoft.Crm.Web.SFA.LeadDetailPage.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)

     

    [HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]

       at System.Web.UI.Page.HandleError(Exception e)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

       at System.Web.UI.Page.ProcessRequest()

       at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)

       at System.Web.UI.Page.ProcessRequest(HttpContext context)

       at ASP.ccs_sfa_leads_edit_aspx.ProcessRequest(HttpContext context)

       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

     

     

    Friday, July 29, 2011 3:25 PM

All replies