web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error when Converting Leads to Accounts CRM 4.0

(0) ShareShare
ReportReport
Posted on by 220

I am getting an error that says it can not convert a lead into an account.  It does this for all my leads.  Has anyone experienced this? Thanks.

*This post is locked for comments

I have the same question (0)
  • Frank Hermes Profile Picture
    on at

    You gave very few information. Enable the trace log (http://cid-9c1e3e43c991888d.skydrive.live.com/self.aspx/Microsoft%20CRM%20Support%20Tools/CrmDiagTool4.zip) and check the results in order to determine what went wrong.

  • ltcv28 Profile Picture
    220 on at

    Thank you for your reply. I turned the tracer on and the error says "The given key was not present in the dictionary. "  I am just trying to convert a lead to an account and I am receiving this error message.  We migrated in data from our 1.2 database with Scribe into 4.0 so I dont know if that has anything to do with the key not being generated properly or not.  Everything else has seemed to work properly though.  I'm not sure if it has to do with the mappings or what exactly could be the problem.  Thanks for your help. 

  • Frank Hermes Profile Picture
    on at

    Mmm, could be that a reference (lookup) is not available anymore. Do all the leads have an existing user as owner? I think that the trace log offers more information on the error!?

  • ltcv28 Profile Picture
    220 on at

    All the leads have a user.  The users guid has changed from the old version though.  So it is a new owner I would say.  They all do have someone in the owner column. 

    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.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.ProcessRequest(HttpContext context)
       at ASP.telspan_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)
    
    

    Other Message:

    Error Number:

    Source File:
    Not available

    Line Number:
    Not available


    Date: 12-09-2008

    Time: 09:55:36

    Server: iascrm01
    Request URL:
    http://iascrm01/TelSpan/sfa/leads/edit.aspx?id={769D8363-52C3-4F41-AB6B-02226B10A2AE}

  • Frank Hermes Profile Picture
    on at

    This is not the trace log that you can enable with the tool from my first reply...

  • ltcv28 Profile Picture
    220 on at

    http://telspan.com/supporthelp/convertlead.txt

     

    Thank you.

  • ltcv28 Profile Picture
    220 on at

     

    Did you you see anything on the trace that you think may be the problem?  Thanks for your help.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans