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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error in plugin

(0) ShareShare
ReportReport
Posted on by 40

when i test my plugin using plugin registration tool 2013  and visual studio 2013

i get this error in this line :

 _opportunity = service.Retrieve("opportunity", context.PrimaryEntityId, new ColumnSet(true));

Error :An event was requested after the recorded event queue has been completed.

how to fix that ?

*This post is locked for comments

I have the same question (0)
  • Brekaa Profile Picture
    40 on at
    RE: Error in plugin

    Hi Arun

    I solved it but i get  this error

    at PluginProfiler.Library.ProfilerContextAppDomainOrganizationService.DeserializeResponse(Tuple`2 serializedValue)

    at PluginProfiler.Library.ProfilerContextAppDomainOrganizationService.Retrieve(String entityName, Guid id, ColumnSet columnSet)

    at OpportunityCalculation_Plugins.OpportunityCalculationPlugin.Execute(IServiceProvider serviceProvider)

    i dont understod what this error

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: Error in plugin

    Sounds like some bug in PRT along with profiler when the plugin is debugged in 2013 version. I never faced this.

    Few lucky people faced this in the past & you’re one among them.:) Don’t waste time on solving this. Just skip it.

    You can use Tracing service & put breadcrumbs along the code execution path to track down the issue if any.

    stackoverflow.com/.../7920473

  • Brekaa Profile Picture
    40 on at
    RE: Error in plugin

    hi

    Gopalan Bhuvanesh

    yes , appear in visual studio

    I solved it but i get  this error 

    at PluginProfiler.Library.ProfilerContextAppDomainOrganizationService.DeserializeResponse(Tuple`2 serializedValue)
    at PluginProfiler.Library.ProfilerContextAppDomainOrganizationService.Retrieve(String entityName, Guid id, ColumnSet columnSet)
    at OpportunityCalculation_Plugins.OpportunityCalculationPlugin.Execute(IServiceProvider serviceProvider)

    i dont understod what this error 

  • Brekaa Profile Picture
    40 on at
    RE: Error in plugin

    Hi

    Arpit Shrivastava

    I saw this before but error still  appear

    I solved it but i get  this error 

    at PluginProfiler.Library.ProfilerContextAppDomainOrganizationService.DeserializeResponse(Tuple`2 serializedValue)
    at PluginProfiler.Library.ProfilerContextAppDomainOrganizationService.Retrieve(String entityName, Guid id, ColumnSet columnSet)
    at OpportunityCalculation_Plugins.OpportunityCalculationPlugin.Execute(IServiceProvider serviceProvider)

    i dont understod what this error 

  • Gopalan Bhuvanesh Profile Picture
    11,401 on at
    RE: Error in plugin

    Hi,

    Are you getting this error, when using profiler?

  • Suggested answer
    Arpit Shrivastava Profile Picture
    7,518 User Group Leader on at
    RE: Error in plugin

    Please check below thread. Hope it helps.

    community.dynamics.com/.../278406

    Cheers

    Arpit

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#3
ED-30091530-0 Profile Picture

ED-30091530-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans