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)

Debugging with Multi-Tenancy

(0) ShareShare
ReportReport
Posted on by

If I have multiple orgs on the server (multi-tenancy) and I want to debug a plugin in one of the orgs (attaching to w3wp), will that impact all of the other orgs?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Hi,

    If you attach to the w3wp for Non-sandboxed plugin debugging then if you hit a break point all other tenants will stop working until you continue.

    If you attach to a sandbox host for sandbox plugin debugging, then only the requests that use that sandbox request will stop working - but this is still likely to affect other tenants.

    I would strongly recommend trying to reproduce the issue on a development server and debugging that.

    You can use the Plugin profiler to instrument your plugins to capture replay information (guruprasadcrm.blogspot.co.uk/.../how-to-debug-crm-2011-online-plugin.html) but again I wouldn't recommend doing this on the live server.

    If all else fails, you should instrument your plugin so that it writes to the trace to give you the details you need.

    Hope this helps,

    Scott

  • Jason Eldredge Profile Picture
    on at

    Thanks Scott - that is what I thought too.  The client only wants to have one server with DEV/TEST/QA/PROD all as tenants...  I'm going to see if they can purchase more memory and add additional VMs.

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