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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

I want to debug plugin in visual studio.

(0) ShareShare
ReportReport
Posted on by

I have to install profiler in plugin registration tool

I have followed all step for that but when I click on debug shown below image

 2335.Untitled.png

When I upload profile error.txt file It showing following error

2335.Untitled.png

How To resolve this issue.

Please Help.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Prashant_ Profile Picture
    1,040 on at

    May be following link help you

    stackoverflow.com/.../an-error-occurred-while-parsing-the-plugin-profile-from-file 

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    Hi,

    Please follow below steps. Me too faced many times this issue and following steps helps me to overcome.

    1. Unregister the Plugin assembly & Profiler

    2. Download latest 365 SDK

    3.Register the assembly again using latest SDK

    4.Install Profiler & try again

  • Suggested answer
    antc Profile Picture
    2,909 on at

    What does the error contain are you sure it's not just an exception?

    Does it contain some text similar to this:

    [PluginProfiler.Plugins: PluginProfiler.Plugins.ProfilerPlugin]

    [e593b253-abb2-e811-a963-000d3ad24077: PricePerUnit.PricePerUnitChange: Update of opportunityproduct (Profiler)]

  • Community Member Profile Picture
    on at

    Where can I find the latest 365 SDK. If you have link please share

  • Suggested answer
    Prashant_ Profile Picture
    1,040 on at
  • Suggested answer
    Community Member Profile Picture
    on at

    GoTo this link

    https://www.microsoft.com/en-in/download/details.aspx?id=50032

    and download MicrosoftDynamics365SDK.exe file..

  • Suggested answer
    Community Member Profile Picture
    on at

    For detailed steps refer:

    arunpotti.wordpress.com/.../download-crm-365-v9-x-tools-using-powershell

  • Community Member Profile Picture
    on at

    you have to follow the below methods. i have faced toomany times this issue and following steps helps me to resolve it.

    Unregister the Plugin assembly & Profiler, Download latest 365 SDK,Register the assembly again using latest SDK,Install Profiler & try again

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi Jai

    I know your question is related to Prfiler based debugging, have you ever tried Visual Studio Remote Debugger for debugging plugins. This option is only for On-Prem but I found its a much more stable option than profiler

    Please visit the links below if you would like to know more about it

    community.dynamics.com/.../crm-2013-step-by-step-guide-to-remote-debugging

    docs.microsoft.com/.../debug-plugin

  • Suggested answer
    CRMJetty Profile Picture
    3,512 on at

    Hello Jai,

    In your Visual Studio project, set a break point in your plug-in class. In your Visual Studio project, select Debug > Attach to Process. Select the PluginRegistration.exe process and click Attach. You should see that the Plug-in Registration tool is now running in debug mode.

    you can also refer this thread for more details

    https://learn.microsoft.com/en-us/power-apps/developer/data-platform/tutorial-debug-plug-in?tabs=prt

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans